Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
SolverConfig.hpp File Reference
Include dependency graph for SolverConfig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shammodels::sph::CFLConfig< Tscal >
 The configuration for the CFL condition. More...
struct  shammodels::sph::ParticleKillingConfig< Tvec >
struct  shammodels::sph::ParticleKillingConfig< Tvec >::Sphere
struct  shammodels::sph::DustConfig< Tscal >
struct  shammodels::sph::DustConfig< Tscal >::None
struct  shammodels::sph::DustConfig< Tscal >::MonofluidTVI
struct  shammodels::sph::DustConfig< Tscal >::MonofluidComplete
struct  shammodels::sph::DustConfig< Tscal >::ConstantStoppingTimes
struct  shammodels::sph::DustConfig< Tscal >::EpsteinDrag
struct  shammodels::sph::SmoothingLengthConfig
struct  shammodels::sph::SmoothingLengthConfig::DensityBased
struct  shammodels::sph::SmoothingLengthConfig::DensityBasedNeighLim
struct  shammodels::sph::SelfGravConfig
struct  shammodels::sph::SelfGravConfig::SFMM
struct  shammodels::sph::SelfGravConfig::FMM
struct  shammodels::sph::SelfGravConfig::MM
struct  shammodels::sph::SelfGravConfig::Direct
struct  shammodels::sph::SelfGravConfig::None
struct  shammodels::sph::SelfGravConfig::SofteningPlummer
struct  shammodels::sph::SolverStatusVar< Tvec >
 Solver status variables. More...
struct  shammodels::sph::SolverConfig< Tvec, SPHKernel >
 The configuration for a sph solver. 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 CFLConfig< Tscal > &p)
 Converts a CFLConfig object to a JSON object.
template<class Tscal>
void shammodels::sph::from_json (const nlohmann::json &j, CFLConfig< Tscal > &p)
 Deserializes a CFLConfig object from a JSON object.
template<class Tvec>
void shammodels::sph::to_json (nlohmann::json &j, const SolverStatusVar< Tvec > &p)
 Converts a SolverStatusVar object to a JSON object.
template<class Tvec>
void shammodels::sph::from_json (const nlohmann::json &j, SolverStatusVar< Tvec > &p)
 Deserializes a SolverStatusVar object from a JSON object.
template<class Tvec>
void shammodels::sph::to_json (nlohmann::json &j, const ParticleKillingConfig< Tvec > &p)
template<class Tvec>
void shammodels::sph::from_json (const nlohmann::json &j, ParticleKillingConfig< Tvec > &p)
void shammodels::sph::to_json (nlohmann::json &j, const SmoothingLengthConfig &p)
void shammodels::sph::from_json (const nlohmann::json &j, SmoothingLengthConfig &p)
void shammodels::sph::to_json (nlohmann::json &j, const SelfGravConfig &p)
 JSON serialization for SelfGravConfig.
void shammodels::sph::from_json (const nlohmann::json &j, SelfGravConfig &p)
 JSON deserialization for SelfGravConfig.
template<class Tvec>
void shammodels::sph::to_json (nlohmann::json &j, const DustConfig< Tvec > &p)
template<class Tvec>
void shammodels::sph::from_json (const nlohmann::json &j, DustConfig< Tvec > &p)
template<class Tvec, template< class > class SPHKernel>
void shammodels::sph::to_json (nlohmann::json &j, const SolverConfig< Tvec, SPHKernel > &p)
 Serializes a SolverConfig object to a JSON object.
template<class Tvec, template< class > class SPHKernel>
void shammodels::sph::from_json (const nlohmann::json &j, SolverConfig< Tvec, SPHKernel > &p)
 Deserializes a SolverConfig object from a JSON object.

Detailed Description