ElementW1pError.C File Reference

Go to the source code of this file.


InputParameters validParams< ElementW1pError > ()

Function Documentation

Definition at line 20 of file ElementW1pError.C.

Referenced by validParams< ElementH1Error >().

21 {
23  params.addRangeCheckedParam<Real>("p", 2.0, "p>=1", "The exponent used in the norm.");
24  params.addRequiredParam<FunctionName>("function", "The analytic solution to compare against");
25  return params;
26 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
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...
InputParameters validParams< ElementIntegralVariablePostprocessor >()
void addRangeCheckedParam(const std::string &name, const T &value, const std::string &parsed_function, const std::string &doc_string)