First implementation of gpart motion
The changelog is rather big but the changes are rather straightforward:
- The acceleration of the
gparts
is now calleda_grav
instead of justa
. Makes grepping through the files much easier. - I have added the command-line options
-g
and-G
for external- and self-gravity respectively. These build the correct policies into the engine. Separating both (at least for now) allows to work on the two aspect separately. - There are tests in critical places to make sure that linked pairs part-gpart are at the same position.
- The
doinit()
,dodrift()
anddokick()
tasks have been updated to also move the gparts.
All the tests pass successfully. I am seeking your opinion on the implementation of the tasks.