![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Configuration for the GSPH momentum equation formulation. More...
#include "shambackends/type_traits.hpp"#include "shambackends/vec.hpp"#include "shamsys/legacy/log.hpp"#include <nlohmann/json.hpp>#include <variant>Go to the source code of this file.
Classes | |
| struct | shammodels::gsph::ForceFormulationConfig< Tvec > |
| struct | shammodels::gsph::ForceFormulationConfig< Tvec >::ChaWhitworth |
| Cha & Whitworth (2003) symmetric SPH momentum equation (default). More... | |
| struct | shammodels::gsph::ForceFormulationConfig< Tvec >::InutsukaV2 |
| Inutsuka (2002) effective volume/face momentum equation. More... | |
Namespaces | |
| namespace | shammodels |
| namespace for models | |
Functions | |
| template<class Tvec> | |
| void | shammodels::gsph::to_json (nlohmann::json &j, const ForceFormulationConfig< Tvec > &p) |
| template<class Tvec> | |
| void | shammodels::gsph::from_json (const nlohmann::json &j, ForceFormulationConfig< Tvec > &p) |
Configuration for the GSPH momentum equation formulation.
GSPH implementations in the literature discretize the momentum equation in more than one way. This selects between:
Definition in file ForceFormulationConfig.hpp.
|
inline |
Definition at line 111 of file ForceFormulationConfig.hpp.
|
inline |
Definition at line 92 of file ForceFormulationConfig.hpp.