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, 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, double dblLen) Returns the time taken for the probeprobe
to propagate through a subsection of the element with lengthdblLen
.double
energyGain
(IProbe probe, double dblLen) Return the energy gain of the beamline element over a subsection of the specified length.void
initializeFrom
(LatticeElement latticeElement) Conversion method to be provided by the usertransferMap
(IProbe probe, double dblLen) Compute the transfer matrix for subsection of this element of lengthdblLen
for the specified given probe.Methods inherited from class xal.model.elem.ThickElement
applyErrors, getLength, isFirstSubslice, isLastSubslice, longitudinalPhaseAdvance, setLength
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, 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:Element
Returns the time taken for the probeprobe
to propagate through a subsection of the element with lengthdblLen
.- Specified by:
elapsedTime
in interfaceIElement
- Specified by:
elapsedTime
in 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:ThickElement
Return the energy gain of the beamline element over a subsection of the specified length.- Specified by:
energyGain
in interfaceIElement
- Specified by:
energyGain
in 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:ThickElement
Conversion method to be provided by the user- Specified by:
initializeFrom
in interfaceIComponent
- Overrides:
initializeFrom
in classThickElement
- Parameters:
latticeElement
- the SMF node to convert
-
transferMap
Description copied from class:Element
Compute the transfer matrix for subsection of this element of lengthdblLen
for the specified given probe. That is, this method should return the incremental transfer matrix.- Specified by:
transferMap
in interfaceIElement
- Specified by:
transferMap
in 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:
-