1. 13 Jan, 2015 3 commits
  2. 12 Jan, 2015 6 commits
    • gsell's avatar
      fixes to find boost · ee127564
      gsell authored
      ee127564
    • gsell's avatar
      find package boost added to main CMakeList.txt · f302c2c1
      gsell authored
      f302c2c1
    • gsell's avatar
      cleanup main CMakeList.txt · 504c4bc8
      gsell authored
      504c4bc8
    • adelmann's avatar
      Das std::fill funktioniert nicht auf IBM BG: · 1476bf88
      adelmann authored
      /gpfs/DDNgpfs1/bekas/YVES/local/bgclang/r209570-20140527/libc++/include/algorithm:2073:5: error: no matching function for call to '__fill'
          _VSTD::__fill(__first, __last, __value_, typename iterator_traits<_ForwardIterator>::iterator_category());
          ^~~~~~~~~~~~~
      /gpfs/DDNgpfs1/bekas/YVES/local/bgclang/r209570-20140527/libc++/include/__config:348:15: note: expanded from macro '_VSTD'
      #define _VSTD std::_LIBCPP_NAMESPACE
                    ^
      /gpfs/DDNgpfs1/bekas/YVES/work/OPT/opal/src/Algorithms/ParallelTTracker.cpp:2098:10: note: in instantiation of function template specialization 'std::__1::fill<ParticleAttribIterator<double>, double>' requested
            here
          std::fill(itsBunch->dt.begin(), itsBunch->dt.end(), itsBunch->getdT());
               ^
      /gpfs/DDNgpfs1/bekas/YVES/local/bgclang/r209570-20140527/libc++/include/algorithm:2054:1: note: candidate function [with _ForwardIterator = ParticleAttribIterator<double>, _Tp = double] not viable: no known
            conversion from 'typename iterator_traits<ParticleAttribIterator<double> >::iterator_category' (aka 'std::__1::input_iterator_tag') to 'std::__1::forward_iterator_tag' for 4th argument
      __fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value_, forward_iterator_tag)
      ^
      /gpfs/DDNgpfs1/bekas/YVES/local/bgclang/r209570-20140527/libc++/include/algorithm:2063:1: note: candidate function [with _RandomAccessIterator = ParticleAttribIterator<double>, _Tp = double] not viable: no known
            conversion from 'typename iterator_traits<ParticleAttribIterator<double> >::iterator_category' (aka 'std::__1::input_iterator_tag') to 'std::__1::random_access_iterator_tag' for 4th argument
      __fill(_RandomAccessIterator __first, _RandomAccessIterator __last, const _Tp& __value_, random_access_iterator_tag)
      ^
      1476bf88
    • adelmann's avatar
      propper initialization · e3b2058b
      adelmann authored
      e3b2058b
    • adelmann's avatar
      fix warnings · dddd88d6
      adelmann authored
      dddd88d6
  3. 09 Jan, 2015 6 commits
  4. 08 Jan, 2015 3 commits
  5. 07 Jan, 2015 3 commits
    • adelmann's avatar
      minor correction, still not working in parallel · 96028ecb
      adelmann authored
      96028ecb
    • adelmann's avatar
      Add functionality to query for the minimum number of particles on a local node. · 05b586f9
      adelmann authored
      In case this goes equal or below 1 we stop tracking the bunch and integrating 
      in the material until we have in minimum more than one particle on all nodes.
      
      Works for one core (obviously) and the regression test Degarder-1, degrades a 72 MeV beam to 50.200 MeV.
      This is the current benchmark, to be confirmed by FLUKA simulations. 
      
      There is a new material Mylar (My) avaidable. 
      
      Problems/ToDo:
      
      -- the increase of NP from 100000 to 100072 is certainly non physical
      -- check for more than one core
      -- validate the regression test
      -- validate Mylar parametrization
      
      05b586f9
    • adelmann's avatar
      New: Read field map information from header of the CARBONCYCL type, hence for the · 4ee77c59
      adelmann authored
      matched distribution the CARBONCYCL type has to be used. For example the PSI Ring 
      header would look like: 
      
      1800.0
      20.0
      8
      -4.0
      1440
      141
      ......
      
      Important: the third line describes the number of sectors AND is not 
      specified in the original definition of the CARBONCYCL type. THIS needs to be 
      fixed as soon as the matched distribution is working properly.
      
      At the moment the correct sigma matrix will be produced only with the ring590_bfld.dat:
      
       3.859  -0.6331 0     0	     0.4538 1.324
      
      -0.6331  0.636  0     0      0.7276 -0.2605
      
       0	 0      6.256 1.197  0	     0
      
       0	 0      1.197 0.3845 0	     0
      
       0.4538  0.7276 0     0	     2.396   0.172
      
       1.324  -0.2605 0     0	     0.172   0.8693
      
      Check at svn+ssh://savannah02.psi.ch/repos/opal/tests/trunk/RegressionTests/RingCyclotronMatched
      
      4ee77c59
  6. 06 Jan, 2015 2 commits
  7. 05 Jan, 2015 1 commit
  8. 04 Jan, 2015 2 commits
  9. 03 Jan, 2015 1 commit
  10. 02 Jan, 2015 4 commits
  11. 22 Dec, 2014 1 commit
  12. 18 Dec, 2014 1 commit
  13. 16 Dec, 2014 1 commit
  14. 08 Dec, 2014 1 commit
  15. 03 Dec, 2014 4 commits
  16. 02 Dec, 2014 1 commit