Fixes:
1. Now EMIT & Emittance are fully applicable for TRPT including acceleration, with/without WSPAC and INTRA. Included local gammabeta for WSPAC properly.
2. PHOTONS and PhotonList are rewritten to be more generic with misalgnments of components.
3. DRAW and OpticsPlot to work for SIGs. Corrected the scaling.
4. The particle index table (iptbl) in tftrack.f was wrongly coded both for NPARA=1 and <> 1.
5. The longitudinal center position of the calculation of intrabeam has been shifted since a long time ago.
6. The particle coordinates after TrackParticles with NPARA have been wrong since V1.1.8.5k64 +pre 1, Jul 5, 2020.
7. Getting EMITZ from the first MARK has been wrong. It has been getting EMITY!!!
8. A wrapper is made for autos (gdtoa) to correct a bug? of gdtoa.
Added:
1. New parameters EMITXC, EMITYC, EMITZC representing the emittances used for the emittance calculations with MINCOUP as well as the emittance athe end of beam line for TRPT.
Changes:
1. Restructuring temit.f to be consistent with TRPT, WSPAC, INTRA.
2. Moving tmulbs to the module temw.
3. A new tye iaemit is defined to summarize iatr,iacod,iabmi,iamat in emit.
4. Added some new derived types for tsolque/tsolqu.
5. Rearrangements of codes in detail in tracking.
Fixes:
1. There was a bug in calculation of response matrix for descending method in matching, since V1.1.8.5k64 on July 5, 2020.
Fixes:
1. A typo was in Couple.n (ElementValues).
Changes:
1. Rewote tfsetv for spedup using new sad_comp with ievar1 and ievar2.
2. tquade.f and tquase.f are unified wth tquad and tquade, respectively, then have become obsolete.
3. The convence routine for spiral orbit in SOL become seprated.