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;
39 : ElementIntegralPostprocessor(parameters),
40 _tensor(getMaterialProperty<
RankTwoTensor>(
"rank_two_tensor")),
41 _i(getParam<unsigned int>(
"index_i")),
42 _j(getParam<unsigned int>(
"index_j"))