31 using Tscal = shambase::VecComponent<Tvec>;
32 using Tgridscal = shambase::VecComponent<TgridVec>;
33 static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension;
39 using AMRBlock =
typename Config::AMRBlock;
40 using OrientedAMRGraph = OrientedAMRGraph<Tvec, TgridVec>;
43 Config &solver_config;
46 ComputeCFL(
ShamrockCtx &context, Config &solver_config, Storage &storage)
47 : context(context), solver_config(solver_config), storage(storage) {}
50 Tscal compute_dust_cfl();
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...