Primitive Internal Coordinates (IC)
When Coord primitive, Coord dlc, or Coord tric is requested, geometry steps
are taken in internal-coordinate (IC) space using:
1. Topology Detection
- Covalent-radius bond detection (38 elements, Alvarez 2008 radii)
- Bond graph traversal for angles, dihedrals, out-of-plane bending (sp² centers), and supplementary linear-angle components for near-linear triplets
2. Wilson B-Matrix
Analytic Cartesian derivatives for all primitive types:
- Bonds, angles: standard Wilson formulae
- Dihedrals / out-of-plane: analytic 4-atom gradient (cross-product formula)
- Linear-angle: stateless perpendicular-axis construction + finite-difference gradient
The B-matrix relates Cartesian displacements to IC displacements:
3. Lindh Model Hessian
Initial diagonal estimate in IC space:
- Bonds: per Lindh
- Angles / linear-angle:
- Dihedrals / out-of-plane:
4. IC Back-Transform
Iterative Newton method loop)
with periodic-angle wrapping; returns (new_xyz, bork) convergence flag.
5. Hessian Update
MSP (mixed-mode) update blending BFGS and Murtagh–Sargent with parameter ; falls back to pure BFGS.
6. Step Engine
Trust-radius method (TRM) with level-shifted Newton step; Brent bisection to satisfy .
7. Convergence
5-criterion Gaussian-style check:
- Energy change ΔE
- Gradient RMS/max
- Displacement RMS/max
Thresholds from ConvergenceCriteria (gaussian_default, gaussian_loose, gaussian_tight).
8. Trust-Radius Update
ρ-based acceptance ratio; shrink on , grow on .