https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
postprocessors
ElementIntegralMaterialProperty.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
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
};
ElementIntegralMaterialProperty
ElementIntegralMaterialPropertyTempl< false > ElementIntegralMaterialProperty
Definition
ElementIntegralMaterialProperty.h:16
ADElementIntegralMaterialProperty
ElementIntegralMaterialPropertyTempl< true > ADElementIntegralMaterialProperty
Definition
ElementIntegralMaterialProperty.h:17
ElementIntegralPostprocessor.h
GenericMaterialProperty
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Definition
MaterialProperty.h:439
ElementIntegralMaterialPropertyTempl
Definition
ElementIntegralMaterialProperty.h:21
ElementIntegralMaterialPropertyTempl::validParams
static InputParameters validParams()
Definition
ElementIntegralMaterialProperty.C:19
ElementIntegralMaterialPropertyTempl::computeQpIntegral
virtual Real computeQpIntegral() override
Definition
ElementIntegralMaterialProperty.C:37
ElementIntegralMaterialPropertyTempl::_scalar
const GenericMaterialProperty< Real, is_ad > & _scalar
Definition
ElementIntegralMaterialProperty.h:30
ElementIntegralPostprocessor
This postprocessor computes a volume integral of the specified variable.
Definition
ElementIntegralPostprocessor.h:21
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
Generated on Fri Aug 21 2026 13:33:51 for https://mooseframework.inl.gov by
1.9.8