www.mooseframework.org
include
postprocessors
ElementL2Norm.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
#include "
ElementIntegralVariablePostprocessor.h
"
13
14
class
ElementL2Norm
:
public
ElementIntegralVariablePostprocessor
15
{
16
public
:
17
static
InputParameters
validParams
();
18
19
ElementL2Norm
(
const
InputParameters
&
parameters
);
20
21
virtual
Real
getValue
()
const override
;
22
23
protected
:
24
virtual
Real
computeQpIntegral
()
override
;
25
};
ElementL2Norm::validParams
static InputParameters validParams()
Definition:
ElementL2Norm.C:15
ElementIntegralVariablePostprocessor.h
ElementL2Norm::ElementL2Norm
ElementL2Norm(const InputParameters ¶meters)
Definition:
ElementL2Norm.C:21
ElementIntegralVariablePostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition:
ElementIntegralVariablePostprocessor.h:21
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:63
ElementL2Norm::getValue
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
Definition:
ElementL2Norm.C:27
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ElementL2Norm
Definition:
ElementL2Norm.h:14
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
ElementL2Norm::computeQpIntegral
virtual Real computeQpIntegral() override
Definition:
ElementL2Norm.C:33
Generated on Wed Mar 27 2024 17:44:37 for www.mooseframework.org by
1.8.14