Subject | : Re^3: Matching with SOL element |
Date | : 2010/03/24(Wed) 01:44:24 |
Contributor | : Akio Morita |
> Probably i do something wrong, but any attepmts to use solenoids for mathching of any twiss parameters cause mistakes in a SAD work.
>
> =======================
> TYPE SOL51 Q8;
> ;
> SOL SOL51 =(BZ =5.8368899999999995 BOUND =1 GEO =1 )
> ;
> QUAD Q8 =(L =.06 K1 =.20017699502014782 DISFRIN =1 )
> ;
> FREE Q8 SOL51;
> FIT;
> NX 4.1;
> GO;
> tweigh @ src/tffsmatch.f: Invoked with invalid ltyp= 20 (FIXME)
> ======================
>
> Older version of SAD (1.0.10.1b) gives just
> ***qtwiss---> Overflow
>
Errata is that tweigh() function is not defined for SOL elements.
I'll fix this errata in future revision.
Planed Fix
A) Define tweight() for SOL elements
B) Define default value for tweight()