18 params.
addClassDescription(
"Extracts a component of a material's std::vector<RealGradient> to an " 19 "aux variable. If the std::vector is not of sufficient size then " 22 "component", 0,
"The gradient component to be extracted for this kernel");
29 _component(getParam<unsigned
int>(
"component"))
33 "The component ",
_component,
" does not exist for ", LIBMESH_DIM,
" dimensional problems");
static InputParameters validParams()
static InputParameters validParams()
AuxKernel for outputting a std::vector material-property component to an AuxVariable.
registerMooseObject("MooseApp", MaterialStdVectorRealGradientAux)
const GenericMaterialProperty< std::vector< T >, is_ad > & _prop
Reference to the material property for this AuxKernel.
virtual Real getRealValue() override
Returns material property values at quadrature points.
A base class for the various Material related AuxKernal objects.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialStdVectorRealGradientAux(const InputParameters ¶meters)
unsigned int _component
component of the real gradient to be extracted
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
unsigned int _qp
Quadrature point index.
unsigned int _index
index of the vecor element
void ErrorVector unsigned int