www.mooseframework.org
ElementIntegralVariablePostprocessor.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 
13 #include "MooseVariableInterface.h"
14 
15 // Forward Declarations
17 
18 template <>
20 
28  public MooseVariableInterface<Real>
29 {
30 public:
32 
34 
35 protected:
36  virtual Real computeQpIntegral() override;
37 
39  const VariableValue & _u;
42 };
43 
ElementIntegralVariablePostprocessor::computeQpIntegral
virtual Real computeQpIntegral() override
Definition: ElementIntegralVariablePostprocessor.C:39
VariableGradient
OutputTools< Real >::VariableGradient VariableGradient
Definition: MooseTypes.h:301
ElementIntegralVariablePostprocessor::_grad_u
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
Definition: ElementIntegralVariablePostprocessor.h:41
ElementIntegralPostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition: ElementIntegralPostprocessor.h:26
validParams< ElementIntegralVariablePostprocessor >
InputParameters validParams< ElementIntegralVariablePostprocessor >()
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:76
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
ElementIntegralVariablePostprocessor::_u
const VariableValue & _u
Holds the solution at current quadrature points.
Definition: ElementIntegralVariablePostprocessor.h:39
ElementIntegralVariablePostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition: ElementIntegralVariablePostprocessor.h:27
MooseArray
forward declarations
Definition: MooseArray.h:16
ElementIntegralVariablePostprocessor::validParams
static InputParameters validParams()
Definition: ElementIntegralVariablePostprocessor.C:17
ElementIntegralVariablePostprocessor::ElementIntegralVariablePostprocessor
ElementIntegralVariablePostprocessor(const InputParameters &parameters)
Definition: ElementIntegralVariablePostprocessor.C:24
ElementIntegralPostprocessor.h
MooseVariableInterface.h
MooseVariableInterface
Interface for objects that need to get values of MooseVariables.
Definition: MooseVariableInterface.h:24