Package xal.model.elem
Class ChargeExchangeFoil
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThinElement
xal.model.elem.ChargeExchangeFoil
- All Implemented Interfaces:
IComponent
,IElement
This class is used as a location marker in the modeling lattice. Is has no
length and no effect on the dynamics of any probe.
- Author:
- Christopher Allen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
type string identifier for all Marker objectsFields inherited from class xal.model.elem.Element
dblNodeLen, dblNodePos
Fields inherited from interface xal.model.IElement
LIGHT_SPEED, PERMEABILITY, PERMITTIVITY, UNIT_CHARGE
-
Constructor Summary
ConstructorsConstructorDescriptionJavaBean constructor - creates a new uninitialized instance of Marker BE CAREFULChargeExchangeFoil
(String strId) Creates a new instance of Marker -
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 Marker objects- See Also:
-
-
Constructor Details
-
ChargeExchangeFoil
Creates a new instance of Marker- Parameters:
strId
- identifier of this object
-
ChargeExchangeFoil
public ChargeExchangeFoil()JavaBean constructor - creates a new uninitialized instance of Marker BE CAREFUL
-
-
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
-