www.mooseframework.org
Functions
MooseParsedFunctionBase.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< MooseParsedFunctionBase > ()
 Creates the 'vars' and 'vals' parameters used by all ParsedFunctions, the parameters provided from this function should be appeneded to the parameters for the class using the += operator. More...
 

Function Documentation

Creates the 'vars' and 'vals' parameters used by all ParsedFunctions, the parameters provided from this function should be appeneded to the parameters for the class using the += operator.

See also
MooseParsedFunction, MooseParsedGradFunction, MooseParsedVectorFunction

Definition at line 24 of file MooseParsedFunctionBase.C.

Referenced by validParams< MooseParsedFunction >(), validParams< MooseParsedGradFunction >(), and validParams< MooseParsedVectorFunction >().

25 {
27  params.addParam<std::vector<std::string>>(
28  "vars", "The constant variables (excluding t,x,y,z) in the forcing function.");
29  params.addParam<std::vector<std::string>>(
30  "vals", "Constant numeric values or postprocessor names for vars.");
31  return params;
32 }
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...