29 std::string
vars =
"x,y,z,t,NaN,pi,e";
34 "' can be interpreted as a parsed function expression. This can be problematic. As an "
35 "example you may name a function 'x' whose functional form is 'xy'. You probably wouldn't "
36 "do this, but let's assume for the sake of argument. You might also write somewhere in a "
37 "consumer object 'function = x'. Well, MOOSE supports direct construction of parsed "
38 "functions from 'FunctionName' parameters, so is this consumer going to end up using the "
39 "functional form 'x' or 'xy'? It is undefined behavior.");
41#ifdef MOOSE_KOKKOS_ENABLED
registerMooseAction("MooseApp", AddFunctionAction, "add_function")
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
This class parses functions in the [Functions] block and creates them.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
static InputParameters validParams()
AddFunctionAction(const InputParameters ¶ms)
const std::string & _name
The name of this class.
InputParameters _moose_object_pars
The parameters for the object to be created.
static InputParameters validParams()
std::string _type
The Object type that is being created.
void mooseWarning(Args &&... args) const