www.mooseframework.org
ElementH1ErrorFunctionAux.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 ELEMENTH1ERRORFUNCTIONAUX_H
16 #define ELEMENTH1ERRORFUNCTIONAUX_H
17 
18 // MOOSE includes
20 
21 // Forward declarations
23 
24 template <>
26 
34 {
35 public:
42 
47  virtual void compute() override;
48 
49 protected:
53  virtual Real computeValue() override;
54 
59 };
60 
61 #endif // ELEMENTH1ERRORFUNCTIONAUX_H
InputParameters validParams< ElementH1ErrorFunctionAux >()
A class for computing the element-wise H1 error (actually W^{1,p} error, if you set the value of p to...
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...
ElementH1ErrorFunctionAux(const InputParameters &parameters)
Class constructor.
virtual void compute() override
Overrides ElementLpNormAux since we want to raise to a power in computeValue() instead.
const VariableGradient & _grad_coupled_var
The gradient of the computed solution.
virtual Real computeValue() override
Computes the error at the current qp.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53