Skip to content

Commit 5213f8f

Browse files
Update vdw_radius for D3BJ dispersion method (#3297)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent cdbacd5 commit 5213f8f

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/quacc/recipes/vasp/mof_off.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,7 @@ def mof_off_static_job(
6868
if dispersion:
6969
disp = dispersion.lower()
7070
if disp == "d3bj":
71-
default_parameters |= {
72-
"ivdw": 15,
73-
"vdw_radius": 60
74-
* Bohr, # See https://github.com/dftd3/simple-dftd3/issues/151
75-
}
71+
default_parameters |= {"ivdw": 15, "vdw_radius": 95 * Bohr}
7672
elif disp == "d4":
7773
default_parameters["ivdw"] = 13
7874
calc_flags = recursive_dict_merge(default_parameters, calc_kwargs)

tests/core/recipes/vasp_recipes/mocked/test_vasp_recipes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ def test_mof_off(patch_metallic_taskdoc):
13111311
"prec": "accurate",
13121312
"setups": {"Al": ""},
13131313
"sigma": 0.05,
1314-
"vdw_radius": 31.75063263383047,
1314+
"vdw_radius": 50.27183500356491,
13151315
"xc": "pbe",
13161316
}
13171317

0 commit comments

Comments
 (0)