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

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

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)

Detailed Description

External forces config of the Ramses solver + json serialization/deserialization.

Author
Léodasce Sewanou (leoda.nosp@m.sce..nosp@m.sewan.nosp@m.ou@e.nosp@m.ns-ly.nosp@m.on.f.nosp@m.r)
Noé Brucy (noe.b.nosp@m.rucy.nosp@m.@ens-.nosp@m.lyon.nosp@m..fr)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file ExtForceConfig.hpp.