[Go to BBS]
All articles in a thread
SubjectSAD Update V1.0.10.3.9a01 Things to do with SOL.
Article No756
Date: 2009/12/06(Sun) 11:55:39
ContributorK. Oide
Dear Users,

The next version will include:

(a) Check amplitude in tracking inside of SOL region as well as outside.

(b) Radiation by BZ with orbit angle in SOL is included in the emittance calculation with some limitations:

b1) Accuracy in DRIFT is limited as it is not subdivided.
b2) The fringe field of BZ is not taken into account yet.
b3) Radiation in tracking is not necessarily consistent to EMIT.

SubjectRe: SAD Update V1.0.10.3.9a01 Things to do with SOL.
Article No757
Date: 2009/12/09(Wed) 13:45:36
ContributorAkio Morita
I found varying number of arguments at calling tdrife() from src/tcave.f

I propose follwoing patch.
--- src/tcave.f.orig       2009-12-07 12:02:17.000000000 +0900
+++ src/tcave.f 2009-12-09 13:40:39.000000000 +0900
@@ -149,7 +149,7 @@
         enddo
         if(al .gt. 0.d0)then
           call tdrife(trans,cod,beam,aln*.5d0,
-     $         0.d0,0.d0,0.d0,.true.,calpol,irad,ld)
+     $         0.d0,0.d0,0.d0,.true.,.false.,calpol,irad,ld)
           call tgetdvh(dgb,dv)
           cod(5)=cod(5)+dv*aln*.5d0
 c          write(*,*)'tcave-2 ',fringe,mfring
@@ -161,7 +161,7 @@
       else
         if(al .gt. 0.d0)then
           call tdrife(trans,cod,beam,al,
-     $         0.d0,0.d0,0.d0,.true.,calpol,irad,ld)
+     $         0.d0,0.d0,0.d0,.true.,.false.,calpol,irad,ld)
         endif
       endif
       if(dhg .ne. 0.d0)then

SubjectRe: SAD Update V1.0.10.4a09 Aperture check within SOL
Article No771
Date: 2010/01/31(Sun) 21:12:38
ContributorK. Oide
Dear Users,

1. A bug was found in the amplitude check within SOL in tracking. This was introduced by V1.0.10.3.9a01 (see above).