20 "Creates a field consisting of one component of the gradient of a coupled variable.");
22 "The variable from which to compute the gradient component");
23 params.
addParam<
MooseEnum>(
"component", component,
"The gradient component to compute");
29 _gradient(coupledGradient(
"gradient_variable")),
30 _component(getParam<
MooseEnum>(
"component"))
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 VariableGradient & _gradient
Reference to the gradient of the coupled variable.
virtual Real computeValue() override
Compute and return the value of the aux variable.
registerMooseObject("MooseApp", VariableGradientComponent)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Extract a component from the gradient of a variable.
VariableGradientComponent(const InputParameters ¶meters)
Class constructor.
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
static InputParameters validParams()