28 class AnalysisSodTube {
30 using Tscal = shambase::VecComponent<Tvec>;
31 using Tgridscal = shambase::VecComponent<TgridVec>;
32 static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension;
38 using AMRBlock =
typename Config::AMRBlock;
41 Config &solver_config;
52 Config &solver_config,
60 : context(context), solver_config(solver_config), storage(storage), solution(solution),
61 direction(direction), time_val(time_val), x_ref(x_ref), x_min(x_min), x_max(x_max) {}
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...