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/src/rdmfile.cc

    r11 r23  
    217217                if (prt)
    218218                    printf("%s\n", line);
    219                 sscanf(line, "%lf %lf %lf %lf %lf  %lf %lf", &Cell[i].Elem.PL,
     219                sscanf(line, "%lf %lf %lf %lf %lf", &Cell[i].Elem.PL,
    220220                        &Cell[i].Elem.M->Pirho, &Cell[i].Elem.M->PTx1,
    221                         &Cell[i].Elem.M->PTx2, &Cell[i].Elem.M->PH1, &Cell[i].Elem.M->PH2, &Cell[i].Elem.M->Pgap);
     221                        &Cell[i].Elem.M->PTx2, &Cell[i].Elem.M->Pgap);
    222222                if (Cell[i].Elem.M->Pirho != 0.0)
    223223                    Cell[i].Elem.M->Porder = 1;
Note: See TracChangeset for help on using the changeset viewer.