www.mooseframework.org
Functions
GradientComponent.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
GradientComponent   
)

◆ validParams< GradientComponent >()

template<>
InputParameters validParams< GradientComponent > ( )

Definition at line 16 of file GradientComponent.C.

17 {
18  InputParameters params = validParams<Kernel>();
19  params.addClassDescription(
20  "Set the kernel variable to a specified component of the gradient of a coupled variable.");
21  params.addRequiredCoupledVar("v", "Coupled variable to match gradient component of");
22  params.addRequiredParam<unsigned int>("component",
23  "Component of the gradient of the coupled variable v");
24  return params;
25 }