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

◆ validParams< VariableGradientMaterial >()

template<>
InputParameters validParams< VariableGradientMaterial > ( )

Definition at line 16 of file VariableGradientMaterial.C.

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