11 #include "metaphysicl/raw_type.h" 12 #include <type_traits> 21 template <
typename T,
bool is_ad,
bool is_functor>
27 "Capture a component of a vector material property in an auxiliary variable.");
28 params.
addParam<
unsigned int>(
"component", 0,
"The vector component to consider for this kernel");
33 template <
typename T,
bool is_ad,
bool is_functor>
37 _component(this->template getParam<unsigned
int>(
"component"))
39 if constexpr (std::is_same_v<T, RealVectorValue>)
44 " does not exist for ",
46 " dimensional problems");
55 template <
typename T,
bool is_ad,
bool is_functor>
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 RealVectorValue material property component to an AuxVariable.
unsigned int _component
The vector component 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.
MaterialRealVectorValueAuxTempl(const InputParameters ¶meters)
Class constructor.
static InputParameters validParams()
void ErrorVector unsigned int
registerMooseObject("MooseApp", MaterialRealVectorValueAux)