tblite
Light-weight tight-binding framework
|
Provides an interaction container which can be added to a tblite_calculator. More...
#include "tblite/macros.h"
#include "tblite/structure.h"
#include "tblite/calculator.h"
#include "tblite/context.h"
Go to the source code of this file.
Typedefs | |
typedef struct _tblite_container * | tblite_container |
Interaction container. | |
Functions | |
TBLITE_API_ENTRY tblite_container TBLITE_API_CALL | tblite_new_electric_field (double *efield) |
TBLITE_API_ENTRY tblite_container TBLITE_API_CALL | tblite_new_spin_polarization (tblite_context ctx, tblite_structure mol, tblite_calculator calc, double wscale) |
TBLITE_API_ENTRY void TBLITE_API_CALL | tblite_calculator_push_back (tblite_context ctx, tblite_calculator calc, tblite_container *cont) |
TBLITE_API_ENTRY void TBLITE_API_CALL | tblite_delete_container (tblite_container *cont) |
Provides an interaction container which can be added to a tblite_calculator.
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_calculator_push_back | ( | tblite_context | ctx, |
tblite_calculator | calc, | ||
tblite_container * | cont ) |
Add container to calculator object.
Note: Ownership is transferred and container handle is destroyed after function call
ctx | Context handle |
calc | Calculator instance |
cont | Interaction container |
TBLITE_API_ENTRY void TBLITE_API_CALL tblite_delete_container | ( | tblite_container * | cont | ) |
Delete container handle
cont | Container handle |
TBLITE_API_ENTRY tblite_container TBLITE_API_CALL tblite_new_electric_field | ( | double * | efield | ) |
Create new electric field container
efield | Electric field in atomic units (Hartree/(Bohr*e)), shape: [3] |
TBLITE_API_ENTRY tblite_container TBLITE_API_CALL tblite_new_spin_polarization | ( | tblite_context | ctx, |
tblite_structure | mol, | ||
tblite_calculator | calc, | ||
double | wscale ) |
Create new spin polarization container using internal parameters
ctx | Context handle |
mol | Molecular structure data |
calc | Calculator instance |
wscale | Scaling factor for spin polarization (default: 1) |