-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fermions_config.py
49 lines (41 loc) · 1.06 KB
/
Fermions_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
def configure_fermions(Fermions):
"""
set all user defined parameters for fermions interface
:param: Fermions: PyFermiONs object
:return: options dictionary
"""
# Geometry, Multiplicity, Charge
Fermions.charge = 1
Fermions.mult = 1
# Method
Fermions.basis = "def2-svp"
Fermions.method = "dft"
Fermions.exc = "xc_gga_x_pbe"
Fermions.ecorr = "xc_gga_c_pbe"
# Details
Fermions.scf_conv = 1e-7
Fermions.exx_mode = "senex"
Fermions.grid = "gm5"
Fermions.ri_j = True
options = {
"sys": """
inc_density false
integral_thresh_rij 1e-12
senex_grid_type gm4
diis diis""",
"tdscf": """
tda true
rpa false
triplets true
singlets true
conv 1e-6
diis_dim 200
soc true
trans_dipoles true
nroots 4""",
"tdscf_deriv": """
zconv 1e-5
z_diis_dim 200
nacv false
expop false"""}
return options