- 15 Sep, 2017 4 commits
-
-
Peter W. Draper authored
-
Peter W. Draper authored
Keep maintenance down.
-
Matthieu Schaller authored
Don't touch the pinning of the main thread when not using affinity. There is a problem when the cpu mask is empty and using multiple MPI ranks on a node, in that case all the main threads end up pinned to one core during the reading of the initial conditions (and any other tasks done before engine_init is called). See merge request !423
-
Peter W. Draper authored
There is a problem when the cpu mask is empty and using multiple MPI ranks on a node, in that case all the main threads end up pinned to one core during the reading of the initial condition (and any other tasks done before engine_init is called).
-
- 14 Sep, 2017 1 commit
-
-
Matthieu Schaller authored
Reverse the loop to find the exit condition in DOPAIR2() to go from the centre to the outside Follows @jwillis' suggestion in #362. Also implements an early exit in the outer loop. If no particle can be in range any more (based on hi_max and hj_max), no need to keep checking the next particles. See merge request !422
-
- 13 Sep, 2017 7 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Peter W. Draper authored
No shadowed variables Some small improvements to the code: - Force compiler to report shadowed variables. - Removed all shadowed variables. - Added the function scheduler_activate_send() to simplify the unskipping of MPI sends. This comes after me spending a day and a half tracking a bug that came from a shadowed variable. See merge request !421
-
Matthieu Schaller authored
-
Matthieu Schaller authored
Reverse the loop to find the exit condition in DOPAIR2() to go from the centre to the outside. Follows @jwillis' suggestion in #362
-
Matthieu Schaller authored
Do not use eps=0 in the gravity derivative unit test. That leads to FPEs when running without optimizations.
-
Matthieu Schaller authored
-
- 12 Sep, 2017 5 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
Dopair2 fix Large set of improvements to the hydro interactions functions: - Correct version of DOPAIR2() (Fixes #361). The symmetric condition was not correctly taken into account when computing the distance on the axis. - Removed the old vectorization scheme from the interaction functions. This is superseded by @jwillis' work. - Added the check for active/inactive in the *_NAIVE() functions. These can now correctly be used throughout a run. - Made all the interactions take place in the frame of the cell `cj` for PAIRs and `c` for the SELFs. - Added a new particle type. The particles do nothing apart from recording who they interact with in the density and force loops. This is solely designed for debugging. See merge request !419
-
Matthieu Schaller authored
Force compiler to report shadowed variables. Removed all shadowed variables. Added the function scheduler_activate_send() to simplify the unskipping of MPI sends.
-
Matthieu Schaller authored
Reinstate missing pointer indirection for external gravity dependencies that had disappeared in merge.
-
Matthieu Schaller authored
Gravity speedup See merge request !420
-
- 11 Sep, 2017 11 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
- 10 Sep, 2017 4 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
DOSELF_SUBSET, DOPAIR1_NAIVE and DOPAIR2_NAIVE should do their calculation in the frame of the cell.
-
- 09 Sep, 2017 3 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
- 08 Sep, 2017 5 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-