https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
;
IndexableProperty.h
MaterialPropertyInterface.h
SideIntegralMaterialProperty
SideIntegralMaterialPropertyTempl< false > SideIntegralMaterialProperty
Definition
SideIntegralMaterialProperty.h:36
ADSideIntegralMaterialProperty
SideIntegralMaterialPropertyTempl< true > ADSideIntegralMaterialProperty
Definition
SideIntegralMaterialProperty.h:37
SideIntegralPostprocessor.h
IndexableProperty
IndexableProperty is a helper (proxy) object to obtain a scalar component from a material property.
Definition
IndexableProperty.h:24
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
SideIntegralMaterialPropertyTempl
Computes the integral of a material property over a side set.
Definition
SideIntegralMaterialProperty.h:22
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
SideIntegralMaterialPropertyTempl::validParams
static InputParameters validParams()
Definition
SideIntegralMaterialProperty.C:19
SideIntegralMaterialPropertyTempl::_prop
const IndexableProperty< SideIntegralPostprocessor, is_ad > _prop
Definition
SideIntegralMaterialProperty.h:33
SideIntegralMaterialPropertyTempl::computeQpIntegral
virtual Real computeQpIntegral() override
Definition
SideIntegralMaterialProperty.C:46
SideIntegralPostprocessor
This postprocessor computes a surface integral of the specified variable on a sideset on the boundary...
Definition
SideIntegralPostprocessor.h:21
Generated on Fri Aug 21 2026 13:33:51 for https://mooseframework.inl.gov by
1.9.8