-
- Downloads
Merge branch 'timestep_order' into 'master'
Timestep order This is my last batch of changes regarding time integration. - Additional checks here and there that the particles are synchronized. Especially gpart. - Re-arranged the time-step sequence and simplified the logic in engine_step(). - Moved the decision of repartitioning from the main() to engine_step(). The re-arrangement of the time-step sequence allows for perfect energy conservation even when we rebuild, repartition or dump snapshots. Previously that was not the case as a spurious drift had to be introduced. See merge request !314
Showing
- examples/ExternalPointMass/energy_plot.py 3 additions, 0 deletionsexamples/ExternalPointMass/energy_plot.py
- examples/main.c 6 additions, 9 deletionsexamples/main.c
- src/active.h 106 additions, 6 deletionssrc/active.h
- src/cell.c 33 additions, 6 deletionssrc/cell.c
- src/cell.h 4 additions, 1 deletionsrc/cell.h
- src/drift.h 24 additions, 1 deletionsrc/drift.h
- src/engine.c 111 additions, 91 deletionssrc/engine.c
- src/engine.h 15 additions, 3 deletionssrc/engine.h
- src/gravity/Default/gravity.h 9 additions, 0 deletionssrc/gravity/Default/gravity.h
- src/kick.h 21 additions, 1 deletionsrc/kick.h
- src/runner.c 87 additions, 15 deletionssrc/runner.c
- src/space.c 27 additions, 9 deletionssrc/space.c
- src/space.h 1 addition, 1 deletionsrc/space.h
- src/stars/Default/star_part.h 10 additions, 0 deletionssrc/stars/Default/star_part.h
Loading
Please register or sign in to comment