10 #ifdef MOOSE_MFEM_ENABLED 36 mooseError(
"Cannot add SubMeshes unless an MFEMProblem is in use.");
static InputParameters validParams()
registerMooseAction("MooseApp", AddMFEMSubMeshAction, "add_mfem_submeshes")
void addSubMesh(const std::string &user_object_name, const std::string &name, InputParameters ¶meters)
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
This class allows us to have a section of the input file like the following to add MFEM submeshes to ...
const std::string _name
The name of this class.
AddMFEMSubMeshAction(const InputParameters ¶meters)
std::string _type
The Object type that is being created.
static InputParameters validParams()
InputParameters _moose_object_pars
The parameters for the object to be created.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.