www.mooseframework.org
Classes | Functions
MooseParsedGradFunction.h File Reference

Go to the source code of this file.

Classes

class  MooseParsedGradFunction
 This class is similar to ParsedFunction except it also supports returning the gradient of the function. More...
 

Functions

template<>
InputParameters validParams< MooseParsedGradFunction > ()
 

Function Documentation

Definition at line 20 of file MooseParsedGradFunction.C.

21 {
24  params.addParam<std::string>("value", "0", "User defined function.");
25  params.addParam<std::string>("grad_x", "0", "Partial with respect to x.");
26  params.addParam<std::string>("grad_y", "0", "Partial with respect to y.");
27  params.addParam<std::string>("grad_z", "0", "Partial with respect to z.");
28  return params;
29 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< MooseParsedFunctionBase >()
Creates the &#39;vars&#39; and &#39;vals&#39; parameters used by all ParsedFunctions, the parameters provided from th...
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...
InputParameters validParams< Function >()
Definition: Function.C:19