16 params.
addCoupledVar(
"args",
"Vector of variables used in the parsed function");
20 params.
addParam<std::vector<std::string>>(
22 std::vector<std::string>(),
23 "Vector of constants used in the parsed function (use this for kB etc.)");
24 params.
addParam<std::vector<std::string>>(
25 "constant_expressions",
26 std::vector<std::string>(),
27 "Vector of values for the constants in constant_names (can be an FParser expression)");
30 params.
addParam<std::vector<std::string>>(
"tol_names",
31 std::vector<std::string>(),
32 "Vector of variable names to be protected from " 33 "being 0 or 1 within a tolerance (needed for log(c) " 34 "and log(1-c) terms)");
35 params.
addParam<std::vector<Real>>(
"tol_values",
37 "Vector of tolerance values for the variables in tol_names");
40 params.
addParam<std::vector<std::string>>(
41 "material_property_names",
42 std::vector<std::string>(),
43 "Vector of material properties used in the parsed function");
46 params.
addParam<std::vector<PostprocessorName>>(
47 "postprocessor_names",
48 std::vector<PostprocessorName>(),
49 "Vector of postprocessor names used in the parsed function");
55 "Parsed function (see FParser) expression for the parsed material",
56 "'function' is deprecated, use 'expression' instead");
61 "Parsed function (see FParser) expression for the parsed material");
70 : parameters.
get<std::string>(
"expression");
77 _tol_names = parameters.
get<std::vector<std::string>>(
"tol_names");
std::vector< std::string > _constant_expressions
std::vector< std::string > _constant_names
constant vectors
std::string _function
function expression
static InputParameters validParams()
std::vector< std::string > _tol_names
tolerance vectors
ParsedMaterialBase(const InputParameters ¶meters)
std::vector< Real > _tol_values