Localized Orbital Scaling Correction (LOSC) C library
correction.h
Go to the documentation of this file.
1 
6 #ifndef _LOSC_INCLUDE_C_LOSC_CORRECTION_H_
7 #define _LOSC_INCLUDE_C_LOSC_CORRECTION_H_
8 
9 #include <c_losc/matrix.h>
10 #include <stddef.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
51 losc_matrix *losc_ao_hamiltonian_correction(const losc_matrix *S,
52  const losc_matrix *C_lo,
53  const losc_matrix *Curvature,
54  const losc_matrix *LocalOcc);
55 
66 double energy_correction(const losc_matrix *Curvature,
67  const losc_matrix *LocalOcc);
68 
101 double *orbital_energy_post_scf(const losc_matrix *H_dfa,
102  const losc_matrix *H_losc,
103  const losc_matrix *C_co);
104 
105 #ifdef __cplusplus
106 }
107 #endif
108 
109 #endif
double * orbital_energy_post_scf(const losc_matrix *H_dfa, const losc_matrix *H_losc, const losc_matrix *C_co)
Calculate corrected orbital energy from LOSC in a post-SCF approach.
losc_matrix * losc_ao_hamiltonian_correction(const losc_matrix *S, const losc_matrix *C_lo, const losc_matrix *Curvature, const losc_matrix *LocalOcc)
Calculate LOSC effective Hamiltonian under AO basis.
The C interface of matrix used in LOSC.
double energy_correction(const losc_matrix *Curvature, const losc_matrix *LocalOcc)
Calculate the total energy correction from LOSC.