20 params.
addClassDescription(
"Set the mesh nodal finite element space to the same as the mesh " 21 "displacement variable, if one is specified.");
40 mfem::ParMesh &
mesh = mfem_problem->mesh().getMFEMParMesh();
41 auto const displacement = mfem_problem->getMeshDisplacementGridFunction();
47 mesh.SetNodalFESpace(displacement.value().get().ParFESpace());
SetMFEMMeshFESpaceAction(const InputParameters ¶meters)
static InputParameters validParams()
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
registerMooseAction("MooseApp", SetMFEMMeshFESpaceAction, "set_mesh_fe_space")
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
static InputParameters validParams()
This class implements the action ensuring the mesh uses the same FE space as the displacement for mes...