20 "Creates a field consisting of one component of a coupled vector variable.");
22 "The variable from which to compute the component");
29 _nodal_variable_value(_nodal ? &coupledNodalValue<
RealVectorValue>(
"vector_variable")
31 _elemental_variable_value(_nodal ? nullptr : &coupledVectorValue(
"vector_variable")),
32 _component(getParam<
MooseEnum>(
"component"))
virtual Real computeValue() override
Compute and return the value of the aux variable.
bool _nodal
Flag indicating if the AuxKernel is nodal.
const VectorVariableValue *const _elemental_variable_value
Pointer to elemental variable value.
const int _component
Desired component.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
const RealVectorValue *const _nodal_variable_value
Pointer to nodal variable value.
registerMooseObject("MooseApp", VectorVariableComponentAux)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Extract a component from a vector variable.
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
VectorVariableComponentAux(const InputParameters ¶meters)
Class constructor.