14 #include "libmesh/ignore_warnings.h" 16 #include "libmesh/restore_warnings.h" 26 "The finite element space this variable is defined on.");
29 params.addClassDescription(
30 "Class for adding MFEM variables to the problem (`mfem::ParGridFunction`s).");
31 params.registerBase(
"MooseVariableBase");
38 _gridfunction(buildGridFunction())
43 const std::shared_ptr<mfem::ParGridFunction>
static InputParameters validParams()
const MFEMFESpace & _fespace
static InputParameters validParams()
registerMooseObject("MooseApp", MFEMVariable)
const std::shared_ptr< mfem::ParGridFunction > _gridfunction
Stores the constructed gridfunction.
Constructs and stores an mfem::ParGridFunction object.
MFEMVariable(const InputParameters ¶meters)
const std::shared_ptr< mfem::ParGridFunction > buildGridFunction()
Constructs the gridfunction.
Constructs and stores an mfem::ParFiniteElementSpace object.
static InputParameters validParams()
std::shared_ptr< mfem::ParFiniteElementSpace > getFESpace() const
Returns a shared pointer to the constructed fespace.