Package xal.model
Class RingModel
java.lang.Object
xal.model.elem.ElementSeq
xal.model.RingModel
- All Implemented Interfaces:
Iterable<IComponent>
,IComponent
,IComposite
Deprecated.
This class is never used
- Author:
- Christopher K. Allen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.default number of element positions to reserve in list arraystatic final String
Deprecated.the string type identifier for all Lattice objects -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new, empty instance ofRingModel
.Deprecated.Creates a new instance ofRingModel
with specified string identifier.Deprecated.Creates a new instance ofRingModel
and reserves space for a szReserve length lattice. -
Method Summary
Modifier and TypeMethodDescriptionvoid
backPropagate
(IProbe probe) Deprecated.Back propagation of a probe through the lattice.compClosedOrbit
(SynchronousProbe probe) Deprecated.Nothing is done here.Deprecated.Compute the one-turn map of the ring for a particularTransferMapProbe
describing the beam at injection.Deprecated.Get the author of the lattice definitiongetDate()
Deprecated.Get the date of lattice descriptionDeprecated.Get the version of the latticevoid
Deprecated.Propagate a probe through the lattice.void
Deprecated.Sets the author tagvoid
Deprecated.Sets the date tagvoid
setVersion
(String strVersion) Deprecated.Sets the version tagMethods inherited from class xal.model.elem.ElementSeq
addChild, backPropagate, childIterator, compDependParams, concatenateEquals, getAlignX, getAlignY, getAlignZ, getAllElements, getChild, getChildCount, getComments, getElementList, getForwardCompList, getHardwareNodeId, getId, getLatticePosition, getLeafCount, getLength, getParent, getPhiX, getPhiY, getPhiZ, getPosition, getReverseCompList, getType, globalBackIterator, globalIterator, initializeFrom, iterator, localBackIterator, localIterator, print, propagate, remove, setAlign, setAlignX, setAlignY, setAlignZ, setComments, setCompList, setDirty, setHardwareNodeId, setId, setParent, setPhiX, setPhiY, setPhiZ, toString, toStringLegacy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
SIZE_DEF_RESERVE
public static final int SIZE_DEF_RESERVEDeprecated.default number of element positions to reserve in list array- See Also:
-
TYPE
Deprecated.the string type identifier for all Lattice objects- See Also:
-
-
Constructor Details
-
RingModel
public RingModel()Deprecated.Creates a new, empty instance ofRingModel
. -
RingModel
Deprecated.Creates a new instance ofRingModel
with specified string identifier.- Parameters:
strId
- identifier of the lattice
-
RingModel
Deprecated.Creates a new instance ofRingModel
and reserves space for a szReserve length lattice.- Parameters:
strId
- identifier of the latticeszReserve
- number of Element spaces to reserve
-
-
Method Details
-
setVersion
Deprecated.Sets the version tag- Parameters:
strVersion
- revision number of lattice
-
setAuthor
Deprecated.Sets the author tag- Parameters:
strAuthor
- author of lattice description
-
setDate
Deprecated.Sets the date tag- Parameters:
strDate
- date string of lattice description
-
propagate
Deprecated.Propagate a probe through the lattice. The probe is first initialized by calling theinitialize()
method of the probe then updated by calling theupdate()
method in order to save the initial state of the probe into its trajectory.- Specified by:
propagate
in interfaceIComponent
- Specified by:
propagate
in interfaceIComposite
- Overrides:
propagate
in classElementSeq
- Parameters:
probe
- the state of the probe will be advance using the elements dynamics- Throws:
ModelException
- an error occurred while advancing the probe state- See Also:
-
backPropagate
Deprecated.Back propagation of a probe through the lattice. The probe is first initialized by calling the
initialize()
method of the probe then updated by calling theupdate()
method in order to save the initial state of the probe into its trajectory.NOTES: CKA
· Support for backward propagation February, 2009.
· You must use the proper algorithm object for this method to work correctly!- Specified by:
backPropagate
in interfaceIComponent
- Overrides:
backPropagate
in classElementSeq
- Parameters:
probe
- the state of the probe will be advance using the elements dynamics- Throws:
ModelException
- an error occurred while advancing the probe state- Since:
- Feb 27, 2009
- See Also:
-
getVersion
Deprecated.Get the version of the lattice- Returns:
- lattice revision number
-
getAuthor
Deprecated.Get the author of the lattice definition- Returns:
- lattice author
-
getDate
Deprecated.Get the date of lattice description- Returns:
- lattice model date
-
compOneTurnMatrix
Deprecated.Compute the one-turn map of the ring for a particularTransferMapProbe
describing the beam at injection.- Parameters:
probe
- probe with injection properties of the beam- Returns:
- one-turn map of ring for particular probe
- Throws:
ModelException
- error in ring propagation of the probe
-
compClosedOrbit
Deprecated.Nothing is done here.
Compute the closed-orbit correlation matrix of the ring for a particular injection probe (of type
TransferMapProbe
).- Parameters:
probe
-- Returns:
- This method simply returns the zero matrix
-