Go to the documentation of this file.
21 params.addClassDescription(
"Access a component of a RankTwoTensor");
22 params.addRequiredRangeCheckedParam<
unsigned int>(
24 "index_i >= 0 & index_i <= 2",
25 "The index i of ij for the tensor to output (0, 1, 2)");
26 params.addRequiredRangeCheckedParam<
unsigned int>(
28 "index_j >= 0 & index_j <= 2",
29 "The index j of ij for the tensor to output (0, 1, 2)");
35 _i(getParam<unsigned int>(
"index_i")),
36 _j(getParam<unsigned int>(
"index_j"))
LineMaterialRankTwoSampler(const InputParameters ¶meters)
Class constructor Sets up variables for output based on the properties to be output.
static InputParameters validParams()
This class samples components of RankTwoTensor material properties for the integration points in all ...
InputParameters validParams()
registerMooseObject("TensorMechanicsApp", LineMaterialRankTwoSampler)
defineLegacyParams(LineMaterialRankTwoSampler)
virtual Real getScalarFromProperty(const RankTwoTensor &property, const Point &curr_point)
Reduce the material property to a scalar for output Call through to RankTwoScalarTools::component() t...