Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
CoolingConfig.hpp File Reference

Cooling config of the Ramses solver + json serialization/deserialization. More...

#include "shambase/exception.hpp"
#include "shambase/overloaded.hpp"
#include "shambase/string.hpp"
#include "shambackends/vec.hpp"
#include "shammath/riemann_common.hpp"
#include <nlohmann/json.hpp>
#include <stdexcept>
#include <string>
#include <variant>
Include dependency graph for CoolingConfig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shammodels::basegodunov::CoolingConfig< Tvec >
 Cooling of the gas, applied on top of the (adiabatic) equation of state. More...
struct  shammodels::basegodunov::CoolingConfig< Tvec >::None
 No cooling. More...
struct  shammodels::basegodunov::CoolingConfig< Tvec >::InstantBarotropic
 Instantaneous cooling onto a barotrope (RAMSES-like). More...

Namespaces

namespace  shammodels
 namespace for models
namespace  shammodels::basegodunov
 namespace for the basegodunov model

Functions

template<class Tvec>
void shammodels::basegodunov::to_json (nlohmann::json &j, const CoolingConfig< Tvec > &p)
template<class Tvec>
void shammodels::basegodunov::from_json (const nlohmann::json &j, CoolingConfig< Tvec > &p)

Detailed Description

Cooling config of the Ramses solver + json serialization/deserialization.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file CoolingConfig.hpp.