24 const auto T_mesh =
dynamic_cast<const T *
>(&
mesh);
28 MooseUtils::prettyCppType<T>(),
29 ". You must use the relevant Subchannel mesh/mesh generator with this object.");
38 auto T_mesh =
dynamic_cast<T *
>(&
mesh);
42 MooseUtils::prettyCppType<T>(),
43 ". You must use the relevant Subchannel mesh/mesh generator with this object.");
52 const auto T_problem =
dynamic_cast<const T *
>(&problem);
55 MooseUtils::prettyCppType<T>(),
56 ". You must use the relevant Subchannel problem with this object.");
void mooseError(Args &&... args)
const T & getConstProblem(const FEProblemBase &problem)
function to cast const problem
const T & getConstMesh(const MooseMesh &mesh)
function to cast const mesh
T & getMesh(MooseMesh &mesh)
function to cast mesh