Forum

SAD Update V1.1.10.2k64 Bug in EMIT for DRIFT within SOL.

5 Posts
1 Users
0 Likes
570 Views
Member
Joined: 3 years ago
Posts: 9
Topic starter  
 
Fixes:
1. The calculation of radiation (emittance, damping, etc.) in DRIFT within SOL was wrongly based on BZ*2 in place of BZ. The effect is multiplied by successive DRIFTs. This bug was noticed by A. Morita This bug has been there since V1.1.6.2k64 on Jan. 10, 2019.
 
2. Functions Re, Im, Conjugate wrongly mapped on to components of list structures other than List. This was before 2016.
 
3. Removed unnecessary parts for debug in Plot.
 
4. Argument adjustments for CaSearch.
 
5. Expressions in parameter replacements with Power with complex numbers and non-number args has been mishandled since a long time ago, before this Git started in Feb. 2016.
 
6. A conflict in HarmonicNumber for Emittance and the function.
 
Changes:
1. Improved convergence of Zeta, PolyLog, etc.

 

 

 


   
ReplyQuote
Topic Tags
Member
Joined: 3 years ago
Posts: 9
Topic starter  

Fixes:
1. A bug in List contraction to violate the internal link between identical patters. It causes seg fault for functions defined with args with identical patterns such as f[x_,x_]. This bug was there before 2016.
This was noticed by Y. Ohnishi.


   
ReplyQuote
Member
Joined: 3 years ago
Posts: 9
Topic starter  

Fixes:

1. VariableRange has not been working since 1.1.9.0.1k64 on Sep. 1, 2020.


   
ReplyQuote
Member
Joined: 3 years ago
Posts: 9
Topic starter  

Changes the initial values of quads from +/-0.1 to +/-0.15 to avoid a matching incomplete in the dispersion suppressor. This issue has been pointed by Tao LU-san.

When this issue has appeared is not clear. Anyway one the optics is matched, there is no problem in the optics itself.


   
ReplyQuote
Member
Joined: 3 years ago
Posts: 9
Topic starter  

Fixes:
1. Avoid generating NaN in CALC.

2. Limit quad strength within a meaningful range (Sqrt[K1 L] < 100).

3. The initial strengths of quads are changed from 0.1 to 0.15 to avoid incomplete matching of the disp. suppressor in script/design_example.sad .

Changes:

1. Make KBFMakePDF generate any format of graphics supported by convert. Now a "." is NOT included in the file name, .pdf is assumed. and added to the file name. Otherwise it is simply transferred to convert.

2. The flag CODPLOT is set during Emittance[], if the option either one of Orbit or Matrix is True. It is reset to the original value あfてrEmittance[].


   
ReplyQuote

Leave a reply

Author Name

Author Email

Title *

Preview 0 Revisions Saved