10 #ifdef MOOSE_MFEM_ENABLED 23 "problem coefficients (including scalar variables).");
30 _mfem_problem(static_cast<
MFEMProblem &>(_pfb_feproblem)),
32 _xyzt({
"x",
"y",
"z",
"t"})
39 parsedFunctionSetup(_sym_function, _value, symbols, {}, {}, comm());
43 name(), _vars.size() + _xyzt.size(), _coefficients, _sym_function);
std::string name(const ElemQuality q)
MFEMProblem & _mfem_problem
reference to the MFEMProblem instance
void initialSetup() override
Creates the parsed function.
const std::vector< std::string > _vals
Values passed by the user, they may be Reals for Postprocessors.
This class is used to evaluate symbolic equations passed in to Moose through the input file...
GenericSymFunction< is_ad > SymFunction
Shorthand for an autodiff function parser object.
static InputParameters validParams()
std::vector< std::reference_wrapper< mfem::Coefficient > > _coefficients
vector of references to the scalar coefficients used in the function
Moose::MFEM::CoefficientManager & getCoefficients()
Method to get the PropertyManager object for storing material properties and converting them to MFEM ...
registerMooseObject("MooseApp", MFEMParsedFunction)
static InputParameters validParams()
Created from MooseSystem via the FunctionFactory.
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...
Scalar, parsed function of position, time, and any number of scalar problem coefficients, including any scalar variables, postprocessors, material properties or functions.
Scalar coefficient that, given a set of scalar (possibly, but not necessarily, gridfunction) coeffici...
static InputParameters validParams()
const std::vector< std::string > _vars
Variables passed to libMesh::ParsedFunction.
std::string stringJoin(const std::vector< std::string > &values, const std::string &separator=" ")
Concatenates value into a single string separated by separator.
auto index_range(const T &sizable)
MFEMParsedFunction(const InputParameters ¶meters)