Expand description
Core geometry and state data structures for molecular representations.
This module provides the fundamental data types for representing molecular geometries and electronic states in MECP calculations. It includes:
Geometry: Molecular structure with element types and Cartesian coordinatesState: Electronic state with energy, forces, and associated geometry
§Unit Conventions
- Coordinates: Stored in Angstrom (Å) - the standard unit for molecular geometry
- Forces/Gradients: Stored in Hartree/Angstrom (Ha/Å) - converted from native QM output
- Energy: Stored in Hartree (Ha)
Structs§
- Geometry
- Represents a molecular geometry with atomic elements and Cartesian coordinates.
- State
- Represents an electronic state of a molecule with energy, forces, and geometry.
Constants§
- ANGSTROM_
TO_ 🔒BOHR - BOHR_
TO_ 🔒ANGSTROM - Unit conversion constants for coordinate systems
Functions§
- angstrom_
to_ bohr - Convert coordinates from Angstroms to Bohrs
- bohr_
to_ angstrom - Convert coordinates from Bohrs to Angstroms
- forces_
bohr_ to_ angstrom - Convert forces from Hartree/Bohr to Hartree/Angstrom.