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

Go to the source code of this file.

Classes

class  ScalarL2Error
 Postprocessor for computing the error in a scalar value relative to a known Function's value. More...
 

Functions

template<>
InputParameters validParams< ScalarL2Error > ()
 

Function Documentation

Definition at line 24 of file ScalarL2Error.C.

25 {
27  params.addRequiredParam<VariableName>("variable", "The name of the scalar variable");
28  params.addRequiredParam<FunctionName>("function", "The analytic solution to compare against");
29  return params;
30 }
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...