Package xal.extension.jels.model.elem
Class ThinMagFieldMap
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThinElement
xal.model.elem.ThinElectromagnet
xal.extension.jels.model.elem.ThinMagFieldMap
- All Implemented Interfaces:
IElectromagnet,IComponent,IElement
Magnetic fieldmap 3D implementation.
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@esss.se>
-
Field Summary
Fields inherited from class xal.model.elem.ThinElectromagnet
dblField, enmOrientFields inherited from class xal.model.elem.Element
dblNodeLen, dblNodePosFields inherited from interface xal.model.elem.sync.IElectromagnet
ORIENT_HOR, ORIENT_NONE, ORIENT_VERFields inherited from interface xal.model.IElement
LIGHT_SPEED, PERMEABILITY, PERMITTIVITY, UNIT_CHARGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doubleelapsedTime(IProbe probe) Returns the time taken for the probe to propagate through element.doubleenergyGain(IProbe probe) Calculate the energy gain for this element on the supplied probe.voidinitializeFrom(LatticeElement latticeElement) Conversion method to be provided by the usertransferMap(IProbe probe) Method calculates transfer matrix for the field map for a given data point in the field map.Methods inherited from class xal.model.elem.ThinElectromagnet
getMagField, getOrientation, setMagField, setOrientationMethods inherited from class xal.model.elem.ThinElement
applyErrors, elapsedTime, energyGain, getLength, longitudinalPhaseAdvance, longitudinalPhaseAdvance, transferMapMethods 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, print, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setParent, setPhiX, setPhiY, setPhiZ, setPosition, toString
-
Constructor Details
-
ThinMagFieldMap
public ThinMagFieldMap() -
ThinMagFieldMap
-
-
Method Details
-
initializeFrom
Description copied from class:ThinElectromagnetConversion method to be provided by the user- Specified by:
initializeFromin interfaceIComponent- Overrides:
initializeFromin classThinElectromagnet- Parameters:
latticeElement- the SMF node to convert
-
transferMap
Method calculates transfer matrix for the field map for a given data point in the field map. Drift spaces are calculated separately.- Specified by:
transferMapin classThinElement- Returns:
- Throws:
ModelException
-
energyGain
Description copied from class:ThinElementCalculate the energy gain for this element on the supplied probe.- Specified by:
energyGainin classThinElement- Returns:
- this element's energy gain
-
elapsedTime
Description copied from class:ThinElementReturns the time taken for the probe to propagate through element.- Specified by:
elapsedTimein classThinElement- Parameters:
probe- propagating probe- Returns:
- elapsed time through element Units: seconds
-