12 #include "metaphysicl/raw_type.h" 19 template <
typename T,
bool is_ad>
25 "Access a component of a RankTwoTensor for automatic material property output");
26 params.
addRequiredParam<
unsigned int>(
"i",
"The index i of ij for the tensor to output");
27 params.
addRequiredParam<
unsigned int>(
"j",
"The index j of ij for the tensor to output");
31 template <
typename T,
bool is_ad>
35 _i(this->template getParam<unsigned
int>(
"i")),
36 _j(this->template getParam<unsigned
int>(
"j"))
38 mooseAssert(
_i <
T::N,
"i component out of range.");
39 mooseAssert(
_j <
T::N,
"j component out of range.");
42 template <
typename T,
bool is_ad>
static InputParameters validParams()
A base class for the various Material related AuxKernal objects.
virtual Real getRealValue() override
Returns material property values at quadrature points.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("MooseApp", MaterialRankTwoTensorAux)
static InputParameters validParams()
const unsigned int _i
tensor indices
MaterialRankTwoTensorAuxTempl(const InputParameters ¶meters)
void ErrorVector unsigned int
MaterialRankTwoTensorAux is designed to take the data in the RankTwoTensor material property...