org.jscience.physics.kinematics
Class ConstantGravityField

java.lang.Object
  extended by org.jscience.physics.kinematics.Field
      extended by org.jscience.physics.kinematics.ConstantField
          extended by org.jscience.physics.kinematics.ConstantGravityField

public class ConstantGravityField
extends ConstantField

The ConstantGravityField class provides an object for encapsulating constant gravity fields forces.


Constructor Summary
ConstantGravityField(AbstractClassicalParticle p, AbstractDoubleVector doubleVector)
          Constructs the field.
 
Method Summary
 Force createForce()
          Creates the force acting on a particle in this field.
 
Methods inherited from class org.jscience.physics.kinematics.ConstantField
getVector, setVector
 
Methods inherited from class org.jscience.physics.kinematics.Field
getParticle, setParticle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantGravityField

public ConstantGravityField(AbstractClassicalParticle p,
                            AbstractDoubleVector doubleVector)
Constructs the field.

Parameters:
p - DOCUMENT ME!
doubleVector - DOCUMENT ME!
Method Detail

createForce

public Force createForce()
Creates the force acting on a particle in this field.

Specified by:
createForce in class Field
Returns:
DOCUMENT ME!