|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
Declarations of cooling functions. More...
#include <math.h>#include <functional>#include <string>#include "../global/global.h"#include "../grid/grid3D.h"#include "../io/ParameterMap.h"#include "../utils/gpu.hpp"

Go to the source code of this file.
Functions | |
| std::function< void(Grid3D &)> | configure_cooling_callback (std::string kind, ParameterMap &pmap) |
Declarations of cooling functions.
| std::function< void(Grid3D &)> configure_cooling_callback | ( | std::string | kind, |
| ParameterMap & | pmap | ||
| ) |
construct a callback that performs heating/cooling (to approximate the impact of chemistry).
The returned callback can be used as the chemistry_callback