public class RingModel extends ElementSeq
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
s_strType
the string type identifier for all Lattice objects
|
static int |
s_szDefReserve
default number of element positions to reserve in list array
|
Constructor and Description |
---|
RingModel()
Creates a new, empty instance of
RingModel . |
RingModel(java.lang.String strId)
Creates a new instance of
RingModel with specified string
identifier. |
RingModel(java.lang.String strId,
int szReserve)
Creates a new instance of
RingModel and reserves space for a
szReserve length lattice. |
Modifier and Type | Method and Description |
---|---|
void |
backPropagate(IProbe probe)
Back propagation of a probe through the lattice.
|
CovarianceMatrix |
compClosedOrbit(SynchronousProbe probe)
Nothing is done here.
|
PhaseMap |
compOneTurnMatrix(TransferMapProbe probe)
Compute the one-turn map of the ring for a particular
TransferMapProbe describing the beam at injection. |
java.lang.String |
getAuthor()
Get the author of the lattice definition
|
java.lang.String |
getDate()
Get the date of lattice description
|
java.lang.String |
getVersion()
Get the version of the lattice
|
void |
propagate(IProbe probe)
Propagate a probe through the lattice.
|
void |
setAuthor(java.lang.String strAuthor)
Sets the author tag
|
void |
setDate(java.lang.String strDate)
Sets the date tag
|
void |
setVersion(java.lang.String strVersion)
Sets the version tag
|
addChild, backPropagate, childIterator, concatenateEquals, getAllElements, getChild, getChildCount, getComments, getCompList, getElementList, getHardwareNodeId, getId, getLeafCount, getLength, getReverseCompList, getType, globalBackIterator, globalIterator, initializeFrom, localBackIterator, localIterator, print, propagate, remove, setComments, setCompList, setHardwareNodeId, setId, toString
public static final int s_szDefReserve
public static final java.lang.String s_strType
public RingModel()
RingModel
.public RingModel(java.lang.String strId)
RingModel
with specified string
identifier.strId
- identifier of the latticepublic RingModel(java.lang.String strId, int szReserve)
RingModel
and reserves space for a
szReserve length lattice.strId
- identifier of the latticeszReserve
- number of Element spaces to reservepublic void setVersion(java.lang.String strVersion)
strVersion
- revision number of latticepublic void setAuthor(java.lang.String strAuthor)
strAuthor
- author of lattice descriptionpublic void setDate(java.lang.String strDate)
strDate
- date string of lattice descriptionpublic void propagate(IProbe probe) throws ModelException
initialize()
method of the probe then updated by calling the
update()
method in order to save the initial state of the probe
into its trajectory.propagate
in interface IComponent
propagate
in interface IComposite
propagate
in class ElementSeq
probe
- the state of the probe will be advance using the elements dynamicsModelException
- an error occurred while advancing the probe stateIComponent.propagate(IProbe)
public void backPropagate(IProbe probe) throws ModelException
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 the
update()
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!
backPropagate
in interface IComponent
backPropagate
in class ElementSeq
probe
- the state of the probe will be advance using the elements dynamicsModelException
- an error occurred while advancing the probe stateElementSeq.backPropagate(IProbe)
public java.lang.String getVersion()
public java.lang.String getAuthor()
public java.lang.String getDate()
public PhaseMap compOneTurnMatrix(TransferMapProbe probe) throws ModelException
TransferMapProbe
describing the beam at injection.probe
- probe with injection properties of the beamModelException
- error in ring propagation of the probepublic CovarianceMatrix compClosedOrbit(SynchronousProbe probe)
Nothing is done here.
Compute the closed-orbit correlation matrix of the ring for a particular
injection probe (of type TransferMapProbe
).
probe
-