S
- type of the probe state containing local simulation datapublic static interface ISimulationResults.ISimLocResults<S> extends ISimulationResults
ISimulationResults.ISimEnvResults<S>, ISimulationResults.ISimLocResults<S>
Modifier and Type | Method and Description |
---|---|
PhaseVector |
computeChromAberration(S state)
Compute and return the aberration at the given state location
due to energy spread.
|
PhaseVector |
computeCoordinatePosition(S state)
Returns homogeneous phase space coordinates of something involving the simulation
data.
|
PhaseVector |
computeFixedOrbit(S state)
Computes the fixed orbit about which betatron oscillations occur.
|
PhaseVector computeCoordinatePosition(S state)
Returns homogeneous phase space coordinates of something involving the simulation data. The interpretation is highly dependent upon the context of the data. That is, this quantity is open for interpretation; we can be referring to the position of the design trajectory, an offset, or the location of the beam centroid, whatever "beam" means in the context. The units are meters and radians.
state
- simulation state where parameters are computedPhaseVector computeFixedOrbit(S state)
Computes the fixed orbit about which betatron oscillations occur. This
value is well-defined for rings but could be ambiguous for beam envelope
simulation, especially with regard to method
. The returned
value for some given simulation types are provided below.
#computeCoordinatePosition(ProbeState)
In general the idea is that the returned coordinate z in phase space P6 ≅ R6 × {1} is invariant under some map φ : P6 → P6 representing the dynamics of the system.
computeFixedOrbit()
presented by the trajectory classes for particles, beam envelopes, etc. (This method
has been deprecated and discontinued.) The methods
responded differently depending upon whether the structure producing the simulation
data was from a ring or a linear transport/accelerator structure. This behavior
has now changed, the method produces different results for different simulation
types (e.g., particle, transfer map, envelope, etc.) rather than different simulation
structures.
When the underlying data is produced by a transfer map this method should return the fixed orbit position at the given state. When the underlying data is produced by a particle then the returned value should be the position of the particle at the given state location (for its given initial position). When the underlying data is from a beam envelope then this method should return the centroid location of the beam bunch (for its given initial condition).
You must specify the simulation processing engine for each data type to
use a SimResultsAdaptor
. To reproduce the behavior of the past
Trajectory#computeFixedOrbit(ProbeState)
specify a
simulation data processor for ring
lattices and a CalculationsOnMachines
simulation processor
for linear lattices. This configuration is accommodated in the class
CalculationsOnBeams
exposing this interface.
SimpleSimResultsAdaptor
state
- simulation state where parameters are computedPhaseVector computeChromAberration(S state)
state
- simulation state where parameters are computed