FunctionParserUtils.C File Reference

Go to the source code of this file.


InputParameters validParams< FunctionParserUtils > ()

Function Documentation

Definition at line 22 of file FunctionParserUtils.C.

Referenced by validParams< ParsedAddSideset >(), validParams< ParsedAux >(), validParams< ParsedODEKernel >(), and validParams< ParsedSubdomainMeshModifier >().

23 {
27  params.addParam<bool>(
28  "enable_jit",
29  true,
30  "Enable just-in-time compilation of function expressions for faster evaluation");
31  params.addParamNamesToGroup("enable_jit", "Advanced");
32 #endif
33  params.addParam<bool>(
34  "enable_ad_cache", true, "Enable cacheing of function derivatives for faster startup time");
35  params.addParam<bool>(
36  "enable_auto_optimize", true, "Enable automatic immediate optimization of derivatives");
37  params.addParam<bool>(
38  "disable_fpoptimizer", false, "Disable the function parser algebraic optimizer");
39  params.addParam<bool>(
40  "fail_on_evalerror",
41  false,
42  "Fail fatally if a function evaluation returns an error code (otherwise just pass on NaN)");
43  params.addParamNamesToGroup("enable_ad_cache", "Advanced");
44  params.addParamNamesToGroup("enable_auto_optimize", "Advanced");
45  params.addParamNamesToGroup("disable_fpoptimizer", "Advanced");
46  params.addParamNamesToGroup("fail_on_evalerror", "Advanced");
48  return params;
49 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters emptyInputParameters()
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
This method takes a space delimited list of parameter names and adds them to the specified group name...