Go to the documentation of this file.
21 params.addClassDescription(
"Compute a scalar property of a RankTwoTensor");
22 params.addParam<MooseEnum>(
24 params.addParam<Point>(
27 "Start point for axis used to calculate some cylindrical material tensor quantities");
28 params.addParam<Point>(
"point2",
30 "End point for axis used to calculate some material tensor quantities");
31 params.addParam<Point>(
"direction", Point(0, 0, 1),
"Direction vector");
36 const InputParameters & parameters)
38 _scalar_type(getParam<MooseEnum>(
"scalar_type")),
39 _point1(parameters.get<Point>(
"point1")),
40 _point2(parameters.get<Point>(
"point2")),
41 _direction(parameters.get<Point>(
"direction") / parameters.get<Point>(
"direction").norm())
47 const Point & curr_point)
defineLegacyParams(LineMaterialRankTwoScalarSampler)
virtual Real getScalarFromProperty(const RankTwoTensor &property, const Point &curr_point)
Reduce the RankTwoTensor material property to a scalar for output Call through to RankTwoScalarTools:...
This class samples RankTwoTensor material properties for the integration points in all elements that ...
registerMooseObject("TensorMechanicsApp", LineMaterialRankTwoScalarSampler)
LineMaterialRankTwoScalarSampler(const InputParameters ¶meters)
Class constructor Sets up variables for output based on the properties to be output.
InputParameters validParams()
static InputParameters validParams()