public interface IProbeState extends IArchive
Modifier and Type | Field and Description |
---|---|
static double |
LightSpeed
Speed of light in vacuum (meters/second)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementId()
Returns the id of the lattice element associated with this state.
|
double |
getKineticEnergy()
Return the kinetic energy of the probe.
|
double |
getPosition()
Returns the current beam-line position of the probe
|
double |
getSpeciesCharge()
Returns the charge of probe's particle species
|
double |
getSpeciesRestEnergy()
Returns the rest energy of particle species
|
double |
getTime()
Return the time elapsed from the start of the probe tracking
|
void |
setElementId(java.lang.String id)
Set the lattice element id associated with this state.
|
void |
setKineticEnergy(double W)
Set the current kinetic energy of the probe.
|
void |
setPosition(double s)
Set the current position of the probe along the beamline.
|
void |
setSpeciesCharge(double q)
Set the charge of the particle species in the beam
|
void |
setSpeciesRestEnergy(double Er)
Set the rest energy of a single particle in the beam
|
void |
setTime(double dblTime)
Set the current probe time elapsed from the start of the probe tracking.
|
static final double LightSpeed
void setSpeciesCharge(double q)
q
- species particle charge (Coulombs)void setSpeciesRestEnergy(double Er)
Er
- particle rest energy (electron-volts)void setPosition(double s)
s
- new probe position (meters)getPosition()
void setTime(double dblTime)
dblTime
- elapsed time in secondsvoid setKineticEnergy(double W)
W
- new probe kinetic energy (electron-volts)getKineticEnergy()
void setElementId(java.lang.String id)
id
- element id of current lattice elementdouble getSpeciesCharge()
double getSpeciesRestEnergy()
java.lang.String getElementId()
double getPosition()
double getTime()
double getKineticEnergy()