[Back]
Block display

SAD Update V1.1.0.5k64 A bug in Emittance[]/EMIT. Name:K. Oide Date:2017/04/09(Sun) 17:44:49 No.237

1. A bug was found in emittance calculation (trade.f) by our Chinese colleagues in IHEP. The radiation damping matrix was wrong for dU/dy. This bug was created by
V1.0.10.4a06 in Jan. 2010, even before k64. This affects all magnets
when d(v \times B)/dy, or d(v \times B)/dx for MULT or QUAD within SOL
with K1<0, are nonzero. QUADs outside of SOL are OK. This bug only
affects EMIT/Emittance[] and has no direct effects on tracking/CALC/GO.

2. A bug in FItFunction was fixed when there is no fit conditions given
by regular fit commands.

3. File mapping is applied for input files by OpeRead/Get/GetMAIN. Thus
no limitation on the length of an input line.

Re: SAD Update V1.1.0.5k64 A bug in Emittance[]/EMIT. Name:K. Oide Date:2017/04/11(Tue) 15:54:54 No.241

One more change:

4. There has been an issue when tracking is done without CALC, as the local momentum is not yet calculated. It is partially fixed, but not perfect, since a change of parameters for CAVI is not always detected. Please do CALC before tracking if parameters that affect the local momentum are changed.

Re: SAD Update V1.1.0.5k64 A bug in Emittance[]/EMIT. Name:Akio Morita Date:2017/04/13(Thu) 11:32:59 No.245

> 1. A bug was found in emittance calculation (trade.f) by our Chinese colleagues in IHEP. The radiation damping matrix was wrong for dU/dy. This bug was created by
> V1.0.10.4a06 in Jan. 2010, even before k64. This affects all magnets
> when d(v \times B)/dy, or d(v \times B)/dx for MULT or QUAD within SOL
> with K1<0, are nonzero. QUADs outside of SOL are OK. This bug only
> affects EMIT/Emittance[] and has no direct effects on tracking/CALC/GO.
>
修正したradi(6.3)の項がradi(6.1)の項と同一スカラ起源の微分だとすると、
符号間違いの表式が最初に現れたのは、src/trade.f revision 1.20では無く
revision 1.13(2009.12.06 02:36:18 UTC/V1.0.10.3.9a01)と思われます

また、SOL領域外のQUADでもあってもoffaxisビームの場合は、影響があるケースが
存在できるように見えます

SAD Update V1.1.0.6k64 Several bug fixes. Name:K. Oide Date:2017/05/02(Tue) 21:43:54 No.283

1. A confusion in Check to mishandle Throw or Goto is corrected. If
uncatched Throw or Goto was detected in the first argument of Catch,
they are now handled as an error.

2. A bug to store a wrong value for the phase advances with CALC6D was
corrected.

3. In MAIN, the scheme to read machine errors as a list in a form
enclosed in () has been abandoned. Now expressions starting with ( are
handled properly.

Re: SAD Update V1.1.0.6k64 Several bug fixes. Name:K. Oide Date:2017/05/06(Sat) 21:23:32 No.293

Dear Users,

1. One more bug was found/fixed: In DynamicApertureSurvey, it crashed when the number of particles to be tracked is larger than the value of NP, whose default is 1,000.

- WebForum -