ScalarVariable.C File Reference

Go to the source code of this file.


InputParameters validParams< ScalarVariable > ()

Function Documentation

Definition at line 25 of file ScalarVariable.C.

26 {
28  params.addRequiredParam<VariableName>("variable", "Name of the variable");
29  params.addParam<unsigned int>("component", 0, "Component to output for this variable");
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 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...