www.mooseframework.org
Functions
NSGravityPower.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< NSGravityPower > ()
 

Function Documentation

template<>
InputParameters validParams< NSGravityPower > ( )

Definition at line 11 of file NSGravityPower.C.

12 {
13  InputParameters params = validParams<Kernel>();
14  params.addClassDescription("This class computes the momentum contributed by gravity.");
15  params.addRequiredCoupledVar("momentum", "");
16  params.addRequiredParam<Real>("acceleration", "The body force vector component.");
17  return params;
18 }