Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix frequencyScaleFactor in Arkane examples #1657

Merged
merged 1 commit into from
Jul 20, 2019
Merged

Conversation

amarkpayne
Copy link
Member

@amarkpayne amarkpayne commented Jul 17, 2019

Motivation or Problem

Setting frequencyScaleFactor in an species file instead of an Arkane input file does nothing. Therefore, we should not define this in our example files. See #1655

Reviewer Note

Must be merged after #1643 (Update: This PR can now be reviewed and merged when ready)

@codecov
Copy link

codecov bot commented Jul 17, 2019

Codecov Report

Merging #1657 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1657   +/-   ##
=======================================
  Coverage   41.71%   41.71%           
=======================================
  Files         176      176           
  Lines       29359    29359           
  Branches     6053     6053           
=======================================
  Hits        12246    12246           
  Misses      16244    16244           
  Partials      869      869

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2f9495...2d8f2bd. Read the comment docs.

@amarkpayne amarkpayne removed the Status: Blocked by PR This PR is dependent on another PR label Jul 18, 2019
@@ -11,6 +11,7 @@
useHinderedRotors = True
useBondCorrections = False
author = 'I.B. Modeling'
frequencyScaleFactor = 0.99
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very confusing point:
The ZPE scaling factor for CBS-QB3 is indeed 0.99, but the frequency scaling factor (which Arkane requires) for CBS-QB3 is 0.99 * 1.014 =~ 1.004. I know we've all been using 0.99, we only standardized this entire scaling factors thing recently. The good news is that it's automated, so we don't need to worry about it too much. I suggest either not adding this line, or assign 0.99 * 1.014 (the latter is more transparent).

(The 1.014 is a factor between ZPE scaling and freq. scaling that is universal, according to Truhlar - almost independent of the level of theory)

Copy link
Member Author

@amarkpayne amarkpayne Jul 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'll go with your second suggestion and modify this line and the one above it to:

# Example of how to manually set the frequencyScaleFactor
frequencyScaleFactor = 0.99*1.014 # 0.99 for CBS-QB3, 1.014 for scaling between ZPE and freq. according to Truhlar

The reason I wanted to keep this line was because it is the only species example where we manually set the frequencyScaleFactor. Does this seem reasonable? If so I'll make this change and force push it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ref for CBS-QB3's ZPE scaling factor is dx.doi.org/10.1063/1.477924, and the ref for the 1.014 factor is dx.doi.org/10.1021/ct100326h

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll add this and push the changes

@alongd alongd changed the title Fix arkane examples Fix frequencyScaleFactor in Arkane examples Jul 18, 2019
Copy link
Member

@alongd alongd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@amarkpayne
Copy link
Member Author

Looks like the Travis builds are working again--I'll restart the others. @alongd is it okay if I go ahead and merge this?

@alongd alongd merged commit 95e8fcf into master Jul 20, 2019
@alongd alongd deleted the fix_arkane_examples branch July 20, 2019 20:34
@mliu49 mliu49 mentioned this pull request Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants