Skip to content

Commit

Permalink
Add subclass for Victor's dielectric oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Sep 10, 2024
1 parent d617470 commit 9fbfea9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/re2fractive/oracles.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
from atomate2.vasp.jobs.core import DielectricMaker
from atomate2.vasp.sets.core import StaticSetGenerator


class Re2StaticSetGenerator(StaticSetGenerator):
user_potcar_functional: str = "PBE_64"

user_incar_settings: dict = {
"KPAR": 8,
"EDIFF": 1e-6,
"GGA": None,
"LREAL": False,
"ALGO": "All",
"ISMEAR": 0,
"SIGMA": 0.03,
"LAECHG": False,
"LELF": False,
"LVTOT": False,
"LWAVE": False,
"PREC": "Accurate",
"IBRION": -1,
"NSW": 0,
}

user_kpoints_settings: dict = {"grid_density": 1500}


class Re2DielectricMaker(DielectricMaker):
input_set_generator = Re2StaticSetGenerator

0 comments on commit 9fbfea9

Please sign in to comment.