10 #ifdef MOOSE_MFEM_ENABLED 27 #include "libmesh/string_to_enum.h" 39 std::vector<MFEMSolverName>
42 std::vector<MFEMSolverName> dependencies;
44 for (
const auto & [param_name, _] : parameters)
46 if (parameters.isPrivate(param_name))
49 if (
auto * name = parameters.queryParam<MFEMSolverName>(param_name))
50 dependencies.push_back(*name);
51 else if (
auto * names = parameters.queryParam<std::vector<MFEMSolverName>>(param_name))
52 dependencies.insert(dependencies.end(), names->begin(), names->end());
63 params.
addClassDescription(
"Problem type for building and solving the finite element problem " 64 "using the MFEM finite element library.");
65 MooseEnum numeric_types(
"real complex",
"real");
66 params.
addParam<
MooseEnum>(
"numeric_type", numeric_types,
"Number type used for the problem");
73 _num_type{
static_cast<int>(getParam<MooseEnum>(
"numeric_type"))},
74 _solution_state_data(declareRestartableDataWithContext<Moose::MFEM::SolutionState>(
75 "mfem_solution_state", &_problem_data))
81 #ifdef LIBMESH_HAVE_OPENMP 82 omp_set_num_threads(1);
92 std::vector<MFEMExecutedObject *> objects;
96 .condition<AttribThread>(0)
98 for (
auto *
const object : objects)
99 object->initialSetup();
103 std::vector<MFEMRefinementMarker *> markers;
105 for (
auto marker : markers)
106 marker->initialSetup();
130 const std::string & name,
133 auto estimator = addObject<MFEMIndicator>(indicator_type,
name,
parameters).front();
136 estimator->createEstimator();
141 const std::string & name,
149 const std::string & name,
166 const auto dependencies = getMFEMSolverDependencies(*definition.parameters);
167 if (dependencies.empty())
170 for (
const auto & dependency_name : dependencies)
176 "' references MFEM solver '",
178 "', but no solver with that name was provided in the [Solvers] block.");
180 dependency_it->second.referenced =
true;
181 resolver.
addEdge(dependency_name, solver_name);
185 const std::vector<std::string> * sorted_solver_names =
nullptr;
192 mooseError(
"Cyclic MFEM solver dependency detected: ",
197 mooseAssert(!problem_data.jacobian_solver,
"MFEM linear solver driver already assigned");
198 mooseAssert(!problem_data.nonlinear_solver,
"MFEM nonlinear solver driver already assigned");
200 for (
const auto & solver_name : *sorted_solver_names)
204 addObject<Moose::MFEM::SolverBase>(definition.type, solver_name, *definition.parameters)
207 if (definition.referenced)
210 if (
auto lin_solver = std::dynamic_pointer_cast<Moose::MFEM::LinearSolverBase>(solver))
212 if (problem_data.jacobian_solver)
213 mooseError(
"Multiple MFEM linear solver drivers provided. '",
214 problem_data.jacobian_solver->name(),
217 "' are not referenced by another MFEM solver.");
218 problem_data.jacobian_solver = lin_solver;
220 else if (
auto nonlinear_solver =
221 std::dynamic_pointer_cast<Moose::MFEM::NonlinearSolverBase>(solver);
224 if (problem_data.nonlinear_solver)
225 mooseError(
"Multiple MFEM nonlinear solver drivers provided. '",
226 problem_data.nonlinear_solver->name(),
228 nonlinear_solver->name(),
229 "' are not referenced by another MFEM solver.");
230 problem_data.nonlinear_solver = nonlinear_solver;
233 mooseError(
"Unsupported MFEM solver object type '",
245 const std::string & name,
248 auto bc = addObject<MFEMBoundaryCondition>(bc_name,
name,
parameters).front();
249 const auto & mfem_bc = *bc;
251 if (dynamic_cast<const MFEMIntegratedBC *>(&mfem_bc))
260 "' because there is no corresponding equation system.");
262 else if (dynamic_cast<const MFEMComplexIntegratedBC *>(&mfem_bc))
270 mooseError(
"Cannot add complex integrated BC with name '" +
name +
271 "' because there is no corresponding equation system.");
273 else if (dynamic_cast<const MFEMComplexEssentialBC *>(&mfem_bc))
282 "' because there is no corresponding equation system.");
284 else if (dynamic_cast<const MFEMEssentialBC *>(&mfem_bc))
293 "' because there is no corresponding equation system.");
297 mooseError(
"Unsupported bc of type '", bc_name,
"' and name '",
name,
"' detected.");
305 "MFEM materials must be added through the 'FunctorMaterials' block and not 'Materials'");
310 const std::string & name,
318 const std::string & name,
324 "': an MFEMFESpaceHierarchy with the same name already exists. " 325 "FESpaces and FESpaceHierarchies share the fespaces namespace.");
336 const std::string & name,
340 mooseError(
"Cannot add MFEMFESpaceHierarchy '",
342 "': a FESpace with the same name already exists. " 343 "FESpaces and FESpaceHierarchies share the fespaces namespace.");
346 auto hierarchy_shared = hierarchy_obj->getHierarchyShared();
352 auto finest = std::shared_ptr<mfem::ParFiniteElementSpace>(
353 hierarchy_shared, &hierarchy_obj->getHierarchy().GetFinestFESpace());
359 const std::string & var_name)
const 361 const bool variable_is_complex = var_type ==
"MFEMComplexVariable";
363 if (variable_is_complex != problem_is_complex)
365 "The problem numeric type does not match primary MFEM variable '",
368 variable_is_complex ?
"complex." :
"real.");
373 const std::string & var_name,
383 const auto time_derivative_var_name =
384 getMFEMObject<MFEMVariable>(
"MooseVariableBase", var_name).getTimeDerivativeName();
386 time_derivative_var_name);
393 const std::string & var_name,
397 if (var_type ==
"MFEMVariable" || var_type ==
"MFEMComplexVariable")
400 if (var_type ==
"MFEMComplexVariable")
401 addObject<MFEMComplexVariable>(var_type, var_name,
parameters);
403 addObject<MFEMVariable>(var_type, var_name,
parameters);
412 addObject<MFEMVariable>(
"MFEMVariable", var_name, mfem_variable_params);
416 if (var_type ==
"MFEMComplexVariable")
419 getMFEMObject<MFEMComplexVariable>(
"MooseVariableBase", var_name);
425 MFEMVariable & mfem_variable = getMFEMObject<MFEMVariable>(
"MooseVariableBase", var_name);
433 const std::string & var_name,
443 const std::string & name,
451 const std::string & name,
454 auto kernel = addObject<MFEMKernel>(kernel_name,
name,
parameters).front();
455 const auto & kernel_object = *kernel;
457 if (dynamic_cast<const MFEMComplexKernel *>(&kernel_object))
466 "' because there is no corresponding equation system.");
476 "' because there is no corresponding equation system.");
482 const std::string & name,
487 parameters.
set<VariableName>(
"variable") = parent_ptr->getParam<VariableName>(
"variable");
488 auto kernel_ptr = addObject<MFEMKernel>(kernel_name,
name +
"_real",
parameters).front();
489 parent_ptr->setRealKernel(kernel_ptr);
494 const std::string & name,
499 parameters.
set<VariableName>(
"variable") = parent_ptr->getParam<VariableName>(
"variable");
500 auto kernel_ptr = addObject<MFEMKernel>(kernel_name,
name +
"_imag",
parameters).front();
501 parent_ptr->setImagKernel(kernel_ptr);
506 const std::string & name,
510 getMFEMObject<MFEMComplexIntegratedBC>(
"BoundaryCondition",
name).
getSharedPtr());
511 parameters.
set<VariableName>(
"variable") = parent_ptr->getParam<VariableName>(
"variable");
513 parent_ptr->getParam<std::vector<BoundaryName>>(
"boundary");
515 addObject<MFEMBoundaryCondition>(kernel_name,
name +
"_real",
parameters).front());
516 parent_ptr->setRealBC(bc_ptr);
521 const std::string & name,
525 getMFEMObject<MFEMComplexIntegratedBC>(
"BoundaryCondition",
name).
getSharedPtr());
526 parameters.
set<VariableName>(
"variable") = parent_ptr->getParam<VariableName>(
"variable");
528 parent_ptr->getParam<std::vector<BoundaryName>>(
"boundary");
530 addObject<MFEMBoundaryCondition>(kernel_name,
name +
"_imag",
parameters).front());
531 parent_ptr->setImagBC(bc_ptr);
539 if (parameters.
isParamSetByUser(
"expression_y") || type ==
"LevelSetOlssonVortex")
547 const std::vector<std::string>
SCALAR_FUNCS = {
"Axisymmetric2D3DSolutionFunction",
548 "BicubicSplineFunction",
549 "CoarsenedPiecewiseLinear",
554 "ParsedGradFunction",
558 "PiecewiseConstantFromCSV",
560 "PiecewiseLinearFromVectorPostprocessor",
561 "PiecewiseMultiInterpolation",
562 "PiecewiseMulticonstant",
566 "LevelSetOlssonBubble",
567 "LevelSetOlssonPlane",
568 "NearestReporterCoordinatesFunction",
569 "ParameterMeshFunction",
570 "ParsedOptimizationFunction",
573 "MultiControlDrumFunction",
574 "Grad2ParsedFunction",
575 "GradParsedFunction",
576 "ScaledAbsDifferenceDRLRewardFunction",
577 "CircularAreaHydraulicDiameterFunction",
578 "CosineHumpFunction",
579 "CosineTransitionFunction",
580 "CubicTransitionFunction",
581 "GeneralizedCircumference",
588 const std::string & name,
599 [&func](
const mfem::Vector & p, mfem::real_t t) -> mfem::real_t
608 [&func,
dim](
const mfem::Vector & p, mfem::real_t t, mfem::Vector & u)
612 for (
int i = 0; i <
dim; i++)
614 u[i] = vector_value(i);
618 else if (
"MFEMParsedFunction" !=
type)
622 " is scalar or vector; no MFEM coefficient object created.");
628 const std::string & name,
637 name, [&val](
const mfem::Vector &) -> mfem::real_t {
return val; });
645 const std::string & name,
673 case FEFamily::LAGRANGE:
676 case FEFamily::NEDELEC_ONE:
679 case FEFamily::RAVIART_THOMAS:
683 case FEFamily::MONOMIAL:
684 case FEFamily::L2_LAGRANGE:
687 case FEFamily::LAGRANGE_VEC:
691 case FEFamily::MONOMIAL_VEC:
692 case FEFamily::L2_LAGRANGE_VEC:
697 mooseError(
"Unable to set MFEM FESpace for MOOSE variable");
704 const auto fec_name = space +
"_" + std::to_string(
dim) +
"D_P" + std::to_string(order);
705 const auto fes_name = fec_name +
"_X" + std::to_string(vdim);
708 fespace_params.
set<std::string>(
"fec_name") = fec_name;
709 fespace_params.
set<
int>(
"vdim") = vdim;
712 addFESpace(
"MFEMGenericFESpace", fes_name, fespace_params);
714 variable_params.
set<MFEMFESpaceName>(
"fespace") = fes_name;
716 return variable_params;
723 if (
mesh().shouldDisplace())
730 std::optional<std::reference_wrapper<mfem::ParGridFunction const>>
735 if (displacement_variable)
748 if (pmesh.Nonconforming())
760 fe_space_pair.second->Update();
767 gridfunction_pair.second->Update();
770 std::vector<VariableName>
780 "Please choose the MFEMMesh mesh type for an MFEMProblem\n");
792 const std::string & var_name,
795 auto & mfem_submesh = *addObject<MFEMSubMesh>(var_type, var_name,
parameters).front();
802 const std::string & name,
811 const std::string & name,
822 const std::string & name,
831 std::vector<MFEMExecutedObject *> objects;
835 .condition<AttribExecOns>(exec_type)
839 std::map<std::string, const MFEMExecutedObject *> suppliers;
840 for (
auto *
const object : objects)
841 for (
const auto & item : object->getSuppliedItems())
843 const auto [it, inserted] = suppliers.emplace(item,
object);
844 if (!inserted && it->second !=
object)
845 mooseError(
"MFEM executed-object dependency ambiguity on ",
856 for (
auto *
const object : objects)
858 object->initialize();
862 if (
auto *
const pp = dynamic_cast<const Postprocessor *>(
object))
868 if (
auto *
const vpp = dynamic_cast<VectorPostprocessor *>(
object))
876 mooseAssert(solver_sys_num == 0,
"No support for multi-system with MFEM right now");
878 std::vector<std::string> solvers;
896 std::vector<MooseObject *> objs;
900 .condition<AttribThread>(0)
903 return !objs.empty();
std::map< std::string, MFEMSolverDefinition > _mfem_solver_definitions
Solver definitions recorded by AddMFEMSolverAction before the dependency resolver constructs them...
std::shared_ptr< mfem::ParMesh > pmesh
virtual void resolveMFEMSolvers()
Construct recorded MFEM solvers in dependency order and select the problem driver solver(s)...
void addGridFunction(const std::string &var_type, const std::string &var_name, InputParameters ¶meters)
Adds one MFEM GridFunction to be used in the MFEM solve.
Constructs and stores an mfem::ParComplexGridFunction object.
std::shared_ptr< mfem::ParComplexGridFunction > getComplexGridFunction() const
Returns a shared pointer to the constructed gridfunction.
void addMarker(const std::string &type, const std::string &name, InputParameters ¶meters) override
Override of FEProblemBase::addMarker.
virtual void addTransfer(const std::string &transfer_name, const std::string &name, InputParameters ¶meters)
Add a Transfer to the problem.
KOKKOS_INLINE_FUNCTION const T * find(const T &target, const T *const begin, const T *const end)
Find a value in an array.
unsigned int dimension() const override
Returns MeshBase::mesh_dimension(), (not MeshBase::spatial_dimension()!) of the underlying libMesh me...
Factory & _factory
The Factory for building objects.
libMesh::Point libMeshPointFromMFEMVector(const mfem::Vector &vec)
Convert an MFEM position vector to a libMesh::Point.
virtual void AddKernel(std::shared_ptr< MFEMKernel > kernel)
Add kernels.
void addRealComponentToBC(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
Adds a real component BC to the parent MFEMComplexIntegratedBC.
Moose::MFEM::ComplexGridFunctions cmplx_gridfunctions
MFEMProblemData & getProblemData()
Method to get the current MFEMProblemData object storing the current data specifying the FE problem...
const std::string & name() const
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
const std::vector< std::string > SCALAR_FUNCS
void addImagComponentToBC(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
Adds an imaginary component BC to the parent MFEMComplexIntegratedBC.
void setPostprocessorValueByName(const PostprocessorName &name, const PostprocessorValue &value, std::size_t t_index=0)
Set the value of a PostprocessorValue.
void addPostprocessor(const std::string &type, const std::string &name, InputParameters ¶meters) override
Override of ExternalProblem::addPostprocessor.
NumericType _num_type
The numeric representation currently active for this problem.
std::optional< std::reference_wrapper< std::string const > > getMeshDisplacementVariable() const
Returns an optional reference to displacement variable name.
void addFunction(const std::string &type, const std::string &name, InputParameters ¶meters) override
Override of ExternalProblem::addFunction.
const std::vector< T > & getSortedValues()
This function also returns dependency resolved values but with a simpler single vector interface...
InputParameters addMFEMFESpaceFromMOOSEVariable(InputParameters &moosevar_params)
Method used to get an mfem FEC depending on the variable family specified in the input file...
static InputParameters validParams()
Return the input parameters used to construct an MFEM problem.
virtual MFEMMesh & mesh() override
Overwritten mesh() method from base MooseMesh to retrieve the correct mesh type, in this case MFEMMes...
const InputParameters & parameters() const
Get the parameters of the object.
registerMooseObject("MooseApp", MFEMProblem)
virtual void addVariable(const std::string &var_type, const std::string &var_name, InputParameters ¶meters) override
Override of ExternalProblem::addVariable.
InputParameters getValidParams(const std::string &name) const
Get valid parameters for the object.
static InputParameters validParams()
std::shared_ptr< Moose::MFEM::LinearSolverBase > jacobian_solver
Owns the weak-form mathematics of a MOOSE MFEM problem.
void executeMFEMObjects(const ExecFlagType &exec_type)
Execute MFEM executed objects scheduled on the supplied execute flag.
static constexpr std::size_t dim
This is the dimension of all vector and tensor datastructures used in MOOSE.
std::string solverTypeString(unsigned int solver_sys_num) override
Return solver type as a human readable string.
virtual void AddEssentialBC(std::shared_ptr< MFEMEssentialBC > bc)
Add BC associated with essentially constrained DoFs on boundaries.
std::unique_ptr< T_DEST, T_DELETER > dynamic_pointer_cast(std::unique_ptr< T_SRC, T_DELETER > &src)
These are reworked from https://stackoverflow.com/a/11003103.
std::shared_ptr< MooseObject > getSharedPtr()
Get another shared pointer to this object that has the same ownership group.
int vectorFunctionDim(const std::string &type, const InputParameters ¶meters)
void setCurrentExecuteOnFlag(const ExecFlagType &)
void displaceMesh()
Displace the mesh, if mesh displacement is enabled.
MFEMProblemData _problem_data
Aggregated MFEM-side state for meshes, spaces, variables, coefficients, and solvers.
void addEdge(const T &a, const T &b)
Add an edge between nodes 'a' and 'b'.
Moose::MFEM::FESpaces fespaces
Moose::MFEM::SubMeshes submeshes
Constructs and stores an mfem::ParGridFunction object.
Moose::MFEM::FECollections fecs
bool hasMFEMObject(const std::string &system, const std::string &name) const
Determine whether an MFEM object with the supplied system and name exists.
void AddComplexEssentialBCs(std::shared_ptr< MFEMComplexEssentialBC > bc)
Add complex essential BCs.
void checkUserObjectNameCollision(const std::string &name, const std::string &type) const
Check for name collision between different user objects.
virtual Function & getFunction(const std::string &name, const THREAD_ID tid=0)
virtual void addPostprocessor(const std::string &pp_name, const std::string &name, InputParameters ¶meters)
void mooseWarning(Args &&... args) const
virtual void execute(const ExecFlagType &exec_type)
Convenience function for performing execution of MOOSE systems.
void rebalanceMesh(mfem::ParMesh &pmesh)
Rebalance the (necessarily nonconforming) mesh.
ReporterData _reporter_data
const std::string & name() const
Get the name of the class.
mfem::Coefficient & declareScalar(const std::string &name, const std::string &existing_or_literal)
Declare an alias to an existing scalar coefficient or, if it does not exist, try interpreting the nam...
void addTimeDerivativeAssociation(const std::string &var_name, const std::string &time_derivative_var_name)
TheWarehouse & theWarehouse() const
void addQuadratureFunction(const std::string &type, const std::string &name, InputParameters ¶meters)
Add an MFEM QuadratureFunction-backed coefficient to the problem.
Moose::MFEM::FESpaceHierarchies fespace_hierarchies
T * Get(const std::string &field_name) const
Returns a non-owning pointer to the field. This is guaranteed to return a non-null pointer...
mfem::VectorCoefficient & declareVector(const std::string &name, const std::string &existing_or_literal)
Declare an alias to an existing vector coefficientor or, if it does not exist, try interpreting the n...
virtual void addFunction(const std::string &type, const std::string &name, InputParameters ¶meters)
Real PostprocessorValue
various MOOSE typedefs
virtual void addVectorPostprocessor(const std::string &pp_name, const std::string &name, InputParameters ¶meters)
Moose::MFEM::CoefficientManager & getCoefficients()
Method to get the PropertyManager object for storing material properties and converting them to MFEM ...
void addMaterial(const std::string &material_name, const std::string &name, InputParameters ¶meters) override
virtual void initialSetup() override
const std::string & type() const
Get the type of this class.
void initialSetup() override
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
void setMesh()
Set the mesh used by MFEM.
virtual const SystemBase & systemBaseAuxiliary() const override
Return the auxiliary system object as a base class reference.
virtual void addMFEMSolver(const std::string &user_object_name, const std::string &name, InputParameters ¶meters)
Method called in AddMFEMSolverAction which records a solver for later dependency-ordered construction...
void finalize(const std::string &object_name)
Helper function for performing post calculation actions via the ReporterContext objects.
void addAuxKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters) override
Override of ExternalProblem::addAuxKernel.
std::shared_ptr< mfem::ParMesh > getMFEMParMeshPtr()
Copy a shared_ptr to the mfem::ParMesh object.
std::shared_ptr< mfem::ParGridFunction > getGridFunction() const
Returns a shared pointer to the constructed gridfunction.
const PostprocessorValue & getPostprocessorValueByName(const PostprocessorName &name, std::size_t t_index=0) const
Get a read-only reference to the value associated with a Postprocessor that exists.
std::shared_ptr< Moose::MFEM::EquationSystem > eqn_system
void addFESpaceHierarchy(const std::string &type, const std::string &name, InputParameters ¶meters)
Add an MFEMFESpaceHierarchy to the problem.
void AddComplexIntegratedBC(std::shared_ptr< MFEMComplexIntegratedBC > bc)
Add complex integrated BCs.
virtual void addVariable(const std::string &var_type, const std::string &var_name, InputParameters ¶ms)
Canonical method for adding a non-linear variable.
std::shared_ptr< MFEMRefinementMarker > refiner
void Register(const std::string &field_name, FieldArgs &&... args)
Construct new field with name field_name and register.
MFEMProblem(const InputParameters ¶ms)
Construct an MFEM problem from the supplied parameters.
void displace(mfem::GridFunction const &displacement)
Displace the nodes of the mesh by the given displacement.
void addFunctorMaterial(const std::string &material_name, const std::string &name, InputParameters ¶meters) override
Class for containing MooseEnum item information.
void addNode(const T &a)
Add a node 'a' to the graph.
void addFESpace(const std::string &type, const std::string &name, InputParameters ¶meters)
Add an MFEM FESpace to the problem.
void updateGridFunctions()
Calls Update() on all gridfunctions.
const std::vector< T > & getCyclicDependencies() const
void addIndicator(const std::string &type, const std::string &name, InputParameters ¶meters) override
Override of FEProblemBase::addIndicator.
MFEMMesh inherits a MOOSE mesh class which allows us to work with other MOOSE objects.
virtual std::vector< VariableName > getAuxVariableNames()
Returns all the variable names from the auxiliary system base.
Query query()
query creates and returns an initialized a query object for querying objects from the warehouse...
void addBoundaryCondition(const std::string &bc_name, const std::string &name, InputParameters ¶meters) override
const std::vector< std::string > VECTOR_FUNCS
virtual MooseMesh & mesh() override
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
const std::vector< VariableName > & getVariableNames() const
void updateFESpaces()
Calls Update() on all FE spaces.
void addImagComponentToKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
Adds an imaginary component kernel to the parent MFEMComplexKernel.
QueryCache & condition(Args &&... args)
Adds a new condition to the query.
void addVectorPostprocessor(const std::string &type, const std::string &name, InputParameters ¶meters) override
Add a vector postprocessor and register its vectors with the MFEM execution system.
void addKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters) override
Override of ExternalProblem::addKernel.
void validateVariableNumericType(const std::string &var_type, const std::string &var_name) const
Verify that a primary variable's numeric type matches the problem's equation system.
void declareCoefficients()
Declare default coefficients associated with this gridfunction.
virtual bool isTransient() const override
std::optional< std::reference_wrapper< mfem::ParGridFunction const > > getMeshDisplacementGridFunction()
Returns optional reference to the displacement GridFunction to apply to nodes.
Moose::MFEM::GridFunctions gridfunctions
void addAuxVariable(const std::string &var_type, const std::string &var_name, InputParameters ¶meters) override
Override of ExternalProblem::addAuxVariable.
std::string stringJoin(const std::vector< std::string > &values, const std::string &separator=" ")
Concatenates value into a single string separated by separator.
void addRealComponentToKernel(const std::string &kernel_name, const std::string &name, InputParameters ¶meters)
Adds a real component kernel to the parent MFEMComplexKernel.
virtual void AddIntegratedBC(std::shared_ptr< MFEMIntegratedBC > kernel)
void addSubMesh(const std::string &type, const std::string &name, InputParameters ¶meters)
Add an MFEM SubMesh to the problem.
void declareCoefficients()
Moose::MFEM::TimeDerivativeMap time_derivative_map
virtual void execute(const ExecFlagType &exec_type) override
Convenience function for performing execution of MOOSE systems.
std::string prettyCppType(const std::string &cpp_type)
void addTransfer(const std::string &transfer_name, const std::string &name, InputParameters ¶meters) override
Add transfers between MultiApps and/or MFEM SubMeshes.
void addInitialCondition(const std::string &ic_name, const std::string &name, InputParameters ¶meters) override
Add an MFEM initial condition to the problem.
void AddComplexKernel(std::shared_ptr< MFEMComplexKernel > kernel)
Add complex kernels.