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

Go to the source code of this file.

Classes

class  ElementL2ErrorFunctionAux
 A class for computing the element-wise L^2 error (actually L^p error, if you set the value of p to something other than 2) of the difference between an exact solution (typically represented by a ParsedFunction) and the coupled solution variable. More...
 

Functions

template<>
InputParameters validParams< ElementL2ErrorFunctionAux > ()
 

Function Documentation

Definition at line 21 of file ElementL2ErrorFunctionAux.C.

Referenced by validParams< ElementH1ErrorFunctionAux >().

22 {
24  params.addClassDescription("A class for computing the element-wise L^2 (Euclidean) error between "
25  "a function and a coupled variable.");
26  params.addRequiredParam<FunctionName>("function", "Function representing the exact solution");
27  return params;
28 }
InputParameters validParams< ElementLpNormAux >()
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...
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...