30 using Tscal = shambase::VecComponent<Tvec>;
32 using Kernel = SPHKernel<Tscal>;
42 : context(context), solver_config(solver_config), storage(storage) {}
44 void update_artificial_viscosity(Tscal dt);
49 void update_artificial_viscosity_mm97(Tscal dt,
typename Config::AVConfig::VaryingMM97 cfg);
50 void update_artificial_viscosity_cd10(Tscal dt,
typename Config::AVConfig::VaryingCD10 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...