https://mooseframework.inl.gov
ElementH1ErrorFunctionAux.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
14 
22 {
23 public:
25 
32 
37  virtual void compute() override;
38 
39 protected:
43  virtual Real computeValue() override;
44 
49 };
OutputTools< Real >::VariableGradient VariableGradient
Definition: MooseTypes.h:315
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.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.