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.
Files changed (25) hide show
  1. {venuspython-1.1.3 → venuspython-1.1.4}/PKG-INFO +1 -1
  2. venuspython-1.1.4/venuspy/__init__.py +1 -0
  3. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/psi4calc.py +14 -2
  4. {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/PKG-INFO +1 -1
  5. venuspython-1.1.3/venuspy/__init__.py +0 -1
  6. {venuspython-1.1.3 → venuspython-1.1.4}/README.md +0 -0
  7. {venuspython-1.1.3 → venuspython-1.1.4}/pyproject.toml +0 -0
  8. {venuspython-1.1.3 → venuspython-1.1.4}/setup.cfg +0 -0
  9. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/bagelcalc.py +0 -0
  10. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/chempotpycalc.py +0 -0
  11. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/minisgdmlcalc.py +0 -0
  12. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/mopaccalc.py +0 -0
  13. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/nwchemcalc.py +0 -0
  14. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/nwchemexcalc.py +0 -0
  15. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/original_nwchemexcalc.py +0 -0
  16. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/physnetcalc.py +0 -0
  17. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/qcengineGAMESScalc.py +0 -0
  18. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/calc/xtbcalc.py +0 -0
  19. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/cli.py +0 -0
  20. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/initialSampling.py +0 -0
  21. {venuspython-1.1.3 → venuspython-1.1.4}/venuspy/md.py +0 -0
  22. {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/SOURCES.txt +0 -0
  23. {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/dependency_links.txt +0 -0
  24. {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/entry_points.txt +0 -0
  25. {venuspython-1.1.3 → venuspython-1.1.4}/venuspython.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: venuspython
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: VENUSpy Initial Sampling and Molecular Dynamics
5
5
  Keywords: moleculardynamics,initialsampling
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -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 (False):
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, self.ref_wfn = psi4.energy(self.psi4method,restart_file=self.movecs,write_orbitals=self.movecs,return_wfn=True)
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: venuspython
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: VENUSpy Initial Sampling and Molecular Dynamics
5
5
  Keywords: moleculardynamics,initialsampling
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -1 +0,0 @@
1
- __version__ = "1.1.3"
File without changes
File without changes
File without changes
File without changes
File without changes