20 params.
addClassDescription(
"Object for extracting a component of a rank two tensor material " 21 "property to populate an auxiliary variable.");
22 params.
addParam<
unsigned int>(
"row", 0,
"The row component to consider for this kernel");
23 params.
addParam<
unsigned int>(
"column", 0,
"The column component to consider for this kernel");
31 _row(this->template getParam<unsigned
int>(
"row")),
32 _col(this->template getParam<unsigned
int>(
"column"))
34 if (
_row > LIBMESH_DIM)
36 "The row component ",
_row,
" does not exist for ", LIBMESH_DIM,
" dimensional problems");
37 if (
_col > LIBMESH_DIM)
40 " does not exist for ",
42 " dimensional problems");
unsigned int _col
The column index to output.
virtual Real getRealValue() override
Returns material property values at quadrature points.
A base class for the various Material related AuxKernal objects.
static InputParameters validParams()
AuxKernel for outputting a RealTensorValue material property component to an AuxVariable.
MaterialRealTensorValueAuxTempl(const InputParameters ¶meters)
Class constructor.
TensorValue< Real > RealTensorValue
unsigned int _row
The row index to output.
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 and optionally a file path to the top-level block p...
static InputParameters validParams()
registerMooseObject("MooseApp", MaterialRealTensorValueAux)
void ErrorVector unsigned int