-
Notifications
You must be signed in to change notification settings - Fork 39
PTC_TWISS
piotrskowronski edited this page Aug 20, 2018
·
11 revisions
PTC_TWISS tracks A_ map A_ is a map that transforms phase space shapes (in purely linear case, of ellipses) into circles.
The routine can is made of the following parts
- Fetching of input parameters, options, switches and according configuration of PTC and of internal flags. Some not obvious points:
- Choice if the transfer map needs to be tracked together with A_, defined by flag
doTMtrack
. In a very common case of a ring with no initial parameters provided, the one turn map needs to be tracked anyway to find the closed solution. In this case the routine buffers the results for every element not to duplicate this time consuming operation.
- Choice if the transfer map needs to be tracked together with A_, defined by flag
- A_ Initialization
- Tracking of A_, that can be element wise or integration node wise, and at each step:
-
Calculation of extra parameters delivered to special tables and data structures
-
Production of summary tables with global parameters, depending on value of the flag
isRing
.