org.jscience.physics.kinematics
Class Drag

java.lang.Object
  extended by org.jscience.physics.kinematics.Drag

public class Drag
extends java.lang.Object

The Drag class provides an object for encapsulating drag forces.


Constructor Summary
Drag(AbstractClassicalParticle p, double coefficient)
          Constructs a drag.
 
Method Summary
 Force createForce()
          DOCUMENT ME!
 double getCoefficient()
          DOCUMENT ME!
 AbstractClassicalParticle getParticle()
          DOCUMENT ME!
 double potentialEnergy()
          DOCUMENT ME!
 void setCoefficient(double coefficient)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Drag

public Drag(AbstractClassicalParticle p,
            double coefficient)
Constructs a drag.

Parameters:
p - DOCUMENT ME!
coefficient - the drag constant.
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getParticle

public AbstractClassicalParticle getParticle()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCoefficient

public double getCoefficient()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setCoefficient

public void setCoefficient(double coefficient)
DOCUMENT ME!

Parameters:
coefficient - DOCUMENT ME!

potentialEnergy

public double potentialEnergy()
DOCUMENT ME!

Returns:
DOCUMENT ME!

createForce

public Force createForce()
DOCUMENT ME!

Returns:
DOCUMENT ME!