54 using Tscal = shambase::VecComponent<Tvec>;
55 static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension;
56 using Kernel = SPHKernel<Tscal>;
62 Config &solver_config;
65 UpdateDerivs(
ShamrockCtx &context, Config &solver_config, Storage &storage)
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);
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...