![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Instantaneous cooling onto a barotrope (RAMSES-like). More...
#include <shammodels/ramses/include/shammodels/ramses/config/CoolingConfig.hpp>
Public Member Functions | |
| shammath::FluidStateBarotropic< Tvec > | get_barotrope () const |
Public Attributes | |
| Tscal | rho0 |
| Tscal | cs0 |
| Tscal | gamma0 = 5. / 3. |
Instantaneous cooling onto a barotrope (RAMSES-like).
At the end of each timestep, before the CFL condition, the internal energy of every cell is overwritten by \( P_{\rm baro}(\rho) / (\gamma - 1) \), where \( \gamma \) is the adiabatic index of the equation of state and \( P_{\rm baro} \) the pressure of get_barotrope() (isothermal with sound speed cs0 below rho0, adiabatic with index gamma0 above), see shammath::FluidStateBarotropic.
Definition at line 49 of file CoolingConfig.hpp.
|
inline |
Definition at line 54 of file CoolingConfig.hpp.
| Tscal shammodels::basegodunov::CoolingConfig< Tvec >::InstantBarotropic::cs0 |
Definition at line 51 of file CoolingConfig.hpp.
| Tscal shammodels::basegodunov::CoolingConfig< Tvec >::InstantBarotropic::gamma0 = 5. / 3. |
Definition at line 52 of file CoolingConfig.hpp.
| Tscal shammodels::basegodunov::CoolingConfig< Tvec >::InstantBarotropic::rho0 |
Definition at line 50 of file CoolingConfig.hpp.