Z-Matrix
A Z-Matrix defines molecular geometry using internal coordinates: bond lengths, bond angles, and dihedral angles relative to previously-defined atoms.
Syntax
Section titled “Syntax”zmatrix{ atom atom ref1 distance atom ref1 distance ref2 angle atom ref1 distance ref2 angle ref3 dihedral}Each row defines one atom. The first row is the origin (no references). The second references one prior atom (distance only). The third references two (distance + angle). Subsequent rows reference three (distance + angle + dihedral).
Example: methane
Section titled “Example: methane”
Source
Rendered
zmatrix{
C1
H2 C1 1.09
H3 C1 1.09 H2 109.5
H4 C1 1.09 H2 109.5 H3 120.0
}C1is the originH2is 1.09 Å fromC1H3is 1.09 Å fromC1, with angle H2-C1-H3 = 109.5°H4is 1.09 Å fromC1, angle 109.5°, dihedral 120.0°
- Distances: Angstroms (Å)
- Angles: degrees
CML wire (v0.11+)
Section titled “CML wire (v0.11+)”Emits as <zMatrix> inside a <molecule>:
<molecule> <zMatrix>zmatrix{...}</zMatrix></molecule>Future enhancement: structural <length>, <angle>, <torsion>
child elements per row.