Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
cool_component::PhotoelectricHeatingModel Class Reference

#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)
 

Detailed Description

Encapsulates our model and configuration for photoelectric heating

This implements a very simple model

Note
In the future, one could imagine implementing a more sophisticated model like TIGRESS
  • For example the amount of heating could be coupled with the properties of clusters within the simulation volume
  • If we started to model varying mmw, we could also adopt the TIGRESS strategy to more smoothly turn off heating at higher temperatures

Member Function Documentation

◆ operator()()

__device__ Real cool_component::PhotoelectricHeatingModel::operator() ( Real  n,
Real  T 
) const
inline

computes the heating rate per unit volume, erg /s / cm^3.

This NEVER returns a negative value.


The documentation for this class was generated from the following file: