|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The defining interface for atomic accelerator modeling components.
(for example, quadrupoles, foil, and others). According to the
Element-Algorithm-Probe design pattern, the IElement
exposed objects may interact with physical aspects of the particle
beam which are expressed by the IProbe interface.
These interactions between IElement objects and
IProbe objects are defined by dynamics objects exposing
the IAlgorithm interface.
| Field Summary | |
static double |
LightSpeed
Speed of light in a vaccuum (meters/second) |
static double |
Permeability
Magnetic permeability of free space (Henries/meter) |
static double |
Permittivity
Electric permittivity of free space (Farad/meter) |
static double |
UnitCharge
The unit electric charge (Farads) |
| Method Summary | |
double |
elapsedTime(IProbe probe,
double dblLen)
Returns the time taken for the probe probe to propagate
through a subsection of the element with length dblLen. |
double |
energyGain(IProbe probe,
double dblLen)
Returns energy gain provided by a subsection of the element during the given length for the particular probe. |
void |
initializeFrom(IModelDataSource source)
Initializes component from the supplied data source. |
PhaseMap |
transferMap(IProbe probe,
double dblLen)
Compute the tranfer matrix for subsection of this element of length dblLen for the specified given probe. |
| Methods inherited from interface gov.sns.xal.model.IComponent |
getId, getLength, getType, propagate |
| Field Detail |
public static final double LightSpeed
public static final double UnitCharge
public static final double Permittivity
public static final double Permeability
| Method Detail |
public double elapsedTime(IProbe probe,
double dblLen)
probe to propagate
through a subsection of the element with length dblLen.
probe - propagating probedblLen - length of subsection to propagate through meters
public double energyGain(IProbe probe,
double dblLen)
probe - determine energy gain for this probedblLen - length of subsection to calculate energy gain
public PhaseMap transferMap(IProbe probe,
double dblLen)
throws ModelException
dblLen for the specified given probe. That is, this method should
return the incremental transfer matrix.
dblLen - length of subelementprobe - probe containing parameters for the subsectional transfer matrix
ModelException - unable to compute transfer map#transferMap()
public void initializeFrom(IModelDataSource source)
throws ModelException
source - the data source to initialize from
ModelException - if error initializing from source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||