No. | : 10101 |
Title | : SAD Update V1.0.10.8k64. RADTAPER, etc. |
Date | : 2015/08/06(Thu) 10:25:47 |
Name | : K. Oide |
URL | : |
Dear Users,
These changes are for k64, but hope to be included in all versions later.
1. A new flag RADTAPER is defined to enable "automatic tapering", which scales the strength of all magnets except solenoids along with the local energy deviation of the closed orbit during the tracking and the emittance calculation. To use that, first the 6D closed orbit must be calculated and stored in Twiss["DDP"] by EMIT or Emittance[] with flags
RADCOD; RFSW; CODPLOT; RADTAPER;
Then do tracking with RAD . Please not that since either CALC or GO overwrites Twiss["DDP"] by 4D orbit, so do not do CALC or GO after EMIT.
RADTAPER defaults OFF.
2. The option GridLines in plots now can take new values Axis, Axis[z], All . Axis draws a straight line at zero if it is in the plot range. Axis[z] draws a straight line at z, if it is in the plot range. All draws all of Major, Minor, Axis.
These values can be put in a list.
major minor axis
Minor *
Major *
Both * *
Axis *
All * *
Automatic * *
None
3. Some sqrt's in the code are replaced with hopefully-more-efficient routines, but the effect will be minor.
- WebForum -