![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Cooling of the gas, applied on top of the (adiabatic) equation of state. More...
#include <shammodels/ramses/include/shammodels/ramses/config/CoolingConfig.hpp>
Classes | |
| struct | None |
| No cooling. More... | |
| struct | InstantBarotropic |
| Instantaneous cooling onto a barotrope (RAMSES-like). More... | |
Public Types | |
| using | Tscal = shambase::VecComponent<Tvec> |
| using | Variant = std::variant<None, InstantBarotropic> |
Public Member Functions | |
| void | set_none () |
| void | set_instant_barotropic (Tscal rho0, Tscal cs0, Tscal gamma0) |
| bool | is_cooling_on () const |
| void | check_config () const |
| Throws std::invalid_argument if the parameters of the cooling are invalid. | |
Public Attributes | |
| Variant | config = None{} |
Cooling of the gas, applied on top of the (adiabatic) equation of state.
Definition at line 34 of file CoolingConfig.hpp.
| using shammodels::basegodunov::CoolingConfig< Tvec >::Tscal = shambase::VecComponent<Tvec> |
Definition at line 35 of file CoolingConfig.hpp.
| using shammodels::basegodunov::CoolingConfig< Tvec >::Variant = std::variant<None, InstantBarotropic> |
Definition at line 59 of file CoolingConfig.hpp.
|
inline |
Throws std::invalid_argument if the parameters of the cooling are invalid.
Definition at line 71 of file CoolingConfig.hpp.
|
inline |
Definition at line 68 of file CoolingConfig.hpp.
|
inline |
Definition at line 64 of file CoolingConfig.hpp.
|
inline |
Definition at line 63 of file CoolingConfig.hpp.
| Variant shammodels::basegodunov::CoolingConfig< Tvec >::config = None{} |
Definition at line 61 of file CoolingConfig.hpp.