All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.physics.ClassicalParticle

java.lang.Object
   |
   +----JSci.physics.Particle
           |
           +----JSci.physics.ClassicalParticle

public class ClassicalParticle
extends Particle
The ClassicalParticle class provides an object for encapsulating classical particles.


Constructor Index

 o ClassicalParticle()
Constructs a classical particle.

Method Index

 o getEnergy()
Returns the energy.
 o getMomentum()
Returns the momentum vector.
 o getPosition()
Returns the position vector.
 o getTime()
Returns the time.
 o restMass()
Returns the rest mass.
 o setEnergy(double)
Sets the energy.
 o setMomentum(Double3Vector)
Sets the momentum.
 o setPosition(Double3Vector)
Sets the position.
 o setTime(double)
Sets the time.

Constructors

 o ClassicalParticle
 public ClassicalParticle()
Constructs a classical particle.

Methods

 o getTime
 public double getTime()
Returns the time.

 o setTime
 public void setTime(double t)
Sets the time.

 o getPosition
 public Double3Vector getPosition()
Returns the position vector.

 o setPosition
 public void setPosition(Double3Vector pos)
Sets the position.

 o getEnergy
 public double getEnergy()
Returns the energy.

 o setEnergy
 public void setEnergy(double e)
Sets the energy.

 o getMomentum
 public Double3Vector getMomentum()
Returns the momentum vector.

 o setMomentum
 public void setMomentum(Double3Vector p)
Sets the momentum.

 o restMass
 public double restMass()
Returns the rest mass.

Overrides:
restMass in class Particle

All Packages  Class Hierarchy  This Package  Previous  Next  Index