BoundsAux.C File Reference

Go to the source code of this file.


InputParameters validParams< BoundsAux > ()

Function Documentation

Definition at line 20 of file BoundsAux.C.

21 {
23  params.addParam<Real>("upper", "The upper bound for the variable");
24  params.addParam<Real>("lower", "The lower bound for the variable");
25  params.addRequiredCoupledVar("bounded_variable", "The variable to be bounded");
26  return params;
27 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< AuxKernel >()
Definition: AuxKernel.C:30
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
This method adds a coupled variable name pair.
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...