Skip to content

Commit ddb57c9

Browse files
authored
Merge pull request #123 from molssi-seamm/dev
Updates for v2022.1.0 including PM6-ORG
2 parents 3fd1cf4 + 9c089d9 commit ddb57c9

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
=======
22
History
33
=======
4+
2023.11.15 -- More updates for v2022.1.0
5+
* Added PM6-ORG Hamiltonian to options
6+
* Added other new data types for the AUX file.
7+
48
2023.11.14 -- Updated for MOPAC v2022.1.0
59
* MOPAC v2022.1.0 added GRADIENT_NORM_UPDATED to the AUX file. This updates adds it to
610
the results recognized by the plug-in

mopac_step/metadata.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838
"optimization": True,
3939
"code": "mopac",
4040
},
41+
"PM6-ORG": {
42+
"elements": "1-60,62-83",
43+
"periodic": True,
44+
"reactions": True,
45+
"optimization": True,
46+
"code": "mopac",
47+
},
4148
"PM6-D3": {
4249
"description": (
4350
"The PM6 Hamiltonian with Grimme's corrections for "
@@ -1505,13 +1512,25 @@
15051512
"type": "float",
15061513
"units": "kcal/mol/Å",
15071514
},
1508-
"GRADIENT_UPDATED": {
1515+
"GRADIENTS_UPDATED": {
15091516
"calculation": ["optimization"],
15101517
"description": "forces in trajectory",
15111518
"dimensionality": ["nsteps", [3, "n_atoms"]],
15121519
"type": "float",
15131520
"units": "kcal/mol/Å",
15141521
},
1522+
"VOIGT_STRESS": {
1523+
"description": "Voigt stress",
1524+
"dimensionality": [6],
1525+
"type": "float",
1526+
"units": "GPa",
1527+
},
1528+
"VOIGT_STRESS_UPDATED": {
1529+
"description": "Voigt stress in trajectory",
1530+
"dimensionality": [6],
1531+
"type": "float",
1532+
"units": "GPa",
1533+
},
15151534
"HEAT_CAPACITY_TOT": {
15161535
"calculation": ["thermodynamics", "vibrations"],
15171536
"description": "heat capacity",

mopac_step/optimization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def description_text(self, P=None):
8383
text += "\n\n"
8484

8585
if self.is_expr(P["hamiltonian"]):
86-
kwargs = {}
86+
kwargs = {"Hamiltonian": "{{" + P["hamiltonian"] + "}}"}
8787
else:
8888
kwargs = {"Hamiltonian": P["hamiltonian"]}
8989
text += seamm.standard_parameters.structure_handling_description(P, **kwargs)

0 commit comments

Comments
 (0)