Struct IVCoordData

Struct Documentation

struct IVCoordData

Holds the optimized geometry and imaginary-mode displacement vectors parsed from a quantum chemistry frequency output file.

The displacement vectors (disps) are the raw mass-weighted normalized Cartesian eigenvectors as printed by the QC program. They are applied directly as a Cartesian delta (no additional mass-weighting) in accordance with the established QRC convention.

Public Functions

inline IVCoordData()

Public Members

int natom

Number of atoms.

std::vector<std::string> elements

Element symbols (size natom)

std::vector<std::array<double, 3>> coords

Optimized coordinates, Angstrom (size natom)

std::vector<std::array<double, 3>> disps

Displacement eigenvectors for 1st imaginary mode (size natom)

double im_freq

Imaginary frequency value (cm⁻¹, negative)

int mode_index

0-based mode index in the output file

bool parsed_ok

True if parsing succeeded.

std::string error_message

Human-readable error when parsed_ok == false.