www.mooseframework.org
phase_field
include
postprocessors
PFCElementEnergyIntegral.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 "ElementIntegralPostprocessor.h"
13
#include "MooseVariableInterface.h"
14
15
// Forward Declarations
16
class
PFCElementEnergyIntegral
;
17
18
template
<>
19
InputParameters
validParams<PFCElementEnergyIntegral>
();
20
27
class
PFCElementEnergyIntegral
:
public
ElementIntegralPostprocessor,
28
public
MooseVariableInterface<Real>
29
{
30
public
:
31
PFCElementEnergyIntegral
(
const
InputParameters & parameters);
32
33
protected
:
34
virtual
Real
computeQpIntegral
();
35
36
MooseVariable &
_var
;
37
39
const
VariableValue &
_u
;
40
42
const
VariableGradient &
_grad_u
;
43
45
const
VariableValue &
_u_dot
;
46
48
const
Real
_temp
;
49
};
50
PFCElementEnergyIntegral
Compute a volume integral of the specified variable.
Definition:
PFCElementEnergyIntegral.h:27
PFCElementEnergyIntegral::_grad_u
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
Definition:
PFCElementEnergyIntegral.h:42
PFCElementEnergyIntegral::_u_dot
const VariableValue & _u_dot
Holds the solution derivative at the current quadrature points.
Definition:
PFCElementEnergyIntegral.h:45
PFCElementEnergyIntegral::_temp
const Real _temp
Temperature.
Definition:
PFCElementEnergyIntegral.h:48
PFCElementEnergyIntegral::_var
MooseVariable & _var
Definition:
PFCElementEnergyIntegral.h:36
validParams< PFCElementEnergyIntegral >
InputParameters validParams< PFCElementEnergyIntegral >()
Definition:
PFCElementEnergyIntegral.C:19
PFCElementEnergyIntegral::_u
const VariableValue & _u
Holds the solution at current quadrature points.
Definition:
PFCElementEnergyIntegral.h:39
PFCElementEnergyIntegral::PFCElementEnergyIntegral
PFCElementEnergyIntegral(const InputParameters ¶meters)
Definition:
PFCElementEnergyIntegral.C:28
PFCElementEnergyIntegral::computeQpIntegral
virtual Real computeQpIntegral()
Definition:
PFCElementEnergyIntegral.C:45
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16