SH: Cleanup the main SH routine#126
Merged
danielhollas merged 5 commits intomasterfrom May 9, 2022
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #126 +/- ##
==========================================
- Coverage 94.33% 94.32% -0.02%
==========================================
Files 42 42
Lines 5862 5864 +2
==========================================
+ Hits 5530 5531 +1
- Misses 332 333 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
danielhollas
commented
Apr 28, 2022
suchanj
approved these changes
May 9, 2022
Change file name for hopping geometries
ca9baa7 to
e6f2bb3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 is mostly just moving code out of the main SH loop into separate subroutines.
One minor breaking change is that I have renamed the files in which we store geometries where the hop occured.
Instead of
geom.<oldstate>.<newstate>.timestep>we havehopgeom.oldstate.newstate.timestep.xyzChanges in test files are due to random number state, since we are now calculateing hopping probabilities even if hopping is forbidden via
nohop=1. We now print a warning if a hop is ignored because of this setting.