https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElementL2ErrorFunctionAux.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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{
24public:
26
33
34protected:
39 virtual Real computeValue() override;
40
42 const Function & _func;
43};
A class for computing the element-wise L^2 error (actually L^p error, if you set the value of p to so...
const Function & _func
Function representing the exact solution.
static InputParameters validParams()
virtual Real computeValue() override
Returns the difference between the solution variable and the exact solution Function.
Compute an elemental field variable (single value per element) equal to the Lp-norm of a coupled Vari...
Base class for function objects.
Definition Function.h:30
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131