www.mooseframework.org
Functions
NSGravityForce.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< NSGravityForce > ()
 

Function Documentation

template<>
InputParameters validParams< NSGravityForce > ( )

Definition at line 11 of file NSGravityForce.C.

12 {
13  InputParameters params = validParams<NSKernel>();
14  params.addClassDescription("This class computes the gravity force contribution.");
15  // The strength of the acceleration in the _component direction. Make this
16  // value negative if you want force in the -_component direction.
17  params.addRequiredParam<Real>("acceleration", "The body force vector component.");
18  return params;
19 }
InputParameters validParams< NSKernel >()
Definition: NSKernel.C:20