19 "Set the kernel variable to a specified component of the gradient of a coupled variable.");
22 "Component of the gradient of the coupled variable v");
29 _grad_v(coupledGradient(
"v")),
30 _component(getParam<unsigned
int>(
"component"))
33 paramError(
"component",
"Component too large for LIBMESH_DIM");
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
static InputParameters validParams()
GradientComponent(const InputParameters ¶meters)
const VariableGradient & _grad_v
Gradient of the coupled variable.
static InputParameters validParams()
const VariablePhiGradient & _grad_phi
virtual Real computeQpJacobian()
const unsigned int _component
Component of the gradient vector to match.
virtual Real computeQpResidual()
const unsigned int _v_var
Identity of the coupled variable.
const VariableTestValue & _test
registerMooseObject("PhaseFieldApp", GradientComponent)
void paramError(const std::string ¶m, Args... args) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariablePhiValue & _phi
void ErrorVector unsigned int