11#include "metaphysicl/raw_type.h"
21template <
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");
33template <
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");
55template <
typename T,
bool is_ad,
bool is_functor>
registerMooseObject("MooseApp", MaterialRealVectorValueAux)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
void ErrorVector unsigned int
A base class for the various Material related AuxKernal objects.
static InputParameters validParams()
AuxKernel for outputting a RealVectorValue material property component to an AuxVariable.
virtual Real getRealValue() override
Returns material property values at quadrature points.
static InputParameters validParams()
unsigned int _component
The vector component to output.
MaterialRealVectorValueAuxTempl(const InputParameters ¶meters)
Class constructor.