Classes | Functions
ConstantFunction.h File Reference

Go to the source code of this file.


class  ConstantFunction
 Class that represents constant function. More...


InputParameters validParams< ConstantFunction > ()

Function Documentation

Definition at line 19 of file ConstantFunction.C.

20 {
22  params.addParam<Real>("value", 0.0, "The constant value");
23  params.declareControllable("value");
24  return params;
25 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void declareControllable(const std::string &name)
Declare the given parameters as controllable.
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