Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions atomate/vasp/fireworks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,16 @@ def __init__(
WriteVaspFromIOSet(structure=structure, vasp_input_set=vasp_input_set)
)
# Update the INCAR for the PBESol GGA preconditioning step
pre_opt_settings = {"_set": {"GGA": "Ps", "METAGGA": None, "EDIFFG": -0.05}}
metagga_type = vasp_input_set.incar.get("METAGGA",
vasp_input_set_params.get("METAGGA", "R2scan"))
pre_opt_settings = {"_set": {"GGA": "Ps", "EDIFFG": -0.05},
"_unset": {"METAGGA": metagga_type}}

# Disable vdW for the precondition step
if vasp_input_set_params.get("vdw"):
pre_opt_settings.update({"_unset": {"LUSE_VDW": True, "BPARAM": 15.7}})
pre_opt_settings.update({"_unset": {"LUSE_VDW": True,
"BPARAM": 15.7,
"METAGGA": metagga_type}})

t.append(ModifyIncar(incar_dictmod=pre_opt_settings))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ LREAL = Auto
LVTOT = True
LWAVE = False
MAGMOM = 1*0.0
METAGGA = None
NELM = 200
NSW = 99
PREC = Accurate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ LREAL = Auto
LVTOT = True
LWAVE = False
MAGMOM = 2*0.0
METAGGA = None
NELM = 200
NSW = 99
PREC = Accurate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ LREAL = Auto
LVTOT = True
LWAVE = False
MAGMOM = 2*0.0
METAGGA = None
NELM = 200
NSW = 99
PREC = Accurate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ LREAL = Auto
LVTOT = True
LWAVE = False
MAGMOM = 2*-0.0
METAGGA = None
NELM = 200
NSW = 99
PREC = Accurate
Expand Down
8 changes: 0 additions & 8 deletions atomate/vasp/workflows/tests/test_vasp_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,6 @@ def test_SCAN_no_bandgap(self):
self.assertEqual(incar[p], 0.22)
elif p == "ICHARG" or p == "ISTART":
self.assertEqual(incar[p], 1)
elif p == "METAGGA":
self.assertEqual(incar[p], "None")
elif p == "GGA":
self.assertEqual(incar[p], "Ps")
elif p == "EDIFFG":
Expand Down Expand Up @@ -644,8 +642,6 @@ def test_SCAN_small_bandgap(self):
self.assertEqual(incar[p], 0.22)
elif p == "ICHARG" or p == "ISTART":
self.assertEqual(incar[p], 1)
elif p == "METAGGA":
self.assertEqual(incar[p], "None")
elif p == "GGA":
self.assertEqual(incar[p], "Ps")
elif p == "EDIFFG":
Expand Down Expand Up @@ -703,8 +699,6 @@ def test_SCAN_large_bandgap(self):
self.assertEqual(incar[p], 0.22)
elif p == "ICHARG" or p == "ISTART":
self.assertEqual(incar[p], 1)
elif p == "METAGGA":
self.assertEqual(incar[p], "None")
elif p == "GGA":
self.assertEqual(incar[p], "Ps")
elif p == "EDIFFG":
Expand Down Expand Up @@ -780,8 +774,6 @@ def test_SCAN_with_vdw(self):
self.assertEqual(incar[p], 0.22)
elif p == "ICHARG":
self.assertEqual(incar[p], 1)
elif p == "METAGGA":
self.assertEqual(incar[p], "None")
elif p == "GGA":
self.assertEqual(incar[p], "Ps")
elif p == "EDIFFG":
Expand Down