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
// Forward Declarations
15
class
ElementL2Norm
;
16
17
template
<>
18
InputParameters
validParams<ElementL2Norm>
();
19
20
class
ElementL2Norm
:
public
ElementIntegralVariablePostprocessor
21
{
22
public
:
23
static
InputParameters
validParams
();
24
25
ElementL2Norm
(
const
InputParameters
&
parameters
);
26
27
virtual
Real
getValue
()
override
;
28
29
protected
:
30
virtual
Real
computeQpIntegral
()
override
;
31
};
32
ElementL2Norm
Definition:
ElementL2Norm.h:20
ElementL2Norm::computeQpIntegral
virtual Real computeQpIntegral() override
Definition:
ElementL2Norm.C:35
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseObject.h:76
ElementL2Norm::ElementL2Norm
ElementL2Norm(const InputParameters ¶meters)
Definition:
ElementL2Norm.C:23
validParams< ElementL2Norm >
InputParameters validParams< ElementL2Norm >()
ElementIntegralVariablePostprocessor.h
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition:
InputParameters.h:53
ElementIntegralVariablePostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition:
ElementIntegralVariablePostprocessor.h:27
ElementL2Norm::getValue
virtual Real getValue() override
This will get called to actually grab the final value the postprocessor has calculated.
Definition:
ElementL2Norm.C:29
ElementL2Norm::validParams
static InputParameters validParams()
Definition:
ElementL2Norm.C:17
Generated on Sat Jan 25 2020 11:56:03 for www.mooseframework.org by
1.8.16