[Back]
Block display

SAD Update V1.0.10.8k64. RADTAPER, etc. Name:K. Oide Date:2015/08/06(Thu) 10:25:47 No.10101

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.

Re: SAD Update V1.0.10.8k64. RADTAPER, etc. Name:K. Oide Date:2015/08/06(Thu) 10:29:16 No.10102

The table above looks strange due to the contraction of spaces by the server. What I meant was

Axis: axis[0]
Both : major + minor
All: major + minor + axis[0]
Automatic: major + axis[0]

Re: SAD Update V1.0.10.8.1k64. FRINGE in MULT. Name:K. Oide Date:2015/08/07(Fri) 09:26:05 No.10103

Dear Users,

1. Fixed an issue pointed out in http://afsad1.kek.jp/redmine/issues/230, a mishandling of FRINGE parameter in MULT, The ON/OFF of Maxwellian/Linear fringes of K0/SK0 have been wrong. This bug was there since 1.0.10.5.5a60 as written above.

SAD Update V1.0.10.8.3k64. SORG Name:K. Oide Date:2015/08/24(Mon) 13:24:43 No.10105

Dear Users,

1. A new flag SORG is defined. When it is ON, the origin of path length (LINE["S"]) is set to the component specified by ORG. The default is OFF.

2. Corrected a problem that a matching of path length with variables other than DRIFT has been wrong, unless FFS$NumericalDerivative = True.

SAD Update V1.0.10.8k64. A bug in TrackParticles, etc. Name:K. Oide Date:2015/08/31(Mon) 21:29:25 No.10108

Dear Users,

1. A bug was found & corrected in TrackParticles when NPARA == 1 to cause a memory unmap error. This bug was introducet on around Aug. 20 this year.

2. OpticsPlot becomes compatible with SORG.

Re: SAD Update V1.0.10.8k64. A bug in TrackParticles, etc. Name:K. Oide Date:2015/09/01(Tue) 11:06:28 No.10110

> Dear Users,
>
> 1. A bug was found & corrected in TrackParticles when NPARA == 1 to cause a memory unmap error. This bug was introducet on around Aug. 20 this year.
>
> 2. OpticsPlot becomes compatible with SORG.

One more bug fix:

3. FindRoot did not work for a simple equation.

SAD Update 1.0.10.8.3.1k64a Choose Axis (Packages only) Name:K. Oide Date:2015/09/05(Sat) 13:40:53 No.10114

Dear Users,

1. A glitch in ChooseAxis (envoked by double-clicking of axes of a plot) was cured. Also options for gridlines are added.

- WebForum -