10#ifdef MOOSE_MFEM_ENABLED
20 params.
addRequiredParam<MeshFileName>(
"file",
"The name of the mesh file to read.");
32 return mfem::Mesh(getParam<MeshFileName>(
"file"));
35std::unique_ptr<MooseMesh>
registerMooseObject("MooseApp", MFEMFileMesh)
std::unique_ptr< T > copyConstruct(const T &object)
Copy constructs the object object.
Reads an mfem::ParMesh from a file.
std::unique_ptr< MooseMesh > safeClone() const override
A safer version of the clone() method that hands back an allocated object wrapped in a smart pointer.
MFEMFileMesh(const InputParameters ¶meters)
static InputParameters validParams()
mfem::Mesh buildSerialMFEMMesh() override
Build and return the serial mfem::Mesh for this object.
Abstract MooseMesh base for all MFEM-backed mesh types (MFEMFileMesh, MFEMMeshGeneratorMesh).
static InputParameters validParams()
Factory & getFactory()
Retrieve a writable reference to the Factory associated with this App.
MooseApp & _app
The MOOSE application this is associated with.