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.
Macros | |
#define | tblite_new_cpcm_solvation(ctx, mol, calc, x) |
#define | tblite_new_alpb_solvation(ctx, mol, calc, x) |
Typedefs | |
typedef struct _tblite_container * | tblite_container |
Interaction container. | |
Provides an interaction container which can be added to a tblite_calculator.
#define tblite_new_alpb_solvation | ( | ctx, | |
mol, | |||
calc, | |||
x ) |
#define tblite_new_cpcm_solvation | ( | ctx, | |
mol, | |||
calc, | |||
x ) |
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_alpb_solvation_epsilon | ( | tblite_context | ctx, |
tblite_structure | mol, | ||
tblite_calculator | calc, | ||
double | eps ) |
Create new ALPB implicit solvation container using internal parameters
ctx | Context handle |
mol | Molecular structure data |
calc | Calculator instance |
eps | epsilon value of solvent |
TBLITE_API_ENTRY tblite_container TBLITE_API_CALL tblite_new_alpb_solvation_solvent | ( | tblite_context | ctx, |
tblite_structure | mol, | ||
tblite_calculator | calc, | ||
char * | solvent ) |
Create new ALPB implicit solvation container using internal parameters
ctx | Context handle |
mol | Molecular structure data |
calc | Calculator instance |
solvent | Solvent to be modelled, can be given as name of solvent or epsilon value |
TBLITE_API_ENTRY tblite_container TBLITE_API_CALL tblite_new_cpcm_solvation_epsilon | ( | tblite_context | ctx, |
tblite_structure | mol, | ||
tblite_calculator | calc, | ||
double | eps ) |
Create new CPCM implicit solvation container using internal parameters
ctx | Context handle |
mol | Molecular structure data |
calc | Calculator instance |
eps | epsilon value for solvent |
TBLITE_API_ENTRY tblite_container TBLITE_API_CALL tblite_new_cpcm_solvation_solvent | ( | tblite_context | ctx, |
tblite_structure | mol, | ||
tblite_calculator | calc, | ||
char * | solvent ) |
Create new CPCM implicit solvation container using internal parameters
ctx | Context handle |
mol | Molecular structure data |
calc | Calculator instance |
solvent | Solvent to be modelled, can be given as name of solvent or epsilon value |
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) |