Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
MHDConfig.hpp File Reference
#include "shambackends/vec.hpp"
#include "shamrock/experimental_features.hpp"
#include "shamsys/legacy/log.hpp"
#include <nlohmann/json.hpp>
#include <variant>
Include dependency graph for MHDConfig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shammodels::sph::MHDConfig< Tvec >
struct  shammodels::sph::MHDConfig< Tvec >::None
struct  shammodels::sph::MHDConfig< Tvec >::IdealMhdConstrainedHyperPara
struct  shammodels::sph::MHDConfig< Tvec >::NonIdealMHD

Namespaces

namespace  shammodels
 namespace for models
namespace  shammodels::sph
 namespace for the sph model

Functions

template<class Tvec>
void shammodels::sph::to_json (nlohmann::json &j, const MHDConfig< Tvec > &p)
 Serialize a MHDConfig to a JSON object.
template<class Tvec>
void shammodels::sph::from_json (const nlohmann::json &j, MHDConfig< Tvec > &p)
 Deserialize a JSON object into a MHDConfig.

Detailed Description