rometsch / fargocpt

Fluid dynamics code to study the interaction between protoplanetary disks and planets.
GNU Affero General Public License v3.0
6 stars 3 forks source link

write particles file when initializing them on restart #87

Closed rometsch closed 6 months ago

rometsch commented 6 months ago

On restart with the restart or auto flag, a particle file with the initial conditions is written to the snapshot dir from which the simulation is restarted. If restarted from an autosave directory, the simulation exits, because this is most likely unintended behavior.

Tested with auto and restart mode, tested to fail from autosave. Testsuite run with success.