Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Functions
cooling_cuda.h File Reference

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"
Include dependency graph for cooling_cuda.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::function< void(Grid3D &)> configure_cooling_callback (std::string kind, ParameterMap &pmap)
 

Detailed Description

Declarations of cooling functions.

Function Documentation

◆ configure_cooling_callback()

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