![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambackends/type_traits.hpp"#include "shambackends/vec.hpp"#include "shamrock/io/json_variant.hpp"#include "shamsys/legacy/log.hpp"#include <nlohmann/json.hpp>#include <variant>
Include dependency graph for AVConfig.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | shammodels::sph::AVConfig_None< Tscal > |
| No artificial viscosity: \( q^a_ab = 0\). More... | |
| struct | shammodels::sph::AVConfig_Constant< Tscal > |
| Constant artificial viscosity: \( \alpha = cte\). More... | |
| struct | shammodels::sph::AVConfig_VaryingMM97< Tscal > |
| Morris & Monaghan 1997. More... | |
| struct | shammodels::sph::AVConfig_VaryingCD10< Tscal > |
| Cullen & Dehnen 2010. More... | |
| struct | shammodels::sph::AVConfig_ConstantDisc< Tscal > |
| Constant artificial viscosity for alpha disc viscosity. More... | |
| struct | shammodels::sph::AVConfig< Tvec > |
| Configuration for the Artificial Viscosity (AV) More... | |
Namespaces | |
| namespace | shammodels |
| namespace for models | |
| namespace | shammodels::sph |
| namespace for the sph model | |
Functions | |
| template<class Tscal > | |
| void | shammodels::sph::to_json (nlohmann::json &j, const AVConfig_None< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::from_json (const nlohmann::json &j, AVConfig_None< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::to_json (nlohmann::json &j, const AVConfig_Constant< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::from_json (const nlohmann::json &j, AVConfig_Constant< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::to_json (nlohmann::json &j, const AVConfig_VaryingMM97< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::from_json (const nlohmann::json &j, AVConfig_VaryingMM97< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::to_json (nlohmann::json &j, const AVConfig_VaryingCD10< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::from_json (const nlohmann::json &j, AVConfig_VaryingCD10< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::to_json (nlohmann::json &j, const AVConfig_ConstantDisc< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::sph::from_json (const nlohmann::json &j, AVConfig_ConstantDisc< Tscal > &p) |
| template<class Tvec > | |
| void | shammodels::sph::to_json (nlohmann::json &j, const AVConfig< Tvec > &p) |
| Convert an AVConfig to a json object. | |
| template<class Tvec > | |
| void | shammodels::sph::from_json (const nlohmann::json &j, AVConfig< Tvec > &p) |
| Convert a json object to an AVConfig. | |
Definition in file AVConfig.hpp.