12#include "metaphysicl/raw_type.h"
19template <
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");
31template <
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.");
42template <
typename T,
bool is_ad>
registerMooseObject("MooseApp", MaterialRankTwoTensorAux)
void ErrorVector unsigned int
A base class for the various Material related AuxKernal objects.
static InputParameters validParams()
MaterialRankTwoTensorAux is designed to take the data in the RankTwoTensor material property,...
virtual Real getRealValue() override
Returns material property values at quadrature points.
MaterialRankTwoTensorAuxTempl(const InputParameters ¶meters)
const unsigned int _i
tensor indices
static InputParameters validParams()