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

Go to the source code of this file.

Classes

class  FunctionValuePostprocessor
 This postprocessor displays a single value which is supplied by a MooseFunction. More...
 

Functions

template<>
InputParameters validParams< FunctionValuePostprocessor > ()
 

Function Documentation

Definition at line 19 of file FunctionValuePostprocessor.C.

20 {
22  params.addRequiredParam<FunctionName>("function",
23  "The function which supplies the postprocessor value.");
24  params.addParam<Point>(
25  "point", Point(), "A point in space to be given to the function Default: (0, 0, 0)");
26  params.addParam<Real>("scale_factor", 1, "A scale factor to be applied to the function");
27 
28  params.declareControllable("point scale_factor");
29 
30  return params;
31 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< GeneralPostprocessor >()
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
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...