![]() |
Shamrock 2025.10.0
Astrophysical Code
|
External forces config of the Ramses solver + json serialization/deserialization. More...
#include "shambase/exception.hpp"#include "shambase/overloaded.hpp"#include "shambackends/type_convert.hpp"#include "shambackends/vec.hpp"#include "shammodels/ramses/config/enum_ExtForceCoupling.hpp"#include <nlohmann/json.hpp>#include <algorithm>#include <cmath>#include <stdexcept>#include <string>#include <variant>#include <vector>Go to the source code of this file.
Classes | |
| struct | shammodels::basegodunov::ExtForceConfig< Tvec > |
| List of the external forces applied to the gas. More... | |
| struct | shammodels::basegodunov::ExtForceConfig< Tvec >::ConstantGravity |
| Constant gravitational acceleration g. More... | |
| struct | shammodels::basegodunov::ExtForceConfig< Tvec >::PointMassGravity |
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 ExtForceConfig< Tvec > &p) |
| template<class Tvec> | |
| void | shammodels::basegodunov::from_json (const nlohmann::json &j, ExtForceConfig< Tvec > &p) |
External forces config of the Ramses solver + json serialization/deserialization.
Definition in file ExtForceConfig.hpp.