1. 20 Mar, 2017 1 commit
  2. 17 Mar, 2017 5 commits
    • Bert Vandenbroucke's avatar
      7e4f1880
    • Bert Vandenbroucke's avatar
      Replaced global variables by a new hydro_space struct that is part of space.... · a66c7479
      Bert Vandenbroucke authored
      Replaced global variables by a new hydro_space struct that is part of space. This struct is then passed on to hydro_init_part, and used to initialize the Voronoi cells. For non SHADOWFAX_SPH schemes, this struct is empty. Replaced random_uniform declarations in some unit tests with the tools.h version. Added some more comments to 3D Voronoi code; it is now almost completely documented (meaning I almost completely understand it now).
      a66c7479
    • Matthieu Schaller's avatar
    • Matthieu Schaller's avatar
      Code formatting · a374ea9c
      Matthieu Schaller authored
      a374ea9c
    • Matthieu Schaller's avatar
      Merge branch 'repartition-less' into 'master' · a0f1d228
      Matthieu Schaller authored
      Only repartition when required
      
      Only repartition when the previous step processed some large fraction of all the
      particles, and then only when the loads between the ranks are out of balance.
      This is for several reasons:
      
        * Repartitioning is expensive, so should only be done when necessary.
        * Frequent repartitioning with multi-dt is not necessary (for the EAGLE volumes anyway).
        * It is more representative to check the load balance when all tasks have been ran.
      
      The load balance is determined from the user CPU time per step (including
      the CPU time from all threads). We exclude the system time as that is not
      down to processing and tends to even out the ranks artificially, much as
      elapsed time does (since we wait for all the MPI tasks to come together).
      
      The load imbalance allowed is determined by the parameter `DomainDecomposition:trigger`,
      this can also be set to a number greater than one, in which case the old
      repartitioning scheme of every 'trigger' steps will be used (previously trigger
      was always 100).
      
      
      See merge request !290
      a0f1d228
  3. 16 Mar, 2017 11 commits
  4. 15 Mar, 2017 7 commits
  5. 14 Mar, 2017 5 commits
  6. 13 Mar, 2017 3 commits
  7. 10 Mar, 2017 6 commits
  8. 09 Mar, 2017 2 commits