|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.physics.Particle JSci.physics.RelativisticParticle
public abstract class RelativisticParticle
The RelativisticParticle class provides an object for encapsulating relativistic particles.
Field Summary | |
---|---|
Rank1Tensor |
momentum
Momentum 4-vector. |
Rank1Tensor |
position
Position 4-vector. |
Constructor Summary | |
---|---|
RelativisticParticle()
Constructs a relativistic particle. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object p)
Compares two particles for equality. |
int |
hashCode()
|
abstract double |
restMass()
Rest mass. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Rank1Tensor position
public Rank1Tensor momentum
Constructor Detail |
---|
public RelativisticParticle()
Method Detail |
---|
public abstract double restMass()
public boolean equals(java.lang.Object p)
equals
in class java.lang.Object
p
- a relativistic particlepublic int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |