Skip to content

fix sqm energy#283

Merged
wanghan-iapcm merged 1 commit into
deepmodeling:develfrom
njzjz:fix-sqm-energy
May 14, 2022
Merged

fix sqm energy#283
wanghan-iapcm merged 1 commit into
deepmodeling:develfrom
njzjz:fix-sqm-energy

Conversation

@njzjz

@njzjz njzjz commented May 12, 2022

Copy link
Copy Markdown
Member

The code read the electronic energy (the following line of the total SCF energy) instead of the total SCF energy. This commit fixes it.

I have discussed with @Ericwang6. This should be the reason that our DP forces are good but DP energies are extremely bad.

The code read the electronic energy instead of the total SCF energy. This commit fixes it.
@njzjz njzjz requested review from Ericwang6 and wanghan-iapcm May 12, 2022 19:37
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #283 (ea8c880) into devel (7d72651) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            devel     #283      +/-   ##
==========================================
- Coverage   81.57%   81.56%   -0.02%     
==========================================
  Files          62       62              
  Lines        5173     5169       -4     
==========================================
- Hits         4220     4216       -4     
  Misses        953      953              
Impacted Files Coverage Δ
dpdata/amber/sqm.py 98.76% <100.00%> (-0.06%) ⬇️

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 7d72651...ea8c880. Read the comment docs.

@wanghan-iapcm wanghan-iapcm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Interesting bug. Approve.

@wanghan-iapcm wanghan-iapcm merged commit 506f168 into deepmodeling:devel May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants