Package xal.extension.jels.model.elem
Class RfqDummyModel
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThickElement
xal.extension.jels.model.elem.RfqDummyModel
- All Implemented Interfaces:
IComponent,IElement
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
-
Field Summary
FieldsFields inherited from class xal.model.elem.Element
dblNodeLen, dblNodePosFields inherited from interface xal.model.IElement
LIGHT_SPEED, PERMEABILITY, PERMITTIVITY, UNIT_CHARGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleelapsedTime(IProbe probe, double dblLen) Returns the time taken for the probeprobeto propagate through a subsection of the element with lengthdblLen.doubleenergyGain(IProbe probe, double dblLen) Return the energy gain of the beamline element over a subsection of the specified length.voidinitializeFrom(LatticeElement latticeElement) Conversion method to be provided by the usertransferMap(IProbe probe, double dblLen) Compute the transfer matrix for subsection of this element of lengthdblLenfor the specified given probe.Methods inherited from class xal.model.elem.ThickElement
applyErrors, getLength, isFirstSubslice, isLastSubslice, longitudinalPhaseAdvance, setLengthMethods 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
-
Field Details
-
STR_TYPEID
- See Also:
-
-
Constructor Details
-
RfqDummyModel
public RfqDummyModel() -
RfqDummyModel
-
-
Method Details
-
elapsedTime
Description copied from class:ElementReturns the time taken for the probeprobeto propagate through a subsection of the element with lengthdblLen.- Specified by:
elapsedTimein interfaceIElement- Specified by:
elapsedTimein classThickElement- Parameters:
probe- determine energy gain for this probedblLen- length of subsection to calculate energy gain for- Returns:
- the elapsed time through section
Units: seconds
-
energyGain
Description copied from class:ThickElementReturn the energy gain of the beamline element over a subsection of the specified length.- Specified by:
energyGainin interfaceIElement- Specified by:
energyGainin classThickElement- Parameters:
probe- probe for which energy gain is to be determineddblLen- subsection length to calculate energyGain for- Returns:
- the value #subEnergyGain(probe)*#getCount()
-
initializeFrom
Description copied from class:ThickElementConversion method to be provided by the user- Specified by:
initializeFromin interfaceIComponent- Overrides:
initializeFromin classThickElement- Parameters:
latticeElement- the SMF node to convert
-
transferMap
Description copied from class:ElementCompute the transfer matrix for subsection of this element of lengthdblLenfor the specified given probe. That is, this method should return the incremental transfer matrix.- Specified by:
transferMapin interfaceIElement- Specified by:
transferMapin classThickElement- Parameters:
probe- probe containing parameters for the sub-sectional transfer matrixdblLen- length of sub-element- Returns:
- transfer map for an element of length dblLen
- Throws:
ModelException- unable to compute transfer map- See Also:
-