www.mooseframework.org
include
postprocessors
ElementIntegralMaterialProperty.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
14
template
<
bool
>
15
class
ElementIntegralMaterialPropertyTempl
;
16
typedef
ElementIntegralMaterialPropertyTempl<false>
ElementIntegralMaterialProperty
;
17
typedef
ElementIntegralMaterialPropertyTempl<true>
ADElementIntegralMaterialProperty
;
18
19
template
<
bool
is_ad>
20
class
ElementIntegralMaterialPropertyTempl
:
public
ElementIntegralPostprocessor
21
{
22
public
:
23
static
InputParameters
validParams
();
24
25
ElementIntegralMaterialPropertyTempl
(
const
InputParameters
&
parameters
);
26
27
protected
:
28
virtual
Real
computeQpIntegral
()
override
;
29
30
const
GenericMaterialProperty<Real, is_ad>
&
_scalar
;
31
};
ElementIntegralPostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition:
ElementIntegralPostprocessor.h:20
ElementIntegralMaterialPropertyTempl::validParams
static InputParameters validParams()
Definition:
ElementIntegralMaterialProperty.C:19
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:63
ElementIntegralMaterialPropertyTempl::computeQpIntegral
virtual Real computeQpIntegral() override
Definition:
ElementIntegralMaterialProperty.C:37
ElementIntegralMaterialProperty
ElementIntegralMaterialPropertyTempl< false > ElementIntegralMaterialProperty
Definition:
ElementIntegralMaterialProperty.h:15
ElementIntegralPostprocessor.h
ADElementIntegralMaterialProperty
ElementIntegralMaterialPropertyTempl< true > ADElementIntegralMaterialProperty
Definition:
ElementIntegralMaterialProperty.h:17
GenericMaterialProperty
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Definition:
MaterialProperty.h:440
ElementIntegralMaterialPropertyTempl
Definition:
ElementIntegralMaterialProperty.h:15
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ElementIntegralMaterialPropertyTempl::ElementIntegralMaterialPropertyTempl
ElementIntegralMaterialPropertyTempl(const InputParameters ¶meters)
Definition:
ElementIntegralMaterialProperty.C:28
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
ElementIntegralMaterialPropertyTempl::_scalar
const GenericMaterialProperty< Real, is_ad > & _scalar
Definition:
ElementIntegralMaterialProperty.h:30
Generated on Wed Apr 17 2024 11:09:23 for www.mooseframework.org by
1.8.14