1. 17 Apr, 2013 1 commit
  2. 26 Jun, 2012 1 commit
  3. 04 May, 2012 1 commit
    • Steve Russell's avatar
      Modified distribution so that TRANSVCUTOFF is now active for GUNGAUSSFLATTOPTH and ASTRAFLATTOPTH. · b471aa31
      Steve Russell authored
      If TRANSVCUTOFF is negative or zero, these distribution work the same as before. (The default value for TRANSVCUTOFF is set to -3.0 and the other routine that reads it takes the absolute value.) If it is greater than zero, then sigx_m defines the Gaussian sigmas in x and y and particles greater than the radius defined by TRASNVCUTOFF are excluded. We made this change because SLAC is reporting lowered emittances using Gaussian cut transverse profiles comparted to the usual uniform profiles.
  4. 30 Apr, 2012 1 commit
  5. 28 Apr, 2012 1 commit
  6. 27 Apr, 2012 2 commits
  7. 23 Apr, 2012 1 commit
  8. 22 Apr, 2012 2 commits
  9. 21 Apr, 2012 2 commits
  10. 17 Apr, 2012 1 commit
    • adelmann's avatar
      In OPAL several different TRACK's can performed within one simulation (does... · 06df9215
      adelmann authored
      In OPAL several different TRACK's can performed within one simulation (does not hold for OPAL-cycl yet) this together with 
      the restart capabilities calls for a delicate logic.
      Different tracks, looks like: 
      TRACK, LINE= Injector, BEAM=beam1, MAXSTEPS=100, DT=1.0e-12, ZSTOP=0.14;  
      TRACK,LINE= Injector, BEAM=beam1, MAXSTEPS=50, DT=1.0e-11, ZSTOP=0.20;
      A run with the arguments -restart -1 will continue a track from the last dump in the h5 file. Other the from the last track will
      at the moment certainly fail in the general case. 
      - The h5 attribute TrackStep is not longer available anymore. Two new attributes: LocalTrackStep and GlobalTrackStep are introduced instead.
      - LocalTrackStep refers to the track step in a track command (0 ... 99 and 0... 49 in teh above example), where the GlobalTrackStep is the 
      accumulated number of steps i.e. 0 ... 149, shown in OPAL's screen output. Both local and global track steps are also written into the h5 file 
      in order to properly restart the simulation.
      - The PartBunch object has get/set and increment functions:
          inline void setGlobalTrackStep(long long n) {globalTrackStep_m = n;}
          inline long long getGlobalTrackStep() const {return globalTrackStep_m;}
          inline void setLocalTrackStep(long long n) {localTrackStep_m = n;}
          inline long long getLocalTrackStep() const {return localTrackStep_m;}
          inline void incLocalTrackStep() {localTrackStep_m++; globalTrackStep_m++;)
      - In OPAL-cyc getTrackStep is replace by getLocalTrackStep assuming we only have one TRACK in the simulation.
      - In the ParallelTTracker at the end of the main loop (in execute()) obsolet code is removed (cleanup monitors etc.)
      For details see the diff :-)
      Still some work todo: 
      a) Need to remove: setLastStep in ParallelTTracker.cpp and in general
          getInstance()->getRestartStep() maybe not!
      b) The get/set and increment functions could very well be in an other class!
      c) ParallelPlate tests are broken but maybe also because of other changes need to fix this 
         together with Chuang and Achim
      d) Make sure the restart works in OPAL-cycl we do not have yet a regression test for that.
  11. 16 Apr, 2012 1 commit
  12. 31 Mar, 2012 1 commit
  13. 30 Mar, 2012 1 commit
  14. 19 Mar, 2012 1 commit
  15. 15 Mar, 2012 1 commit