1. 19 Oct, 2016 2 commits
    • Matthieu Schaller's avatar
      eddc2801
    • Peter W. Draper's avatar
      Merge branch 'stats_after_kick' into 'master' · 4128aff0
      Peter W. Draper authored
      Stats after kick
      
      Implements the change proposed in #193. 
      
      Triple benefit:
       - Stats are computed at the correct point in time and are hence more accurate.
       - The drift does not compute stats anymore so this might help with the bandwidth.
       - The cell structure becomes 96 bytes lighter which will also help with the bandwidth.
      
      The stats are now computed when requested by the used using a threadpoolized loop over the particles. This happens rarely and is hence not a burden on the whole system any more. The interesting stuff is in `src/statistics.[ch]`.
      
      This is built on top of `mark_task_in_drift2` so should merge smoothly with master very soon.
      
      See merge request !269
      4128aff0
  2. 18 Oct, 2016 9 commits
  3. 15 Oct, 2016 4 commits
  4. 14 Oct, 2016 7 commits
  5. 13 Oct, 2016 6 commits
  6. 12 Oct, 2016 4 commits
  7. 11 Oct, 2016 1 commit
    • Peter W. Draper's avatar
      Merge branch 'fix_super_pointer' into 'master' · ce5d0537
      Peter W. Draper authored
      Fix super pointer
      
      Updated the logic setting the `super` pointer and creating the "hierarchical" tasks (i.e. init, kick, ghost, etc.). Changes involve:
      
       - Getting rid of the `g_super` pointer. We have only one `super` cell per hierarchy.
       - Set the `super` pointer in a new routine.
       - Have only one routine to construct the hierarchical task to avoid overwriting things.
       - Moved the external gravity task to be a self with a new kind of sub-type.
      
      The last item is necessary for the following reason. If we want to run with only external gravity (no hydro, no normal gravity), which is useful to test this aspect individually, we need to create the tasks. Now, we only create the init/kick tasks for super cells, i.e. cells that have at least one self or pair. So I promoted the external_gravity task to be a self with a new sub_type. 
      
      IMO that's more clean now. What do you think ?
      
      Fix #215.
      
      See merge request !259
      ce5d0537
  8. 10 Oct, 2016 7 commits