Allow SWIFT snapshots to be reused as ICs explicitly#73
Allow SWIFT snapshots to be reused as ICs explicitly#73Francyrad wants to merge 1 commit intoSWIFTSIM:masterfrom
Conversation
|
The reason for keeping IC and snapshot naming conventions separate was intentional to prevent mistakes when using them interchangeably. While this aliasing is a nice feature, if implemented, it should almost certainly be hidden behind a Additionally, for what it is worth, I do not like the duplication of the restart flag. That will only ever lead to confusion in my opinion. |
I can make further changes to implement your very fair requests |
8a16f51 to
433e744
Compare
|
Thanks, that makes sense. I have updated the PR to keep snapshot/IC naming separate by default. Snapshot field aliases are now only accepted when I also removed the parameter-file restart flag from the PR; restart remains controlled by the existing command-line option. |
Summary
InitialConditions:accept_snapshotis enabled.accept_snapshotis disabled.Validation
make -j20with the local Intel oneAPI/OpenMPI build.InitialConditions:accept_snapshot.InitialConditions:accept_snapshot: 1is set.