https://mooseframework.inl.gov
include
postprocessors
SideIntegralMaterialProperty.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 "
SideIntegralPostprocessor.h
"
13
#include "
MaterialPropertyInterface.h
"
14
15
#include "
IndexableProperty.h
"
16
20
template
<
bool
is_ad>
21
class
SideIntegralMaterialPropertyTempl
:
public
SideIntegralPostprocessor
22
{
23
public
:
24
static
InputParameters
validParams
();
25
26
SideIntegralMaterialPropertyTempl
(
const
InputParameters
&
parameters
);
27
28
virtual
void
initialSetup
()
override
;
29
30
protected
:
31
virtual
Real
computeQpIntegral
()
override
;
32
33
const
IndexableProperty<SideIntegralPostprocessor, is_ad>
_prop
;
34
};
35
36
typedef
SideIntegralMaterialPropertyTempl<false>
SideIntegralMaterialProperty
;
37
typedef
SideIntegralMaterialPropertyTempl<true>
ADSideIntegralMaterialProperty
;
MaterialPropertyInterface.h
SideIntegralPostprocessor.h
SideIntegralMaterialPropertyTempl::_prop
const IndexableProperty< SideIntegralPostprocessor, is_ad > _prop
Definition:
SideIntegralMaterialProperty.h:33
SideIntegralMaterialPropertyTempl
Computes the integral of a material property over a side set.
Definition:
SideIntegralMaterialProperty.h:21
SideIntegralMaterialPropertyTempl::initialSetup
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
Definition:
SideIntegralMaterialProperty.C:36
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
ADSideIntegralMaterialProperty
SideIntegralMaterialPropertyTempl< true > ADSideIntegralMaterialProperty
Definition:
SideIntegralMaterialProperty.h:37
SideIntegralMaterialPropertyTempl::validParams
static InputParameters validParams()
Definition:
SideIntegralMaterialProperty.C:19
IndexableProperty< SideIntegralPostprocessor, is_ad >
SideIntegralPostprocessor
This postprocessor computes a surface integral of the specified variable on a sideset on the boundary...
Definition:
SideIntegralPostprocessor.h:20
IndexableProperty.h
SideIntegralMaterialProperty
SideIntegralMaterialPropertyTempl< false > SideIntegralMaterialProperty
Definition:
SideIntegralMaterialProperty.h:36
SideIntegralMaterialPropertyTempl::SideIntegralMaterialPropertyTempl
SideIntegralMaterialPropertyTempl(const InputParameters ¶meters)
Definition:
SideIntegralMaterialProperty.C:28
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
SideIntegralMaterialPropertyTempl::computeQpIntegral
virtual Real computeQpIntegral() override
Definition:
SideIntegralMaterialProperty.C:44
Generated on Thu Jul 17 2025 01:32:08 for https://mooseframework.inl.gov by
1.8.14