1. 16 Jun, 2021 1 commit
  2. 14 Jun, 2021 1 commit
  3. 03 Jun, 2020 2 commits
  4. 29 Apr, 2020 1 commit
  5. 23 Apr, 2020 1 commit
  6. 23 Feb, 2020 1 commit
  7. 22 Feb, 2020 4 commits
  8. 19 Aug, 2019 1 commit
  9. 02 May, 2019 1 commit
  10. 20 Dec, 2018 1 commit
  11. 06 Nov, 2018 1 commit
  12. 20 Sep, 2018 1 commit
  13. 19 Jun, 2018 1 commit
  14. 09 Mar, 2018 2 commits
  15. 14 Jan, 2018 1 commit
  16. 07 Jan, 2018 1 commit
  17. 22 Dec, 2017 1 commit
  18. 29 Nov, 2017 2 commits
  19. 09 Oct, 2017 1 commit
  20. 27 Sep, 2017 1 commit
  21. 13 Apr, 2017 1 commit
  22. 11 Apr, 2017 1 commit
    • frey_m's avatar
      AMR: Make OPAL compile again. · 1e12c2cf
      frey_m authored
      - additional OPAL input option: AMR
      
      Modified files:
      
      modified:   src/AbstractObjects/OpalData.cpp
      modified:   src/AbstractObjects/OpalData.h
      modified:   src/Algorithms/AutophaseTracker.h
      modified:   src/Algorithms/BeamBeam3D.cpp
      modified:   src/Algorithms/BeamBeam3D.h
      modified:   src/Algorithms/CavityAutophaser.cpp
      modified:   src/Algorithms/MPSplitIntegrator.cpp
      modified:   src/Algorithms/MPSplitIntegrator.h
      modified:   src/Algorithms/NilTracker.h
      modified:   src/Algorithms/ParallelCyclotronTracker.cpp
      modified:   src/Algorithms/ParallelCyclotronTracker.h
      modified:   src/Algorithms/ParallelTTracker.cpp
      modified:   src/Algorithms/ParallelTTracker.h
      modified:   src/Algorithms/ThickTracker.cpp
      modified:   src/Algorithms/ThickTracker.h
      modified:   src/Algorithms/bet/EnvelopeBunch.cpp
      modified:   src/Algorithms/bet/EnvelopeBunch.h
      modified:   src/BasicActions/Option.cpp
      modified:   src/Classic/AbsBeamline/Collimator.cpp
      modified:   src/Classic/AbsBeamline/Collimator.h
      modified:   src/Classic/AbsBeamline/Component.cpp
      modified:   src/Classic/AbsBeamline/Component.h
      modified:   src/Classic/AbsBeamline/Integrator.h
      modified:   src/Classic/AbsBeamline/Probe.cpp
      modified:   src/Classic/AbsBeamline/Probe.h
      modified:   src/Classic/AbsBeamline/Ring.cpp
      modified:   src/Classic/AbsBeamline/Ring.h
      modified:   src/Classic/AbsBeamline/Septum.cpp
      modified:   src/Classic/AbsBeamline/Septum.h
      modified:   src/Classic/AbsBeamline/Source.cpp
      modified:   src/Classic/AbsBeamline/Stripper.cpp
      modified:   src/Classic/AbsBeamline/Stripper.h
      modified:   src/Classic/Algorithms/AmrPartBunch.cpp
      modified:   src/Classic/Algorithms/AmrPartBunch.h
      modified:   src/Classic/Algorithms/MapIntegrator.cpp
      modified:   src/Classic/Algorithms/MapIntegrator.h
      modified:   src/Classic/Algorithms/OrbitTracker.cpp
      modified:   src/Classic/Algorithms/PBunchDefs.h
      modified:   src/Classic/Algorithms/PartBunch.cpp
      modified:   src/Classic/Algorithms/PartBunch.h
      modified:   src/Classic/Algorithms/PartBunchBase.h
      modified:   src/Classic/Algorithms/PartBunchBase.hpp
      modified:   src/Classic/Algorithms/ThinTracker.cpp
      modified:   src/Classic/Algorithms/ThinTracker.h
      modified:   src/Classic/Algorithms/Tracker.cpp
      modified:   src/Classic/Algorithms/Tracker.h
      modified:   src/Classic/Solvers/CSRIGFWakeFunction.cpp
      modified:   src/Classic/Solvers/CSRIGFWakeFunction.hh
      modified:   src/Classic/Solvers/CSRWakeFunction.cpp
      modified:   src/Classic/Solvers/CSRWakeFunction.hh
      modified:   src/Classic/Solvers/CollimatorPhysics.cpp
      modified:   src/Classic/Solvers/CollimatorPhysics.hh
      modified:   src/Classic/Solvers/GreenWakeFunction.cpp
      modified:   src/Classic/Solvers/GreenWakeFunction.hh
      modified:   src/Classic/Solvers/SurfacePhysicsHandler.hh
      modified:   src/Classic/Solvers/WakeFunction.hh
      modified:   src/Classic/Utilities/Options.cpp
      modified:   src/Classic/Utilities/Options.h
      modified:   src/Distribution/Distribution.cpp
      modified:   src/Distribution/Distribution.h
      modified:   src/Expressions/Expressions.cpp
      modified:   src/Solvers/AmrPoissonSolver.h
      modified:   src/Solvers/FFTBoxPoissonSolver.h
      modified:   src/Solvers/FFTPoissonSolver.h
      modified:   src/Solvers/MGPoissonSolver.h
      modified:   src/Solvers/P3MPoissonSolver.cpp
      modified:   src/Solvers/P3MPoissonSolver.h
      modified:   src/Solvers/PoissonSolver.h
      modified:   src/Structure/BoundaryGeometry.cpp
      modified:   src/Structure/BoundaryGeometry.h
      modified:   src/Structure/DataSink.cpp
      modified:   src/Structure/DataSink.h
      modified:   src/Structure/FieldSolver.cpp
      modified:   src/Structure/FieldSolver.h
      modified:   src/Structure/H5PartWrapper.h
      modified:   src/Structure/H5PartWrapperForPC.cpp
      modified:   src/Structure/H5PartWrapperForPC.h
      modified:   src/Structure/H5PartWrapperForPS.cpp
      modified:   src/Structure/H5PartWrapperForPS.h
      modified:   src/Structure/H5PartWrapperForPT.cpp
      modified:   src/Structure/H5PartWrapperForPT.h
      modified:   src/Track/Track.cpp
      modified:   src/Track/Track.h
      modified:   src/Track/TrackRun.cpp
      modified:   src/Track/TrackSave.cpp
      modified:   src/Track/TrackStart.cpp
      1e12c2cf
  23. 10 Apr, 2017 1 commit
  24. 08 Apr, 2017 1 commit
  25. 17 Mar, 2017 1 commit
  26. 08 Feb, 2017 1 commit
  27. 23 Jul, 2015 1 commit
  28. 18 Oct, 2014 1 commit
  29. 02 Jul, 2013 1 commit
  30. 05 Sep, 2012 1 commit
  31. 27 Apr, 2012 1 commit
  32. 18 Apr, 2012 1 commit
  33. 17 Apr, 2012 2 commits
    • 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;  
       RUN, METHOD = "PARALLEL-T", BEAM = beam1, FIELDSOLVER = Fs1, DISTRIBUTION = Dist1;
      ENDTRACK;
      
      TRACK,LINE= Injector, BEAM=beam1, MAXSTEPS=50, DT=1.0e-11, ZSTOP=0.20;
       RUN, METHOD = "PARALLEL-T", BEAM=beam1, FIELDSOLVER=Fs1;
      ENDTRACK;
      STOP;
      
      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. 
      
      Changes: 
      
      - 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()->getLastStep()
          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.
      
      06df9215
    • kraus's avatar
      Merge branch 'develop' into svn: more pretty printing; change variable names... · 3cd7067d
      kraus authored
      Merge branch 'develop' into svn: more pretty printing; change variable names to comply with (unfortunately missing) coding style (Use descriptive names)
      3cd7067d