37namespace shammodels::gsph::modules {
51 template<
class Tvec,
template<
class>
class SPHKernel>
54 using Tscal = shambase::VecComponent<Tvec>;
56 using Kernel = SPHKernel<Tscal>;
66 : context(context), solver_config(solver_config), storage(storage) {}
78 using Cfg_Riemann =
typename Config::RiemannConfig;
79 using Iterative =
typename Cfg_Riemann::Iterative;
80 using HLLC =
typename Cfg_Riemann::HLLC;
85 void update_derivs_iterative(Iterative cfg);
90 void update_derivs_hllc(HLLC cfg);
std::uint32_t u32
32 bit unsigned integer
GSPH derivative update module.
void update_derivs()
Update all derivatives using GSPH Riemann solver approach.
Configuration for the Godunov SPH (GSPH) solver.
Storage for GSPH solver runtime data.
T & get_check_ref(const std::unique_ptr< T > &ptr, SourceLocation loc=SourceLocation())
Takes a std::unique_ptr and returns a reference to the object it holds. It throws a std::runtime_erro...
The configuration for a GSPH solver.
Runtime storage for GSPH solver.