29 parameters, VariableNameMappingMode::USE_MOOSE_NAMES, _function_param)
33 std::set<std::string> reserved_names;
43 this->
template getParam<std::vector<std::string>>(
"material_property_names"),
44 this->
template getParam<std::vector<PostprocessorName>>(
"postprocessor_names"),
registerMooseObject("MooseApp", ParsedMaterial)
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
Helper class for ParsedMaterial and DerivativeParsedMaterial to declare and read the input parameters...
std::vector< MooseFunctorName > _functor_names
Functor vectors (names, count, and symbols)
std::vector< std::string > _tol_names
tolerance vectors
std::vector< Real > _tol_values
std::vector< std::string > _constant_names
constant vectors
const std::string _function
function expression
std::vector< std::string > _functor_symbols
static InputParameters validParams()
std::vector< std::string > _constant_expressions
void validateVectorNames(const std::set< std::string > &reserved_names={})
Function to ensure that the names of constants, tolerances, and functors do not overlap with each oth...
Helper class to perform the parsing and optimization of the function expression.
void insertReservedNames(std::set< std::string > &reserved_names)
Populates the given set with names not to be used as user-defined symbol (e.g.
static InputParameters validParams()
void functionParse(const std::string &function_expression)
This method sets up and parses the function string given by the user.
FunctionMaterialBase child class to evaluate a parsed function.
ParsedMaterialTempl(const InputParameters ¶meters)
static InputParameters validParams()