22#define XTB_API_SUFFIX__VERSION_2_0_0
25#define XTB_API_VERSION 20000
26#define XTB_VERSION_6_3_0 1
27#define XTB_VERSION_6_3_1 1
28#define XTB_VERSION_6_3_2 1
29#define XTB_VERSION_6_3_3 1
32#define XTB_VERBOSITY_FULL 2
33#define XTB_VERBOSITY_MINIMAL 1
34#define XTB_VERBOSITY_MUTED 0
37#define xtb_delete(ptr) _Generic((ptr), \
38 xtb_TEnvironment: xtb_delEnvironment, \
39 xtb_TMolecule: xtb_delMolecule, \
40 xtb_TCalculator: xtb_delCalculator, \
41 xtb_TResults: xtb_delResults \
XTB_API_ENTRY void XTB_API_CALL xtb_cpcmx_calc(xtb_TEnvironment, xtb_TMolecule, xtb_TCalculator, xtb_TResults) XTB_API_SUFFIX__VERSION_2_0_0
XTB_API_ENTRY void XTB_API_CALL xtb_getBondOrders(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for bond orders.
XTB_API_ENTRY void XTB_API_CALL xtb_getGradient(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for gradient in Hartree / Bohr.
XTB_API_ENTRY xtb_TCalculator XTB_API_CALL xtb_newCalculator(void) XTB_API_SUFFIX__VERSION_2_0_0
Create new calculator object.
XTB_API_ENTRY xtb_TMolecule XTB_API_CALL xtb_newMolecule(xtb_TEnvironment, const int *, const int *, const double *, const double *, const int *, const double *, const bool *) XTB_API_SUFFIX__VERSION_2_0_0
Create new molecular structure data (quantities in Bohr).
struct _xtb_TCalculator * xtb_TCalculator
Single point calculator class.
XTB_API_ENTRY xtb_TResults XTB_API_CALL xtb_copyResults(xtb_TResults) XTB_API_SUFFIX__VERSION_2_0_0
Create copy from a singlepoint results object.
XTB_API_ENTRY void XTB_API_CALL xtb_getEnergy(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for energy in Hartree.
XTB_API_ENTRY void XTB_API_CALL xtb_releaseSolvent(xtb_TEnvironment, xtb_TCalculator) XTB_API_SUFFIX__VERSION_2_0_0
Unset the solvation model.
struct _xtb_TEnvironment * xtb_TEnvironment
Calculation environment class.
XTB_API_ENTRY void XTB_API_CALL xtb_hessian(xtb_TEnvironment, xtb_TMolecule, xtb_TCalculator, xtb_TResults, double *, int *, int *, double *, double *) XTB_API_SUFFIX__VERSION_2_0_0
Perform hessian calculation.
XTB_API_ENTRY void XTB_API_CALL xtb_loadGFN0xTB(xtb_TEnvironment, xtb_TMolecule, xtb_TCalculator, char *) XTB_API_SUFFIX__VERSION_2_0_0
Load GFN0-xTB calculator.
XTB_API_ENTRY void XTB_API_CALL xtb_getOrbitalOccupations(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for occupation numbers [nao].
XTB_API_ENTRY void XTB_API_CALL xtb_setSolvent(xtb_TEnvironment, xtb_TCalculator, char *, int *, double *, int *, char *) XTB_API_SUFFIX__VERSION_2_0_0
Add a solvation model to calculator (requires loaded parametrisation).
XTB_API_ENTRY int XTB_API_CALL xtb_checkEnvironment(xtb_TEnvironment) XTB_API_SUFFIX__VERSION_2_0_0
Check current status of calculation environment.
XTB_API_ENTRY void XTB_API_CALL xtb_delMolecule(xtb_TMolecule *) XTB_API_SUFFIX__VERSION_2_0_0
Delete molecular structure data.
XTB_API_ENTRY void XTB_API_CALL xtb_delResults(xtb_TResults *) XTB_API_SUFFIX__VERSION_2_0_0
Delete singlepoint results object.
XTB_API_ENTRY void XTB_API_CALL xtb_getNao(xtb_TEnvironment, xtb_TResults, int *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for the number of basis functions.
XTB_API_ENTRY void XTB_API_CALL xtb_updateMolecule(xtb_TEnvironment, xtb_TMolecule, const double *, const double *) XTB_API_SUFFIX__VERSION_2_0_0
Update coordinates and lattice parameters (quantities in Bohr).
XTB_API_ENTRY void XTB_API_CALL xtb_setElectronicTemp(xtb_TEnvironment, xtb_TCalculator, double) XTB_API_SUFFIX__VERSION_2_0_0
Set electronic temperature for level filling in tight binding calculators in K.
struct _xtb_TMolecule * xtb_TMolecule
Molecular structure data class.
XTB_API_ENTRY void XTB_API_CALL xtb_loadGFNFF(xtb_TEnvironment, xtb_TMolecule, xtb_TCalculator, char *) XTB_API_SUFFIX__VERSION_2_0_0
Load GFN-FF calculator.
XTB_API_ENTRY xtb_TEnvironment XTB_API_CALL xtb_newEnvironment(void) XTB_API_SUFFIX__VERSION_2_0_0
Create new xtb calculation environment object.
XTB_API_ENTRY void XTB_API_CALL xtb_setExternalCharges(xtb_TEnvironment, xtb_TCalculator, int *, int *, double *, double *) XTB_API_SUFFIX__VERSION_2_0_0
Add a external charge potential to calculator (only supported in GFN1/2-xTB).
XTB_API_ENTRY void XTB_API_CALL xtb_releaseExternalCharges(xtb_TEnvironment, xtb_TCalculator) XTB_API_SUFFIX__VERSION_2_0_0
Unset the external charge potential.
XTB_API_ENTRY void XTB_API_CALL xtb_loadGFN1xTB(xtb_TEnvironment, xtb_TMolecule, xtb_TCalculator, char *) XTB_API_SUFFIX__VERSION_2_0_0
Load GFN1-xTB calculator.
XTB_API_ENTRY void XTB_API_CALL xtb_getOrbitalEigenvalues(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for orbital energies in Hartree [nao].
XTB_API_ENTRY void XTB_API_CALL xtb_setVerbosity(xtb_TEnvironment, int) XTB_API_SUFFIX__VERSION_2_0_0
Set verbosity of calculation output.
XTB_API_ENTRY void XTB_API_CALL xtb_getCharges(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for partial charges in e.
XTB_API_ENTRY void XTB_API_CALL xtb_releaseOutput(xtb_TEnvironment) XTB_API_SUFFIX__VERSION_2_0_0
Release output unit from this environment.
XTB_API_ENTRY void XTB_API_CALL xtb_delEnvironment(xtb_TEnvironment *) XTB_API_SUFFIX__VERSION_2_0_0
Delete a xtb calculation environment object.
XTB_API_ENTRY void XTB_API_CALL xtb_getOrbitalCoefficients(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for orbital coefficients [nao][nao].
XTB_API_ENTRY void XTB_API_CALL xtb_setAccuracy(xtb_TEnvironment, xtb_TCalculator, double) XTB_API_SUFFIX__VERSION_2_0_0
Set numerical accuracy of calculator in the range of 1000 to 0.0001.
XTB_API_ENTRY xtb_TResults XTB_API_CALL xtb_newResults(void) XTB_API_SUFFIX__VERSION_2_0_0
Create new singlepoint results object.
XTB_API_ENTRY void XTB_API_CALL xtb_setOutput(xtb_TEnvironment, const char *) XTB_API_SUFFIX__VERSION_2_0_0
Bind output from this environment.
XTB_API_ENTRY void XTB_API_CALL xtb_setMaxIter(xtb_TEnvironment, xtb_TCalculator, int) XTB_API_SUFFIX__VERSION_2_0_0
Set maximum number of iterations for self-consistent TB calculators.
XTB_API_ENTRY void XTB_API_CALL xtb_loadGFN2xTB(xtb_TEnvironment, xtb_TMolecule, xtb_TCalculator, char *) XTB_API_SUFFIX__VERSION_2_0_0
Load GFN2-xTB calculator.
XTB_API_ENTRY int XTB_API_CALL xtb_getAPIVersion() XTB_API_SUFFIX__VERSION_2_0_0
Returns API version as 10000 * major + 100 * minor + 1 * patch.
XTB_API_ENTRY void XTB_API_CALL xtb_getDipole(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for dipole in e Bohr.
XTB_API_ENTRY void XTB_API_CALL xtb_getVirial(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for virial in Hartree.
#define XTB_API_SUFFIX__VERSION_2_0_0
XTB_API_ENTRY void XTB_API_CALL xtb_singlepoint(xtb_TEnvironment, xtb_TMolecule, xtb_TCalculator, xtb_TResults) XTB_API_SUFFIX__VERSION_2_0_0
Perform singlepoint calculation.
XTB_API_ENTRY void XTB_API_CALL xtb_getError(xtb_TEnvironment, char *, const int *) XTB_API_SUFFIX__VERSION_2_0_0
Return and empty error stack.
XTB_API_ENTRY void XTB_API_CALL xtb_getSolvationEnergy(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for solvation energy in Hartree.
struct _xtb_TResults * xtb_TResults
Single point results class.
XTB_API_ENTRY void XTB_API_CALL xtb_showEnvironment(xtb_TEnvironment, const char *) XTB_API_SUFFIX__VERSION_2_0_0
Show and empty error stack.
XTB_API_ENTRY void XTB_API_CALL xtb_delCalculator(xtb_TCalculator *) XTB_API_SUFFIX__VERSION_2_0_0
Delete calculator object.
XTB_API_ENTRY void XTB_API_CALL xtb_getPCGradient(xtb_TEnvironment, xtb_TResults, double *) XTB_API_SUFFIX__VERSION_2_0_0
Query singlepoint results object for pc gradient in Hartree / Bohr.