19 params.
addCoupledVar(
"variable",
"Variable to compute the gradient magnitude of");
21 "prop",
"Material property to store the gradient magnitude in");
27 _grad(coupledGradient(
"variable")),
28 _prop(declareProperty<
Real>(getParam<MaterialPropertyName>(
"prop")))
static InputParameters validParams()
virtual void computeQpProperties()
MaterialProperty< Real > & _prop
static InputParameters validParams()
const VariableGradient & _grad
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("PhaseFieldApp", VariableGradientMaterial)
Set a material property to the norm of the gradient of a non-linear variable.
VariableGradientMaterial(const InputParameters ¶meters)