Skip to content

Commit 2b6579b

Browse files
committed
Cleanup NEB input sets.
1 parent c76c7a6 commit 2b6579b

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

src/pymatgen/io/vasp/sets.py

+12-16
Original file line numberDiff line numberDiff line change
@@ -2663,7 +2663,8 @@ def kpoints_updates(self) -> Kpoints:
26632663

26642664

26652665
class NEBSet(VaspInputSet):
2666-
"""Write NEB inputs.
2666+
"""An input set for NEB calculations. These are based on NEB parameters that have been extensively tested by the
2667+
Materials Virtual Lab.
26672668
26682669
Note that EDIFF is not on a per atom basis for this input set.
26692670
"""
@@ -2695,11 +2696,19 @@ def __init__(
26952696

26962697
# NEB specific defaults
26972698
defaults = {
2699+
"EDIFF": 5e-5,
2700+
"EDIFFG": -0.02,
26982701
"IMAGES": len(structures) - 2,
2699-
"IBRION": 1,
27002702
"ISYM": 0,
2703+
"ISIF": 2,
27012704
"LCHARG": False,
27022705
"LDAU": False,
2706+
"LORBIT": 0,
2707+
"NSW": 200,
2708+
"ALGO": "Normal",
2709+
"IBRION": 3,
2710+
"IOPT": 1,
2711+
"POTIM": 0,
27032712
}
27042713
self._config_dict["INCAR"].update(defaults)
27052714
self.parent_set = parent_set
@@ -2799,24 +2808,11 @@ def __init__(self, structures: list[Structure], **kwargs) -> None:
27992808
"""
28002809
user_incar_settings = kwargs.get("user_incar_settings", {})
28012810

2802-
# CI-NEB settings
2811+
# Additional CI-NEB settings
28032812
defaults = {
2804-
"EDIFF": 5e-5,
2805-
"EDIFFG": -0.02,
2806-
"IBRION": 3,
28072813
"ICHAIN": 0,
2808-
"IOPT": 1,
2809-
"ISIF": 2,
2810-
"ISMEAR": 0,
2811-
"ISPIN": 2,
2812-
"LCHARG": False,
28132814
"LCLIMB": True,
2814-
"LDAU": False,
2815-
"LORBIT": 0,
2816-
"NSW": 200,
2817-
"POTIM": 0,
28182815
"SPRING": -5,
2819-
"ALGO": "Normal",
28202816
}
28212817
if user_incar_settings != {}:
28222818
defaults.update(user_incar_settings)

0 commit comments

Comments
 (0)