    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.

##

ClassicalParticle()
  Constructs a classical particle.

##

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

##

ClassicalParticle

     public ClassicalParticle()

  Constructs a classical particle.

##

getTime

     public double getTime()

  Returns the time.

setTime

     public void setTime(double t)

  Sets the time.

getPosition

     public Double3Vector getPosition()

  Returns the position vector.

setPosition

     public void setPosition(Double3Vector pos)

  Sets the position.

getEnergy

     public double getEnergy()

  Returns the energy.

setEnergy

     public void setEnergy(double e)

  Sets the energy.

getMomentum

     public Double3Vector getMomentum()

  Returns the momentum vector.

setMomentum

     public void setMomentum(Double3Vector p)

  Sets the momentum.

restMass

     public double restMass()

  Returns the rest mass.

  Overrides:
    restMass in class Particle

    All Packages  Class Hierarchy  This Package  Previous  Next  Index