public class IdealMagSextupole extends ThickElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
s_strType
type string identifier for all sextople elements
|
LightSpeed, Permeability, Permittivity, UnitCharge
Constructor and Description |
---|
IdealMagSextupole()
Constructor
|
IdealMagSextupole(java.lang.String strID,
double length)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
elapsedTime(IProbe probe,
double length)
Determine the time taken for the probe to propagate through element.
|
double |
energyGain(IProbe probe,
double length)
Determine energy gain which is zero.
|
PhaseMap |
transferMap(IProbe probe,
double length)
Determine the transfer map of this element which is simply treated as a drift.
|
getLength, initializeFrom, setLength
addCloseElements, applyAlignError, backPropagate, backPropagate, compDriftingTime, compProbeLocation, getAlignX, getAlignY, getAlignZ, getCloseElements, getHardwareNodeId, getId, getPosition, getType, getUID, print, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setPosition, toString
public static final java.lang.String s_strType
public IdealMagSextupole(java.lang.String strID, double length)
strID
- identifier of this objectlength
- magnetic length of the magnetpublic IdealMagSextupole()
public double elapsedTime(IProbe probe, double length)
elapsedTime
in interface IElement
elapsedTime
in class Element
probe
- probe at the entrance to this elementlength
- of the magnetpublic double energyGain(IProbe probe, double length)
energyGain
in interface IElement
energyGain
in class ThickElement
probe
- probe at the entrance to this elementlength
- of the magnetpublic PhaseMap transferMap(IProbe probe, double length) throws PropagationException
transferMap
in interface IElement
transferMap
in class ThickElement
probe
- probe at the entrance to this elementlength
- of the magnetPropagationException
- this should not occurIElement.transferMap(IProbe,double)