danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
108 stars 239 forks source link

(timing) added option to create restart dumps if we go > 24h without a dump #352

Closed jameswurster closed 1 year ago

jameswurster commented 1 year ago

Type of PR: modification to existing code

Description: This will permit the creation of restart dumps to prevent there from being >24h (by default) between dumps. Unlike the previous version, this does not affect the numbering of dumpfiles at integer numbers of dtmax's

Testing: Manually tested dtmax decrease (internal for restarts & external for density increases) for both global & individual dt for clean & restarted runs

Did you run the bots? no