www.mooseframework.org
Classes | Functions
VariableGradientMaterial.h File Reference

Go to the source code of this file.

Classes

class  VariableGradientMaterial
 Set a material property to the norm of the gradient of a non-linear variable. More...
 

Functions

template<>
InputParameters validParams< VariableGradientMaterial > ()
 

Function Documentation

template<>
InputParameters validParams< VariableGradientMaterial > ( )

Definition at line 12 of file VariableGradientMaterial.C.

13 {
14  InputParameters params = validParams<Material>();
15  params.addCoupledVar("variable", "Variable to compute the gradient magnitude of");
16  params.addRequiredParam<MaterialPropertyName>(
17  "prop", "Material property to store the gradient magnitude in");
18  return params;
19 }