This postprocessor computes an element integral of a component of a material tensor as specified by the user-supplied indices.
More...
#include <MaterialTensorIntegral.h>
This postprocessor computes an element integral of a component of a material tensor as specified by the user-supplied indices.
Definition at line 25 of file MaterialTensorIntegral.h.
◆ MaterialTensorIntegral()
MaterialTensorIntegral::MaterialTensorIntegral |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 38 of file MaterialTensorIntegral.C.
39 : ElementIntegralPostprocessor(parameters),
40 _tensor(getMaterialProperty<RankTwoTensor>(
"rank_two_tensor")),
41 _i(getParam<unsigned int>(
"index_i")),
42 _j(getParam<unsigned int>(
"index_j"))
◆ computeQpIntegral()
Real MaterialTensorIntegral::computeQpIntegral |
( |
| ) |
|
|
protectedvirtual |
◆ validParams()
InputParameters MaterialTensorIntegral::validParams |
( |
| ) |
|
|
static |
Definition at line 18 of file MaterialTensorIntegral.C.
21 params.addClassDescription(
"This postprocessor computes an element integral of "
22 "a component of a material tensor as specified by "
23 "the user-supplied indices");
24 params.addRequiredParam<MaterialPropertyName>(
"rank_two_tensor",
25 "The rank two material tensor name");
26 params.addRequiredRangeCheckedParam<
unsigned int>(
28 "index_i >= 0 & index_i <= 2",
29 "The index i of ij for the tensor to output (0, 1, 2)");
30 params.addRequiredRangeCheckedParam<
unsigned int>(
32 "index_j >= 0 & index_j <= 2",
33 "The index j of ij for the tensor to output (0, 1, 2)");
34 params.set<
bool>(
"use_displaced_mesh") =
true;
◆ _i
const unsigned int MaterialTensorIntegral::_i |
|
private |
◆ _j
const unsigned int MaterialTensorIntegral::_j |
|
private |
◆ _tensor
const MaterialProperty<RankTwoTensor>& MaterialTensorIntegral::_tensor |
|
private |
The documentation for this class was generated from the following files: