30 using Tscal = shambase::VecComponent<Tvec>;
31 static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension;
32 using Kernel = SPHKernel<Tscal>;
37 Config &solver_config;
39 VTKDump(
ShamrockCtx &context, Config &solver_config)
40 : context(context), solver_config(solver_config) {}
42 void do_dump(std::string filename,
bool add_patch_world_id);
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...