public interface IProbe
Modifier and Type | Field and Description |
---|---|
static double |
LightSpeed
Speed of light in vacuum (meters/second)
|
static double |
Permittivity
Electric permittivity of free space (Farad/meter)
|
static double |
UnitCharge
The unit electric charge (Farads)
|
Modifier and Type | Method and Description |
---|---|
IAlgorithm |
getAlgorithm()
Return the dynamics algorithm associated with this probe.
|
IArchive |
getArchive()
Return the
IArchive interface for archiving
this algorithm object. |
double |
getBeta()
Returns the probe velocity normalized to the speed of light.
|
java.lang.String |
getCurrentElement()
Returns the current lattice element of the probe.
|
java.lang.String |
getCurrentHardwareId()
Returns the identifier of the hardware being modeling
by the current element.
|
double |
getGamma()
Returns the relativistic parameter corresponding to the probe
velocity.
|
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
|
java.lang.String |
getSpeciesName()
returns the species name
|
double |
getSpeciesRestEnergy()
Returns the rest energy of particle species
|
double |
getTime()
Return the time elapsed since the probe began propagation.
|
void |
initialize()
Initialize the probe for propagation.
|
void |
performPostProcessing()
Perform any required post processing upon completion of algorithm processing.
|
void |
setCurrentElement(java.lang.String id)
Set the current lattice element.
|
void |
setCurrentHardwareId(java.lang.String strSmfId)
Sets the string identifier of the hardware node modeled by
the current element.
|
void |
setKineticEnergy(double dblW)
Set the current kinetic energy of the probe.
|
void |
setPosition(double dblPos)
Set the current position of the probe along the beamline.
|
void |
setSpeciesCharge(double dblQ)
Set the species charge.
|
void |
setSpeciesRestEnergy(double m)
Set the species rest energy.
|
void |
setTime(double dblTime)
Set the current time since the probe began propagating
|
void |
update()
Update all data and connections.
|
static final double LightSpeed
static final double UnitCharge
static final double Permittivity
java.lang.String getSpeciesName()
double getSpeciesCharge()
double getSpeciesRestEnergy()
java.lang.String getCurrentElement()
String
id of current lattice elementjava.lang.String getCurrentHardwareId()
double getPosition()
double getTime()
double getKineticEnergy()
double getBeta()
double getGamma()
void setCurrentElement(java.lang.String id)
id
- String
id of current lattice element.void setCurrentHardwareId(java.lang.String strSmfId)
strSmfId
- hardware ID of the current modeling elementvoid setPosition(double dblPos)
dblPos
- new probe position (meters)void setTime(double dblTime)
dblTime
- new probe current time in secondsvoid setKineticEnergy(double dblW)
dblW
- new probe kinetic energy (electron-volts)getKineticEnergy()
void setSpeciesCharge(double dblQ)
dblQ
- new species charge (e.u.)getSpeciesCharge()
void setSpeciesRestEnergy(double m)
m
- new species rest energy (eV)getSpeciesRestEnergy()
void initialize() throws ModelException
ModelException
- an error occurred while trying to initialize the probevoid update() throws ModelException
ModelException
- an error occurred while trying to update the probevoid performPostProcessing()
IAlgorithm getAlgorithm()
IArchive getArchive()
IArchive
interface for archiving
this algorithm object.