Use the correct decoherence correction by default#104
Merged
danielhollas merged 2 commits intomasterfrom Apr 27, 2022
Merged
Conversation
Due to the error in the equation in the original paper, the decoherence correction was not implemented correctly (never take anything for granted!). This was already fixed in commit c7b342b, here we switch the use of correct formula by default. To reproduce old results, add correct_decoherence=.false. in the input file in namelist sh. Thanks to Basile Curchod and Antonio Prlj for catching this!
Contributor
Author
|
@suchanj I believe you did a bit of testing on this and found that it didn't have a huge effect, right? Once I am done with all the refactor, I will test the SH code thoroughly again against the molecular Tully model molecules from Basile. |
Codecov Report
@@ Coverage Diff @@
## master #104 +/- ##
=======================================
Coverage 91.73% 91.73%
=======================================
Files 42 42
Lines 5829 5829
=======================================
Hits 5347 5347
Misses 482 482
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Contributor
|
Yes, the limited testing proved no major deviations between new and old decoherence treatment. |
Contributor
Author
|
@suchanj FYI I am merging this to master for later testing, hopefully by the end of this week or next week. |
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.
Due to the error in the equation in the original paper, the decoherence correction was not implemented correctly
(never take anything for granted!).
This was already fixed in commit c7b342b, here we switch the use of correct formula by default.
To reproduce old results, add
correct_decoherence=.falsein the input file in namelistsh.Thanks to Basile Curchod and Antonio Prlj for catching this!