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 intDeprecated.default number of element positions to reserve in list arraystatic final StringDeprecated.the string type identifier for all Lattice objects -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new, empty instance ofRingModel.Deprecated.Creates a new instance ofRingModelwith specified string identifier.Deprecated.Creates a new instance ofRingModeland reserves space for a szReserve length lattice. -
Method Summary
Modifier and TypeMethodDescriptionvoidbackPropagate(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 particularTransferMapProbedescribing the beam at injection.Deprecated.Get the author of the lattice definitiongetDate()Deprecated.Get the date of lattice descriptionDeprecated.Get the version of the latticevoidDeprecated.Propagate a probe through the lattice.voidDeprecated.Sets the author tagvoidDeprecated.Sets the date tagvoidsetVersion(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, toStringLegacyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 ofRingModelwith specified string identifier.- Parameters:
strId- identifier of the lattice
-
RingModel
Deprecated.Creates a new instance ofRingModeland 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:
propagatein interfaceIComponent- Specified by:
propagatein interfaceIComposite- Overrides:
propagatein 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:
backPropagatein interfaceIComponent- Overrides:
backPropagatein 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 particularTransferMapProbedescribing 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
-