Package xal.model.elem
Class IdealMagOctupole
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThinElement
xal.model.elem.IdealMagOctupole
- All Implemented Interfaces:
IComponent
,IElement
Octupole magnets element
Created by Hiroyuki Sako on 11/30/07.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
type string identifier for all octupole elementsFields inherited from class xal.model.elem.Element
dblNodeLen, dblNodePos
Fields inherited from interface xal.model.IElement
LIGHT_SPEED, PERMEABILITY, PERMITTIVITY, UNIT_CHARGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
elapsedTime
(IProbe probe) Returns the time taken for the probe to propagate through element.double
energyGain
(IProbe probe) Returns energy gain which is zero.protected PhaseMap
transferMap
(IProbe probe) Returns the transfer map of this element which is the identity.Methods inherited from class xal.model.elem.ThinElement
applyErrors, elapsedTime, energyGain, getLength, longitudinalPhaseAdvance, longitudinalPhaseAdvance, transferMap
Methods inherited from class xal.model.elem.Element
addCloseElements, backPropagate, backPropagate, compDriftingTime, compProbeLocation, getAlignX, getAlignY, getAlignZ, getCloseElements, getHardwareNodeId, getId, getLatticePosition, getNodeLen, getNodePos, getParent, getPhiX, getPhiY, getPhiZ, getPosition, getType, getUID, initializeFrom, print, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setParent, setPhiX, setPhiY, setPhiZ, setPosition, toString
-
Field Details
-
TYPE
type string identifier for all octupole elements- See Also:
-
-
Constructor Details
-
IdealMagOctupole
Constructor- Parameters:
strId
- identifier of this object
-
IdealMagOctupole
public IdealMagOctupole()Constructor
-
-
Method Details
-
elapsedTime
Returns the time taken for the probe to propagate through element.- Specified by:
elapsedTime
in classThinElement
- Parameters:
probe
- propagating probe- Returns:
- the value zero
-
energyGain
Returns energy gain which is zero.- Specified by:
energyGain
in classThinElement
- Parameters:
probe
- dummy argument- Returns:
- returns zero
-
transferMap
Returns the transfer map of this element which is the identity.- Specified by:
transferMap
in classThinElement
- Parameters:
probe
- dummy argument- Returns:
- the identity phase map
- Throws:
PropagationException
- this should not occur
-