13 #include "metaphysicl/raw_type.h" 24 "Compute components of a rank-2 tensor in a spherical coordinate system");
26 "The rank two material tensor name");
28 "property_name",
"Name of the material property computed by this model");
29 MooseEnum sphericalTypes(
"HoopStress RadialStress");
31 "spherical_component", sphericalTypes,
"Type of spherical scalar output");
32 params.
addParam<Point>(
"spherical_center_point",
33 "Center point of the spherical coordinate system.");
41 _tensor(getGenericMaterialProperty<
RankTwoTensor, is_ad>(
"rank_two_tensor")),
42 _property(declareGenericProperty<
Real, is_ad>(
"property_name")),
43 _spherical_component(getParam<
MooseEnum>(
"spherical_component")
45 _center(isParamValid(
"spherical_center_point") ? getParam<Point>(
"spherical_center_point")
61 Point dummy_direction;
registerMooseObject("SolidMechanicsApp", RankTwoSphericalComponent)
virtual void computeQpProperties() override
RankTwoSphericalComponent computes spherical scalar values from Rank-2 tensors.
static InputParameters validParams()
RankTwoSphericalComponentTempl(const InputParameters ¶meters)
virtual void initQpStatefulProperties() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()