www.mooseframework.org
Functions
MatGradSquareCoupled.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", MatGradSquareCoupled)
 
template<>
InputParameters validParams< MatGradSquareCoupled > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
MatGradSquareCoupled   
)

◆ validParams< MatGradSquareCoupled >()

template<>
InputParameters validParams< MatGradSquareCoupled > ( )

Definition at line 16 of file MatGradSquareCoupled.C.

17 {
18  InputParameters params = validParams<Kernel>();
19  params.addClassDescription("Gradient square of a coupled variable.");
20  params.addCoupledVar("elec_potential", "Electric potential");
21  params.addCoupledVar("args", "Vector of arguments to prefactor");
22  params.addParam<MaterialPropertyName>(
23  "prefactor",
24  "prefactor",
25  "Material property providing a prefactor of electric potential contribution");
26  return params;
27 }