Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q-Chem initial_hessian handling #3346

Draft
wants to merge 32 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1635b82
Add svd_failed error a second place
samblau Feb 15, 2023
72fa4c6
fix staticmethod to classmethodd
samblau Feb 28, 2023
a9368b2
Merge branch 'master' into qchem
samblau Feb 28, 2023
0935ed7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 28, 2023
072fee7
switch back to staticmethod
samblau Feb 28, 2023
3ad74d6
Merge branch 'master' into qchem
samblau Mar 11, 2023
af40569
Fix multiple_outputs and tests
samblau Mar 13, 2023
d372cd1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 13, 2023
ac23a02
Merge branch 'master' into qchem
samblau Mar 14, 2023
a5afd4b
Merge branch 'master' into qchem
samblau Mar 14, 2023
2bc4c44
Merge branch 'master' into qchem
samblau Mar 21, 2023
a4f32ca
oxygen edge extender
samblau Mar 21, 2023
130473f
doc string and test for oxygen_edge_extender
samblau Mar 21, 2023
a40b1e6
pre-commit auto-fixes
pre-commit-ci[bot] Mar 21, 2023
f31adc2
try to satisfy pre-commit
samblau Mar 21, 2023
21ec47a
pre-commit auto-fixes
pre-commit-ci[bot] Mar 21, 2023
ebcd4d7
avoid babel for oxygen_edge_extender test
samblau Mar 21, 2023
d1852e9
tweak oxygen_edge_extender() for readability
janosh Mar 21, 2023
10b5f7b
Merge branch 'master' into qchem
samblau Mar 21, 2023
974db16
initial hessian model for delocalized
samblau Apr 4, 2023
042b3e8
Merge branch 'master' into qchem
samblau Apr 4, 2023
ca11b92
Merge branch 'master' into qchem
samblau May 3, 2023
8bac9b9
Merge branch 'qchem' of https://github.com/samblau/pymatgen into qchem
samblau May 3, 2023
227e47c
avoid deleted issue
samblau May 8, 2023
c6fb3fc
bug fix
samblau May 8, 2023
3a3520a
Merge branch 'master' into qchem
samblau Jun 19, 2023
82bd0ec
Merge branch 'master' into qchem
samblau Sep 21, 2023
3ad0925
pre-commit auto-fixes
pre-commit-ci[bot] Sep 21, 2023
65fb3cb
Merge branch 'master' into qchem
samblau Oct 3, 2023
26af879
Merge branch 'master' into qchem
samblau Dec 6, 2023
6276f7d
Merge branch 'master' into qchem
samblau Dec 11, 2023
045848f
Merge branch 'master' into qchem
janosh May 4, 2024
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
5 changes: 5 additions & 0 deletions pymatgen/io/qchem/sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,9 @@ def __init__(
nbo[key] = self.nbo_params[key]

tmp_geom_opt = self.geom_opt
if tmp_geom_opt is not None and "initial_hessian" in tmp_geom_opt:
if tmp_geom_opt["initial_hessian"] == "deleted":
del tmp_geom_opt["initial_hessian"]
geom_opt = self.geom_opt
if (self.job_type.lower() in ["opt", "optimization"] and self.qchem_version == 6) or (
self.qchem_version == 5 and self.geom_opt is not None
Expand All @@ -517,6 +520,8 @@ def __init__(
if self.qchem_version == 6:
if "coordinates" not in tmp_geom_opt:
tmp_geom_opt["coordinates"] = "redundant"
elif tmp_geom_opt["coordinates"] == "delocalized" and "initial_hessian" not in tmp_geom_opt:
tmp_geom_opt["initial_hessian"] = "model"
if "max_displacement" not in tmp_geom_opt:
tmp_geom_opt["max_displacement"] = "0.1"
if "optimization_restart" not in tmp_geom_opt:
Expand Down
Loading