18 params.
addClassDescription(
"Object for extracting a component of a rank two tensor material " 19 "property to populate an auxiliary variable.");
20 params.
addParam<
unsigned int>(
"row", 0,
"The row component to consider for this kernel");
21 params.
addParam<
unsigned int>(
"column", 0,
"The column component to consider for this kernel");
27 _row(getParam<unsigned
int>(
"row")),
28 _col(getParam<unsigned
int>(
"column"))
30 if (
_row > LIBMESH_DIM)
32 "The row component ",
_row,
" does not exist for ", LIBMESH_DIM,
" dimensional problems");
33 if (
_col > LIBMESH_DIM)
36 " does not exist for ",
38 " dimensional problems");
static InputParameters validParams()
A base class for the various Material related AuxKernal objects.
AuxKernel for outputting a RealTensorValue material property component to an AuxVariable.
static InputParameters validParams()
TensorValue< Real > RealTensorValue
const GenericMaterialProperty< T, is_ad > & _prop
Reference to the material property for this AuxKernel.
MaterialRealTensorValueAux(const InputParameters ¶meters)
Class constructor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
unsigned int _qp
Quadrature point index.
virtual Real getRealValue() override
Returns material property values at quadrature points.
registerMooseObject("MooseApp", MaterialRealTensorValueAux)
unsigned int _row
The row index to output.
unsigned int _col
The column index to output.
void ErrorVector unsigned int