www.mooseframework.org
ElementL2ErrorFunctionAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // MOOSE includes
13 #include "ElementLpNormAux.h"
14 
23 {
24 public:
26 
33 
34 protected:
39  virtual Real computeValue() override;
40 
42  const Function & _func;
43 };
Base class for function objects.
Definition: Function.h:37
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...
ElementL2ErrorFunctionAux(const InputParameters &parameters)
Class constructor.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
const Function & _func
Function representing the exact solution.