- expressionThe user defined function.
C++ Type:FunctionExpression
Unit:(no unit assumed)
Controllable:No
Description:The user defined function.
- print_rpnFalsePrint parsed Reverse Polish Notation (RPN) for debugging.
Default:False
C++ Type:bool
Controllable:No
Description:Print parsed Reverse Polish Notation (RPN) for debugging.
- symbol_namesSymbols (excluding t,x,y,z) that are bound to the values provided by the corresponding items in the symbol_values vector.
C++ Type:std::vector<std::string>
Controllable:No
Description:Symbols (excluding t,x,y,z) that are bound to the values provided by the corresponding items in the symbol_values vector.
- symbol_valuesConstant numeric values, postprocessor names, function names, and scalar variables corresponding to the symbols in symbol_names.
C++ Type:std::vector<std::string>
Controllable:No
Description:Constant numeric values, postprocessor names, function names, and scalar variables corresponding to the symbols in symbol_names.
KokkosParsedFunction
This is the Kokkos version of ParsedFunction. See the original document for details.
commentnote
The Kokkos version does not support using scalar variables for "symbol_values" yet.
Example Syntax
[Functions<<<{"href": "../../../syntax/Functions/index.html"}>>>]
[parsed]
type = KokkosParsedFunction<<<{"description": "Function created by parsing a string", "href": "KokkosParsedFunction.html"}>>>
expression<<<{"description": "The user defined function."}>>> = 'if (x > y, 0.1*x, 0.1*y) + const + t + t_pp'
symbol_names<<<{"description": "Symbols (excluding t,x,y,z) that are bound to the values provided by the corresponding items in the symbol_values vector."}>>> = 'const t_pp'
symbol_values<<<{"description": "Constant numeric values, postprocessor names, function names, and scalar variables corresponding to the symbols in symbol_names."}>>> = '1 time'
print_rpn<<<{"description": "Print parsed Reverse Polish Notation (RPN) for debugging."}>>> = true
[]
[](test/tests/kokkos/functions/parsed_function/kokkos_parsed_function.i)Input Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:No
Description:Set the enabled status of the MooseObject.