![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Configuration for the Godunov SPH (GSPH) solver. More...
#include "shambase/exception.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/gsph/config/ReconstructConfig.hpp"#include "shammodels/gsph/config/RiemannConfig.hpp"#include "shammodels/sph/config/BCConfig.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 <nlohmann/json.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::gsph::CFLConfig< Tscal > |
| The configuration for the CFL condition in GSPH. More... | |
| struct | shammodels::gsph::SolverStatusVar< Tvec > |
| Solver status variables for GSPH. More... | |
| struct | shammodels::gsph::SolverConfig< Tvec, SPHKernel > |
| The configuration for a GSPH solver. More... | |
Namespaces | |
| namespace | shammodels |
| namespace for models | |
Functions | |
| template<class Tscal > | |
| void | shammodels::gsph::to_json (nlohmann::json &j, const CFLConfig< Tscal > &p) |
| template<class Tscal > | |
| void | shammodels::gsph::from_json (const nlohmann::json &j, CFLConfig< Tscal > &p) |
| template<class Tvec > | |
| void | shammodels::gsph::to_json (nlohmann::json &j, const SolverStatusVar< Tvec > &p) |
| template<class Tvec > | |
| void | shammodels::gsph::from_json (const nlohmann::json &j, SolverStatusVar< Tvec > &p) |
| template<class Tvec , template< class > class SPHKernel> | |
| void | shammodels::gsph::to_json (nlohmann::json &j, const SolverConfig< Tvec, SPHKernel > &p) |
| template<class Tvec , template< class > class SPHKernel> | |
| void | shammodels::gsph::from_json (const nlohmann::json &j, SolverConfig< Tvec, SPHKernel > &p) |
Configuration for the Godunov SPH (GSPH) solver.
This file contains the main configuration structure for the GSPH solver. GSPH uses Riemann solvers at particle interfaces instead of artificial viscosity.
References:
Definition in file SolverConfig.hpp.
|
inline |
Definition at line 348 of file SolverConfig.hpp.
|
inline |
Definition at line 400 of file SolverConfig.hpp.
|
inline |
Definition at line 362 of file SolverConfig.hpp.
|
inline |
Definition at line 340 of file SolverConfig.hpp.
|
inline |
Definition at line 369 of file SolverConfig.hpp.
|
inline |
Definition at line 354 of file SolverConfig.hpp.