(origin) added option for new input files that will better indicate new origin #65
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit provides two new methods of resetting the origin. Unlike current methods, these require inputs the same length as splash.filenames file to give a unique centre for each dump file.
splash.sinkpos: This file is a list of integers containing the sink number to centre upon. This is required for sphNG since the sink order is not preserved amongst the dumps, but can be properly extracted using an analysis routine. This method has been tested and it works as expected.
splash.origin: This file is a list of the origins in 3D. Although this is more general than above, undesired results will occur if mixed with other shifting methods (eg SSPLASH_RESET_DENSE=yes). This method has yet to be tested.