With these changes, PROTEUS is able to resume a simulation from a previous state. This is done by passing the command line flag --resume. This will load the previous variables and continue from the last saved point in the output folder, using the configuration file provided by --cfg.
This also results in fewer dictionary passes to functions (e.g. time_dict stays within the main loop) which should help to modularise things.
I have tested this under several conditions, and it seems to work well. The implementation is not very complex, thankfully. I hope that this will also make implementing some tests easier. Closes #90.
Other changes:
Removed unused configuration parameters
Updated documentation and other formatting changes
Updated example outputs
Renamed utils/logging.py to utils/logs.py to avoid confusing the the logging library
With these changes, PROTEUS is able to resume a simulation from a previous state. This is done by passing the command line flag
--resume
. This will load the previous variables and continue from the last saved point in the output folder, using the configuration file provided by--cfg
.This also results in fewer dictionary passes to functions (e.g. time_dict stays within the main loop) which should help to modularise things.
I have tested this under several conditions, and it seems to work well. The implementation is not very complex, thankfully. I hope that this will also make implementing some tests easier. Closes #90.
Other changes:
utils/logging.py
toutils/logs.py
to avoid confusing the thelogging
library