|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
#include <cool_components.h>
Public Member Functions | |
| __host__ | PhotoelectricHeatingModel (ParameterMap &pmap) |
| bool | is_active () const |
| __device__ Real | operator() (Real n, Real T) const |
| computes the heating rate per unit volume, erg /s / cm^3. | |
Static Public Member Functions | |
| static __host__ bool | is_specified_by_params (ParameterMap &pmap) |
Encapsulates our model and configuration for photoelectric heating
This implements a very simple model
|
inline |
computes the heating rate per unit volume, erg /s / cm^3.
This NEVER returns a negative value.