10 #ifdef MOOSE_MFEM_ENABLED 21 params.
addClassDescription(
"Base class for custom GeneralUserObjects to add to MFEM problems.");
36 mfem::VectorCoefficient &
42 mfem::MatrixCoefficient &
54 mfem::VectorCoefficient &
60 mfem::MatrixCoefficient &
static InputParameters validParams()
mfem::VectorCoefficient & getVectorCoefficientByName(const MFEMVectorCoefficientName &name)
static InputParameters validParams()
mfem::MatrixCoefficient & getMatrixCoefficient(const std::string &name)
mfem::VectorCoefficient & getVectorCoefficient(const std::string &name)
Return a vector coefficient with the given name or, if that doesn't exists, try interpreting the name...
mfem::Coefficient & getScalarCoefficientByName(const MFEMScalarCoefficientName &name)
Returns references to coefficients stored in the MFEMProblem PropertiesManager.
mfem::Coefficient & getScalarCoefficient(const std::string &name)
virtual const std::string & name() const
Get the name of the class.
mfem::MatrixCoefficient & getMatrixCoefficient(const std::string &name)
Return scalar coefficient with the given name.
This class adds a getMFEMProblem method.
registerMooseObject("MooseApp", MFEMGeneralUserObject)
mfem::MatrixCoefficient & getMatrixCoefficientByName(const MFEMMatrixCoefficientName &name)
Moose::MFEM::CoefficientManager & getCoefficients()
Method to get the PropertyManager object for storing material properties and converting them to MFEM ...
mfem::Coefficient & getScalarCoefficient(const std::string &name)
Return a scalar coefficient with the given name or, if that doesn't exists, try interpreting the name...
MFEMProblem & getMFEMProblem()
Returns a reference to the MFEMProblem instance.
mfem::VectorCoefficient & getVectorCoefficient(const std::string &name)
MFEMGeneralUserObject(const InputParameters ¶meters)