LibrpaOpticalResult Struct Reference#
|
LibRPA
|
#include <librpa_compute.h>
Detailed Description
Independently owned, rank-local snapshot of numerical optical outputs. Obtain this structure with librpa_get_optical_result and release it only with librpa_delete_optical_result. Do not modify its fields, free its arrays, or pass a copied structure to the deletion function. All arrays are read-only and remain valid until that original result is deleted, including after the handler is changed or destroyed. Empty arrays have null pointers.
Complex arrays are row-major, interleaved [real,imag]. Velocity is [n_spins][n_kpoints][3][n_states][n_states][2], in Hartree*Bohr; frequencies_ha contains n_frequencies imaginary-frequency nodes in Hartree. Head and wing are [n_frequencies][rows][columns][2], with their respective dimensions below. Head is dimensionless; the auxiliary-basis wing uses LibRPA's Coulomb-normalized response convention. No MPI gathering is done.
The documentation for this struct was generated from the following file:
Generated by