www.mooseframework.org
ElementL2Norm.C
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 #include "ElementL2Norm.h"
11 
13 
16 {
18  return params;
19 }
20 
23 {
24 }
25 
26 Real
28 {
30 }
31 
32 Real
34 {
35  Real val = _u[_qp];
36  return val * val;
37 }
static InputParameters validParams()
Definition: ElementL2Norm.C:15
ElementL2Norm(const InputParameters &parameters)
Definition: ElementL2Norm.C:21
This postprocessor computes a volume integral of the specified variable.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
Definition: ElementL2Norm.C:27
registerMooseObject("MooseApp", ElementL2Norm)
const VariableValue & _u
Holds the solution at current quadrature points.
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpIntegral() override
Definition: ElementL2Norm.C:33