Localized Orbital Scaling Correction (LOSC) C library
|
The C interface for LOSC localization. More...
Go to the source code of this file.
Classes | |
struct | LoscLocalizerBase |
The C interface for LOSC localizer base. More... | |
struct | LoscLocalizerV2 |
The C interface for LOSC localizer version 2. More... | |
Macros | |
#define | losc_localizer_v2_free(ptr) _losc_localizer_v2_free(&(ptr)) |
Free a LoscLoscLocalizerV2. More... | |
Typedefs | |
typedef struct LoscLocalizerBase | LoscLocalizerBase |
The C interface for LOSC localizer base. More... | |
typedef struct LoscLocalizerV2 | LoscLocalizerV2 |
The C interface for LOSC localizer version 2. More... | |
Functions | |
LoscLocalizerV2 * | losc_localizer_v2_create (const losc_matrix *C_lo_basis, const losc_matrix *H_ao, const losc_matrix *D_ao[3]) |
Constructor of LoscLoscLocalizerV2. More... | |
The C interface for LOSC localization.
#define losc_localizer_v2_free | ( | ptr | ) | _losc_localizer_v2_free(&(ptr)) |
Free a LoscLoscLocalizerV2.
[in,out] | ptr | a pointer with type LoscLocalizerV2 * . At exit, ptr is set to null. |
typedef struct LoscLocalizerBase LoscLocalizerBase |
The C interface for LOSC localizer base.
typedef struct LoscLocalizerV2 LoscLocalizerV2 |
The C interface for LOSC localizer version 2.
LOSC localization version 2 is defined in Eq. 7 in the LOSC2 paper (J. Phys. Chem. Lett. 2020, 11, 4, 1528–1535).
LoscLocalizerV2* losc_localizer_v2_create | ( | const losc_matrix * | C_lo_basis, |
const losc_matrix * | H_ao, | ||
const losc_matrix * | D_ao[3] | ||
) |
Constructor of LoscLoscLocalizerV2.
[in] | C_lo_basis | LO basis coefficient matrix under AO with dimension [nbasis, nlo] . |
[in] | H_ao | Hamiltonian matrix under AO used in localization with dimension [nbasis, nbasis] . |
[in] | D_ao | dipole matrix under AO in x, y and z order with dimension [nbasis, nbasis] . |