www.mooseframework.org
ElementL2ErrorFunctionAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef ELEMENTL2ERRORFUNCTIONAUX_H
16 #define ELEMENTL2ERRORFUNCTIONAUX_H
17 
18 // MOOSE includes
19 #include "ElementLpNormAux.h"
20 
21 // Forward declarations
23 
24 template <>
26 
35 {
36 public:
43 
44 protected:
49  virtual Real computeValue() override;
50 
53 };
54 
55 #endif // ELEMENTL2ERRORFUNCTIONAUX_H
Base class for function objects.
Definition: Function.h:46
Compute an elemental field variable (single value per element) equal to the Lp-norm of a coupled Vari...
virtual Real computeValue() override
Returns the difference between the solution variable and the exact solution Function.
A class for computing the element-wise L^2 error (actually L^p error, if you set the value of p to so...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< ElementL2ErrorFunctionAux >()
ElementL2ErrorFunctionAux(const InputParameters &parameters)
Class constructor.
Function & _func
Function representing the exact solution.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53