-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Molcas children templates display
- Loading branch information
moisesalvarez
committed
Oct 9, 2021
1 parent
930dbbe
commit 765b6c1
Showing
188 changed files
with
1,179 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
codes/molcas/atom.expansion-d3e24431.rst → codes/molcas/atom.expansion-d3e24517.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _atom.expansion-d3e24431: | ||
.. _atom.expansion-d3e24517: | ||
|
||
atom.expansion | ||
============== | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/cchc-d3e24362.rst → codes/molcas/cchc-d3e24448.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _cchc-d3e24362: | ||
.. _cchc-d3e24448: | ||
|
||
cchc | ||
==== | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/constraint-d3e24139.rst → codes/molcas/constraint-d3e24225.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _constraint-d3e24139: | ||
.. _constraint-d3e24225: | ||
|
||
constraint | ||
========== | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/dynamic.loprop-d3e24547.rst → codes/molcas/dynamic.loprop-d3e24633.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _dynamic.loprop-d3e24547: | ||
.. _dynamic.loprop-d3e24633: | ||
|
||
dynamic.loprop | ||
============== | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/eigenvalues-d3e23600.rst → codes/molcas/eigenvalues-d3e23606.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _eigenvalues-d3e23600: | ||
.. _eigenvalues-d3e23606: | ||
|
||
eigenvalues | ||
=========== | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/eigenvalues-d3e23710.rst → codes/molcas/eigenvalues-d3e23716.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _eigenvalues-d3e23710: | ||
.. _eigenvalues-d3e23716: | ||
|
||
eigenvalues | ||
=========== | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/energy.statistics-d3e23869.rst → codes/molcas/energy.statistics-d3e23875.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _energy.statistics-d3e23869: | ||
.. _energy.statistics-d3e23875: | ||
|
||
energy.statistics | ||
================= | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/extras-d3e23031.rst → codes/molcas/extras-d3e23037.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _extras-d3e23031: | ||
.. _extras-d3e23037: | ||
|
||
extras | ||
====== | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/final.caspt2-d3e23487.rst → codes/molcas/final.caspt2-d3e23493.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _final.caspt2-d3e23487: | ||
.. _final.caspt2-d3e23493: | ||
|
||
final.caspt2 | ||
============ | ||
|
2 changes: 1 addition & 1 deletion
2
codes/molcas/loprop-d3e22967.rst → codes/molcas/loprop-d3e22973.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _loprop-d3e22967: | ||
.. _loprop-d3e22973: | ||
|
||
loprop | ||
====== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
.. _mol.props-d3e22815: | ||
|
||
mol.props | ||
========= | ||
|
||
.. table:: Implementation level | ||
|
||
+-----------------------------------+-----------------------------------+ | ||
| Type | Status | | ||
+===================================+===================================+ | ||
| CML extraction template | |image0| | | ||
+-----------------------------------+-----------------------------------+ | ||
| HTML5 representation | |image1| | | ||
+-----------------------------------+-----------------------------------+ | ||
|
||
.. table:: Template attributes | ||
|
||
+-----------------------------------+-----------------------------------+ | ||
| Attribute | Value | | ||
+===================================+===================================+ | ||
| *source* | MOLCAS log | | ||
+-----------------------------------+-----------------------------------+ | ||
| id | mol.props | | ||
+-----------------------------------+-----------------------------------+ | ||
| name | Molecular properties | | ||
+-----------------------------------+-----------------------------------+ | ||
| pattern | \\s*(?:\+\+ | | ||
| | )?\s*Molecular\s[Pp]roperties:.\* | | ||
+-----------------------------------+-----------------------------------+ | ||
| pattern2 | \\s*Charge.\* | | ||
+-----------------------------------+-----------------------------------+ | ||
| pattern3 | \\s*Dipole\sMoment.\* | | ||
+-----------------------------------+-----------------------------------+ | ||
| endPattern | \\s*\-\-\s\* | | ||
+-----------------------------------+-----------------------------------+ | ||
| endPattern2 | ~ | | ||
+-----------------------------------+-----------------------------------+ | ||
| repeat | \* | | ||
+-----------------------------------+-----------------------------------+ | ||
| xml:base | modules/properties/mol.props.xml | | ||
+-----------------------------------+-----------------------------------+ | ||
|
||
**Input.** | ||
|
||
:: | ||
|
||
++ Molecular properties: | ||
--------------------- | ||
Charge (e): | ||
= -0.0000 | ||
Dipole Moment (Debye): | ||
Origin of the operator (Ang)= 0.0000 0.0000 0.0000 | ||
X= 0.0000 Y= 0.0000 Z= 0.0000 Total= 0.0000 | ||
Quadrupole Moment (Debye*Ang): | ||
Origin of the operator (Ang)= 0.0000 0.0000 0.0000 | ||
XX= -92.8211 XY= 0.0000 XZ= 0.0000 YY= -101.7054 | ||
YZ= 0.0000 ZZ= -128.7810 | ||
In traceless form (Debye*Ang) | ||
XX= 22.4221 XY= 0.0000 XZ= 0.0000 YY= 9.0956 | ||
YZ= 0.0000 ZZ= -31.5177 | ||
-- | ||
|
||
**Output text.** | ||
|
||
.. code:: xml | ||
<comment class="example.output" id="mol.props"> | ||
<module cmlx:templateRef="mol.props"> | ||
<scalar dataType="xsd:double" dictRef="cc:charge">-0.0000</scalar> | ||
<list cmlx:templateRef="dipole"> | ||
<array dataType="xsd:double" dictRef="m:dipole" size="3">0.0000 0.0000 0.0000</array> | ||
<scalar dataType="xsd:double" dictRef="m:total">0.0000</scalar> | ||
<array dataType="xsd:double" dictRef="m:operatororig" size="3">0.0000 0.0000 0.0000</array> | ||
</list> | ||
<list cmlx:templateRef="quadrupole"> | ||
<array dataType="xsd:double" dictRef="m:quadvalue" size="6">-92.8211 0.0000 0.0000 -101.7054 0.0000 -128.7810</array> | ||
<array dataType="xsd:double" dictRef="m:operatororig" size="3">0.0000 0.0000 0.0000</array> | ||
<array dataType="xsd:double" dictRef="m:quadtracevalue" size="6">22.4221 0.0000 0.0000 9.0956 0.0000 -31.5177</array> | ||
</list> | ||
</module> | ||
</comment> | ||
**Template definition.** | ||
|
||
.. code:: xml | ||
<templateList> <template id="charge" name="Charge" pattern="\s*Charge.*" endPattern=".*[0-9]\s*" endOffset="1"> <record /> <record>\s*={F,cc:charge}</record> | ||
</template> <template id="dipole" name="Dipole/Quadripole moment" pattern="\s*Dipole\sMoment.*" endPattern="\s*" endPattern2="~"> <record /> <record>\s*Origin\sof\sthe\soperator\s\(Ang\)=\s*{3F,m:operatororig}</record> <record id="dipole">\s*X={E,m:dipole}Y={E,m:dipole}Z={E,m:dipole}Total={E,m:total}</record> <record /> <record>\s*Origin\sof\sthe\soperator\s\(Ang\)=\s*{3F,m:operatororig}</record> <record id="quadrupole">\s*XX={E,m:quadvalue}XY={E,m:quadvalue}XZ={E,m:quadvalue}YY={E,m:quadvalue}</record> <record id="quadrupole">\s*YZ={E,m:quadvalue}ZZ={E,m:quadvalue}</record> <record /> <record id="quadrupole">\s*XX={E,m:quadtracevalue}XY={E,m:quadtracevalue}XZ={E,m:quadtracevalue}YY={E,m:quadtracevalue}</record> <record id="quadrupole">\s*YZ={E,m:quadtracevalue}ZZ={E,m:quadtracevalue}</record> | ||
</template> <transform process="createArray" xpath="." from=".//cml:scalar[@dictRef='m:dipole']" /> <transform process="createArray" xpath="." from=".//cml:scalar[@dictRef='m:quadvalue']" /> <transform process="createArray" xpath="." from=".//cml:scalar[@dictRef='m:quadtracevalue']" /> <transform process="move" xpath="(.//cml:array[@dictRef='m:operatororig'])[1]" to=".//cml:list[@cmlx:templateRef='dipole']" /> <transform process="move" xpath="(.//cml:array[@dictRef='m:operatororig'])[2]" to="(.//cml:list[@cmlx:templateRef='quadrupole'])[1]" /> <transform process="move" xpath=".//cml:array[@dictRef='m:quadtracevalue']" to="(.//cml:list[@cmlx:templateRef='quadrupole'])[1]" /> <transform process="pullup" xpath=".//cml:list[@cmlx:templateRef='dipole' or @cmlx:templateRef='quadrupole']/cml:list/*" /> <transform process="pullup" xpath=".//cml:scalar[@dictRef='cc:charge']" repeat="2" /> <transform process="pullup" xpath=".//cml:list[@cmlx:templateRef='dipole']" repeat="1" /> <transform process="pullup" xpath=".//cml:list[@cmlx:templateRef='quadrupole']" repeat="1" /> <transform process="delete" xpath=".//cml:list[count(*) = 0]" /> <transform process="delete" xpath=".//cml:list[count(*) = 0]" /> <transform process="delete" xpath=".//cml:module[count(*) = 0]" /> | ||
</templateList> | ||
.. |image0| image:: ../../imgs/Total.png | ||
.. |image1| image:: ../../imgs/None.png |
2 changes: 1 addition & 1 deletion
2
codes/molcas/molcas.input-d3e42112.rst → codes/molcas/molcas.input-d3e42198.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.. _molcas.input-d3e42112: | ||
.. _molcas.input-d3e42198: | ||
|
||
molcas.input | ||
============ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.