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");
registerMooseObject("MooseApp", MaterialStdVectorRealGradientAux)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
void ErrorVector unsigned int
Moose::GenericType< std::vector< T >, is_ad > _full_value
T Value evaluated from either the property or the functor.
A base class for the various Material related AuxKernel objects.
unsigned int _index
index of the vector element
static InputParameters validParams()
AuxKernel for outputting a std::vector material-property component to an AuxVariable.
virtual Real getRealValue() override
Returns material property values at quadrature points.
static InputParameters validParams()
unsigned int _component
component of the real gradient to be extracted
MaterialStdVectorRealGradientAux(const InputParameters ¶meters)