www.mooseframework.org
Functions
GradientComponent.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< GradientComponent > ()
 

Function Documentation

template<>
InputParameters validParams< GradientComponent > ( )

Definition at line 11 of file GradientComponent.C.

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