org.jscience.physics.kinematics
Class Electrostatic

java.lang.Object
  extended by org.jscience.physics.kinematics.Interaction
      extended by org.jscience.physics.kinematics.Electrostatic

public class Electrostatic
extends Interaction

The Electrostatic class provides an object for encapsulating electrostatic forces.


Constructor Summary
Electrostatic(AbstractClassicalParticle p1, AbstractClassicalParticle p2)
          Constructs an Electrostatic.
 
Method Summary
 Force createForce()
          DOCUMENT ME!
 double potentialEnergy()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.kinematics.Interaction
getParticle1, getParticle2, setParticle1, setParticle2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Electrostatic

public Electrostatic(AbstractClassicalParticle p1,
                     AbstractClassicalParticle p2)
Constructs an Electrostatic.

Parameters:
p1 - DOCUMENT ME!
p2 - DOCUMENT ME!
Method Detail

potentialEnergy

public double potentialEnergy()
DOCUMENT ME!

Specified by:
potentialEnergy in class Interaction
Returns:
DOCUMENT ME!

createForce

public Force createForce()
DOCUMENT ME!

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