Closed hebrewsnabla closed 2 years ago
Merging #26 (3132a1d) into main (84ba953) will increase coverage by
0.03%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #26 +/- ##
==========================================
+ Coverage 50.32% 50.35% +0.03%
==========================================
Files 34 34
Lines 3750 3753 +3
Branches 1595 1595
==========================================
+ Hits 1887 1890 +3
Misses 1192 1192
Partials 671 671
Impacted Files | Coverage Δ | |
---|---|---|
test/unit/test_param.f90 | 48.41% <ø> (ø) |
|
src/dftd3/param.f90 | 94.04% <100.00%> (+0.04%) |
:arrow_up: |
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
Would be great if you could add a test case for the B97-3c parameters in https://github.com/dftd3/simple-dftd3/blob/main/test/unit/test_param.f90.
Added. Since B97-3c is defined to be used with D3(BJ)-ATM, I only add one test for it.
Added. Since B97-3c is defined to be used with D3(BJ)-ATM, I only add one test for it.
Which parametrization is mostly used in practice doesn't matter much, features provided by a library will get used at some point. If the code path is available (e.g. B97-3c with D3(0)) it should be tested.
The parameters are taken from doi: 10.1063/1.5012601. To verify my implementation, I compare the results of s-dftd3 and ORCA, with a molecule
N 0.0 0.0 0.0; N 0.0 0.0 1.1; N 0.0 0.0 3.0; N 0.0 0.0 4.1
s-dftd3 --bj b973c --atm test.xyz
giveswhile ORCA 5.0.3 gives
The D3 energies agree well but it seems ORCA adopt a different ATM parameter. Is that a known discrepancy?