tblite
Light-weight tight-binding framework
|
Provides a storage container tblite_result for all persistent quantities produced in a calculation by tblite_get_singlepoint. The data stored in tblite_result can be used as restart data for subsequent calculations. More...
Go to the source code of this file.
Typedefs | |
typedef struct _tblite_result * | tblite_result |
Container to for storing and handling calculation results. | |
Provides a storage container tblite_result for all persistent quantities produced in a calculation by tblite_get_singlepoint. The data stored in tblite_result can be used as restart data for subsequent calculations.
The individual entries of the tblite_result container can be queried and retrieved. For some quantities, like the count of the shells and orbitals duplicated queries are implemented to allow the usage of the tblite_result container without requiring access to the tblite_calculator which produced it.
TBLITE_API_ENTRY tblite_result TBLITE_API_CALL tblite_copy_result | ( | tblite_result | res | ) |
Create new result container from existing container
res | Existing result container |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_delete_result | ( | tblite_result * | res | ) |
Delete a calculation environment object
res | Result container |
TBLITE_API_ENTRY tblite_double_dictionary TBLITE_API_CALL tblite_get_post_processing_dict | ( | tblite_error | error, |
tblite_result | res ) |
Retrieve Hamiltonian matrix from result container
error | Handle for error messages |
res | Result container |
dict | Pointer to dictionary object |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_bond_orders | ( | tblite_error | error, |
tblite_result | res, | ||
double * | mbo ) |
Retrieve bond orders from result container
error | Handle for error messages |
res | Result container |
mbo | Bond orders, shape [nat][nat] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_charges | ( | tblite_error | error, |
tblite_result | res, | ||
double * | charges ) |
Retrieve atomic charges from result container
error | Handle for error messages |
res | Result container |
charges | Atomic partial charges, shape [nat] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_density_matrix | ( | tblite_error | error, |
tblite_result | res, | ||
double * | pmat ) |
Retrieve density matrix from result container
error | Handle for error messages |
res | Result container |
pmat | Density matrix, shape [nspin][nao][nao] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_dipole | ( | tblite_error | error, |
tblite_result | res, | ||
double | dipole[3] ) |
Retrieve dipole moment from result container (order x, y, z)
error | Handle for error messages |
res | Result container |
dipole | Total dipole moment, shape [3] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_energies | ( | tblite_error | error, |
tblite_result | res, | ||
double * | energies ) |
Retrieve atom-resolved energies from result container
error | Handle for error messages |
res | Result container |
energies | Atom-resolved energies, shape [nat] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_energy | ( | tblite_error | error, |
tblite_result | res, | ||
double * | energy ) |
Retrieve energy from result container
error | Handle for error messages |
res | Result container |
energy | Total energy |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_gradient | ( | tblite_error | error, |
tblite_result | res, | ||
double * | gradient ) |
Retrieve gradient from result container
error | Handle for error messages |
res | Result container |
gradient | Cartesian gradient, shape [nat][3] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_hamiltonian_matrix | ( | tblite_error | error, |
tblite_result | res, | ||
double * | hmat ) |
Retrieve Hamiltonian matrix from result container
error | Handle for error messages |
res | Result container |
hmat | Hamiltonian matrix, shape [nao][nao] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_number_of_atoms | ( | tblite_error | error, |
tblite_result | res, | ||
int * | nat ) |
Retrieve number of atoms from result container
error | Handle for error messages |
res | Result container |
nat | Number of atoms |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_number_of_orbitals | ( | tblite_error | error, |
tblite_result | res, | ||
int * | nao ) |
Retrieve number of orbitals from result container
error | Handle for error messages |
res | Result container |
nao | Number of orbitals |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_number_of_shells | ( | tblite_error | error, |
tblite_result | res, | ||
int * | nsh ) |
Retrieve number of shells from result container
error | Handle for error messages |
res | Result container |
nsh | Number of shells |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_number_of_spins | ( | tblite_error | error, |
tblite_result | res, | ||
int * | nspin ) |
Retrieve number of spins from result container
error | Handle for error messages |
res | Result container |
nspin | Number of spins |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_orbital_coefficients | ( | tblite_error | error, |
tblite_result | res, | ||
double * | cmat ) |
Retrieve orbital coefficients from result container
error | Handle for error messages |
res | Result container |
cmat | Orbital coefficient matrix, shape [nspin][nao][nao] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_orbital_energies | ( | tblite_error | error, |
tblite_result | res, | ||
double * | emo ) |
Retrieve orbital energies from result container
error | Handle for error messages |
res | Result container |
emo | Eigenvalues for each orbital |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_orbital_occupations | ( | tblite_error | error, |
tblite_result | res, | ||
double * | occ ) |
Retrieve orbital occupations from result container
error | Handle for error messages |
res | Result container |
occ | Occupation numbers for each orbital |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_overlap_matrix | ( | tblite_error | error, |
tblite_result | res, | ||
double * | smat ) |
Retrieve overlap matrix from result container
error | Handle for error messages |
res | Result container |
smat | Overlap matrix, shape [nao][nao] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_quadrupole | ( | tblite_error | error, |
tblite_result | res, | ||
double | quadrupole[6] ) |
Retrieve traceless quadrupole moment from result container (packed xx, xy, yy, xz, yz, zz)
error | Handle for error messages |
res | Result container |
quadrupole | Total traceless quadrupole moment, shape [6] |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_get_result_virial | ( | tblite_error | error, |
tblite_result | res, | ||
double * | sigma ) |
Retrieve virial from result container
error | Handle for error messages |
res | Result container |
sigma | Strain derivatives, shape [3][3] |
TBLITE_API_ENTRY tblite_result TBLITE_API_CALL tblite_new_result | ( | void | ) |
Create new result container