Ignore:
Timestamp:
Dec 6, 2013, 5:12:43 PM (10 years ago)
Author:
zhangj
Message:

Clean version of Tracy: SoleilVersion at the end of 2011.Use this clean version to find the correct dipole fringe field to have the correct FMAP and FMAPDP of ThomX. Modified files: tpsa_lin.cc, soleillib.cc, prtmfile.cc, rdmfile.cc, read_script.cc, physlib.cc, tracy.cc, t2lat.cc, t2elem.cc, naffutils.cc in /tracy/tracy/src folder; naffutils.h, tracy_global.h, physlib.h, tracy.h, read_script.h, solielilib.h, t2elem.h in /tracy/tracy.inc folder; soltracy.cc in tracy/tools folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/tracy3-3.10.1b/tracy/tracy/inc/read_script.h

    r11 r23  
    3737   long  _PrintTrack_nmax;
    3838   
    39    //start track particle coordinates; PrintTrackFlag
    40    char _PrintTrackElem_track_file[max_str];
    41    double _PrintTrackElem_x, _PrintTrackElem_px, _PrintTrackElem_y,
    42           _PrintTrackElem_py, _PrintTrackElem_delta, _PrintTrackElem_ctau;
    43    long  _PrintTrackElem_nelem1, _PrintTrackElem_nelem2;
    44    
    45    
    4639   //twiss file
    4740   char _PrintTwiss_twiss_file[max_str];
     
    6558   long _FmapFlag_nxpoint, _FmapFlag_nypoint, _FmapFlag_nturn;
    6659   double _FmapFlag_xmax, _FmapFlag_ymax, _FmapFlag_delta;
    67    bool _FmapFlag_diffusion;
    68    bool _FmapFlag_printloss;
    69    
     60   bool _FmapFlag_diffusion;
    7061 
    7162 //extern bool FmapdpFlag;
     
    7364   long _FmapdpFlag_nxpoint, _FmapdpFlag_nepoint, _FmapdpFlag_nturn;
    7465   double _FmapdpFlag_xmax, _FmapdpFlag_emax, _FmapdpFlag_z;
    75    bool _FmapdpFlag_diffusion;
    76    bool _FmapdpFlag_printloss;
     66   bool _FmapdpFlag_diffusion; 
    7767
    7868   
     
    120110   _FmapFlag_nxpoint=31L, _FmapFlag_nypoint=21L, _FmapFlag_nturn=516L;
    121111   _FmapFlag_xmax=0.025, _FmapFlag_ymax=0.005, _FmapFlag_delta=0.0;
    122    _FmapFlag_diffusion = true, _FmapFlag_printloss = false;
     112   _FmapFlag_diffusion = true;
    123113
    124114/*fmap for off momentum particle*/
     
    126116 _FmapdpFlag_nxpoint=31L, _FmapdpFlag_nepoint=21L, _FmapdpFlag_nturn=516L;
    127117 _FmapdpFlag_xmax=0.025, _FmapdpFlag_emax=0.005, _FmapdpFlag_z=0.0;
    128  _FmapdpFlag_diffusion = true, _FmapdpFlag_printloss = false;
    129  
     118 _FmapdpFlag_diffusion = true;                 
     119
    130120/* tune shift with amplitude*/
    131121 strcpy(_AmplitudeTuneShift_nudx_file,"nudx.out");
     
    172162
    173163/***** file names************/
    174 extern char    lat_file[max_str];
    175 
    176 //files with multipole errors; for soleil lattice
     164 //files with multipole errors; for soleil lattice
    177165 extern char fic_hcorr[max_str],fic_vcorr[max_str], fic_skew[max_str];
    178166 extern char multipole_file[max_str];
Note: See TracChangeset for help on using the changeset viewer.