public class TwissTrackerPmq extends TwissTracker
This class is a super class of the TwissTracker
class meant to
handle the special case of IdealPermMagQuad
elements. There really
is not much extra to do here, just look for the exception element and adjust the
number of integration steps accordingly.
See the TwissTracker
class for a complete description of the
functionality
TwissTracker
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<TwissProbe> |
s_clsProbeType
probe type recognized by this algorithm
|
static int |
s_intVersion
current algorithm version
|
static java.lang.String |
s_strTypeId
string type identifier for algorithm
|
ATTR_EMITGROWTH, ATTR_SCHEFF, ATTR_STEPSIZE, ATTR_USESPACECHARGE, LABEL_OPTIONS, TBL_LBL_TWISSTRACKER, TBL_PRIM_KEY_NAME
ATTRTAG_DEBUG, ATTRTAG_RFGAP_PHASE, ATTRTAG_TYPE, ATTRTAG_UPDATE, ATTRTAG_VER, NODETAG_ALG, NODETAG_TRACKER, UPDATE_ALWAYS, UPDATE_CUSTOM, UPDATE_ENTRANCE, UPDATE_ENTRANCEANDEXIT, UPDATE_EXIT
Constructor and Description |
---|
TwissTrackerPmq()
Creates a new instance of TwissTrackerPmq
|
TwissTrackerPmq(TwissTrackerPmq sourceTracker)
Copy constructor for TwissTrackerPmq
|
Modifier and Type | Method and Description |
---|---|
TwissTrackerPmq |
copy()
Creates a deep copy of TwissTrackerPmq
|
void |
doPropagation(IProbe probe,
IElement elem)
Propagates the probe through the element.
|
advanceState, getEmittanceGrowthFlag, getSpaceChargeFlag, getStepSize, load, load, save, setEmittanceGrowth, setStepSize, setUseSpacecharge
advanceProbe, getDebugMode, getElemPosition, getProbeType, getProbeUpdatePolicy, getStartElementId, getStopElementId, getType, getVersion, initialize, isStopElementIncluded, newFromEditContext, newFromEditContext, newInstance, propagate, registerProbeType, retractProbe, setDebugMode, setElemPosition, setIncludeStopElement, setProbeUpdatePolicy, setRfGapPhaseCalculation, setStartElementId, setStopElementId, unsetStartElementId, unsetStopElementId, useRfGapPhaseCalculation, validElement, validProbe
public static final java.lang.String s_strTypeId
public static final int s_intVersion
public static final java.lang.Class<TwissProbe> s_clsProbeType
public TwissTrackerPmq()
public TwissTrackerPmq(TwissTrackerPmq sourceTracker)
sourceTracker
- Tracker that is being copiedpublic TwissTrackerPmq copy()
copy
in interface IAlgorithm
copy
in class TwissTracker
public void doPropagation(IProbe probe, IElement elem) throws ModelException
doPropagation
in class TwissTracker
probe
- probe to propagateelem
- element acting on probeModelException
- invalid probe type or error in advancing probeTracker.validProbe(IProbe)