venuspython 1.1.3__tar.gz → 1.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {venuspython-1.1.3 → venuspython-1.1.4}/PKG-INFO +1 -1
- venuspython-1.1.4/venuspy/__init__.py +1 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/psi4calc.py +14 -2
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/PKG-INFO +1 -1
- venuspython-1.1.3/venuspy/__init__.py +0 -1
- {venuspython-1.1.3 → venuspython-1.1.4}/README.md +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/pyproject.toml +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/setup.cfg +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/bagelcalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/chempotpycalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/minisgdmlcalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/mopaccalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/nwchemcalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/nwchemexcalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/original_nwchemexcalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/physnetcalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/qcengineGAMESScalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/xtbcalc.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/cli.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/initialSampling.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/md.py +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/SOURCES.txt +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/dependency_links.txt +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/entry_points.txt +0 -0
- {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.4"
|
|
@@ -53,6 +53,7 @@ class psi4calculator(Calculator):
|
|
|
53
53
|
self.referencemethod = 'uhf'
|
|
54
54
|
self.freeze_core = 0
|
|
55
55
|
self.mp2_type = "df"
|
|
56
|
+
self.soscf = 0
|
|
56
57
|
self.qc_module = None
|
|
57
58
|
self.df_ints_io = "None"
|
|
58
59
|
self.dft_spherical_points = 302 # The default for DFT jobs
|
|
@@ -122,7 +123,7 @@ class psi4calculator(Calculator):
|
|
|
122
123
|
psi4.set_options({'qc_module': self.qc_module})
|
|
123
124
|
|
|
124
125
|
# Some alternate psi4 SCF convergence options for second-order SCF (SOSCF):
|
|
125
|
-
if (
|
|
126
|
+
if (self.soscf>0):
|
|
126
127
|
psi4.set_options({'soscf': True})
|
|
127
128
|
psi4.set_options({'soscf_max_iter': self.maxiter})
|
|
128
129
|
psi4.set_options({'soscf_conv': self.d_convergence})
|
|
@@ -193,9 +194,20 @@ class psi4calculator(Calculator):
|
|
|
193
194
|
psi4.set_options({'e_convergence': tmp_e_convergence})
|
|
194
195
|
else:
|
|
195
196
|
try:
|
|
196
|
-
e,
|
|
197
|
+
e, tmp_wfn = psi4.energy(self.psi4method,restart_file=self.movecs,write_orbitals=self.movecs,return_wfn=True)
|
|
198
|
+
self.ref_wfn = tmp_wfn
|
|
197
199
|
break
|
|
198
200
|
except SCFConvergenceError:
|
|
201
|
+
|
|
202
|
+
# Try using SOSCF (if soscf=1 in the input file) before continuing
|
|
203
|
+
if (self.soscf==1):
|
|
204
|
+
try:
|
|
205
|
+
psi4.set_options({'soscf': True})
|
|
206
|
+
e, self.ref_wfn = psi4.energy(self.psi4method,restart_file=self.movecs,write_orbitals=self.movecs,return_wfn=True)
|
|
207
|
+
break
|
|
208
|
+
except SCFConvergenceError:
|
|
209
|
+
pass
|
|
210
|
+
|
|
199
211
|
print("SCF convergence (0) ... will now use a SAD guess")
|
|
200
212
|
self.ref_wfn = None
|
|
201
213
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.1.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|