Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
SolverConfig.hpp File Reference
#include "shambase/exception.hpp"
#include "config/AVConfig.hpp"
#include "config/BCConfig.hpp"
#include "shambackends/math.hpp"
#include "shambackends/typeAliasVec.hpp"
#include "shambackends/type_traits.hpp"
#include "shambackends/vec.hpp"
#include "shamcomm/worldInfo.hpp"
#include "shammath/sphkernels.hpp"
#include "shammodels/common/EOSConfig.hpp"
#include "shammodels/common/ExtForceConfig.hpp"
#include "shammodels/sph/config/MHDConfig.hpp"
#include "shamrock/experimental_features.hpp"
#include "shamrock/io/json_print_diff.hpp"
#include "shamrock/io/json_std_optional.hpp"
#include "shamrock/io/json_utils.hpp"
#include "shamrock/io/units_json.hpp"
#include "shamrock/patch/PatchDataLayerLayout.hpp"
#include "shamrock/scheduler/PatchScheduler.hpp"
#include "shamsys/NodeInstance.hpp"
#include "shamsys/legacy/log.hpp"
#include "shamtree/CompressedLeafBVH.hpp"
#include "shamtree/RadixTree.hpp"
#include <shamunits/Constants.hpp>
#include <shamunits/UnitSystem.hpp>
#include <variant>
#include <vector>
+ 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::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 , 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

Author
David Fang (david.nosp@m..fan.nosp@m.g@ikm.nosp@m.ail..nosp@m.com)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)
Yona Lapeyre (yona..nosp@m.lape.nosp@m.yre@e.nosp@m.ns-l.nosp@m.yon.f.nosp@m.r)

Definition in file SolverConfig.hpp.