10#ifdef MOOSE_MFEM_ENABLED
23 "Declares a vector MFEM coefficient holding precomputed values of a source vector "
24 "coefficient at quadrature points. Values are (re)projected lazily when the coefficient "
27 "vector_coefficient",
"Vector coefficient to project onto the quadrature points.");
35 _qf.SetVDim(source.GetVDim());
registerMooseObject("MooseApp", MFEMVectorQuadratureFunction)
mfem::VectorCoefficient & getVectorCoefficient(const std::string &name)
Retrieve a vector MFEM coefficient using the value of an input parameter.
MFEMProblem & getMFEMProblem()
Return the owning MFEM problem.
Moose::MFEM::CoefficientManager & getCoefficients()
Method to get the PropertyManager object for storing material properties and converting them to MFEM ...
Base class for MOOSE objects declaring an MFEM coefficient backed by precomputed values of a source c...
static InputParameters validParams()
MFEMQuadratureFunctionCoefficientBase::UpdatePolicy updatePolicy() const
Return the update policy selected by the 'updates' input parameter, to hand to the coefficient (which...
Vector coefficient holding precomputed values of a source vector coefficient at the quadrature points...
Declares a vector MFEM coefficient represented as a precomputed vector of values of a source vector c...
mfem::QuadratureFunction _qf
Storage for the projected values of the source coefficient.
MFEMVectorQuadratureFunction(const InputParameters ¶meters)
static InputParameters validParams()
const std::string & name() const
Get the name of the class.
mfem::VectorCoefficient & declareVector(const std::string &name, const std::string &existing_or_literal)
Declare an alias to an existing vector coefficientor or, if it does not exist, try interpreting the n...