13 #ifndef HEX_DB_INTERFACES
14 #define HEX_DB_INTERFACES
64 void import (
const char* sqlname);
115 void dump (
const char* dumpname);
137 extern "C" void scattering_amplitude (
138 int const * ni,
int const * li,
int const * mi,
139 int const * nf,
int const * lf,
int const * mf,
140 int const * S,
double const * Ei,
141 int const * N,
double const * theta,
double * amplitudes
162 extern "C" void differential_cross_section (
163 int const * ni,
int const * li,
int const * mi,
164 int const * nf,
int const * lf,
int const * mf,
165 int const * S,
double const * Ei,
166 int const * N,
double const * theta,
double * dsigma
188 extern "C" void momentum_transfer (
189 int const * ni,
int const * li,
int const * mi,
190 int const * nf,
int const * lf,
int const * mf,
191 int const * L,
int const * S,
192 int const * N,
double const * Ei,
double * eta
216 extern "C" void integral_cross_section (
217 int const * ni,
int const * li,
int const * mi,
218 int const * nf,
int const * lf,
int const * mf,
219 int const * L,
int const * S,
220 int const * N,
double const * Ei,
double * sigma
238 extern "C" void complete_cross_section (
239 int const * ni,
int const * li,
int const * mi,
240 int const * nf,
int const * lf,
int const * mf,
241 int const * N,
double const * Ei,
double * sigma
260 extern "C" void extrapolate_cross_section (
261 int const * ni,
int const * li,
int const * mi,
262 int const * nf,
int const * lf,
int const * mf,
263 int const * N,
double const * Ei,
double * sigma
284 extern "C" void collision_strength (
285 int const * ni,
int const * li,
int const * mi,
286 int const * nf,
int const * lf,
int const * mf,
287 int const * L,
int const * S,
288 int const * N,
double const * Ei,
double * omega
304 extern "C" void total_cross_section (
305 int const * ni,
int const * li,
int const * mi,
306 int const * N,
double const * Ei,
double * sigma
void avail()
Print data summary.
Definition: hex-db.cpp:211
void optimize()
Optimize the SQLite database file.
Definition: hex-db.cpp:195
void update()
Update integral and complete cross section.
Definition: hex-db.cpp:164
void initialize(const char *dbname)
Initialize the environment.
Definition: hex-db.cpp:39
void dump(const char *dumpfile)
Dump contents of the T-matrix table.
Definition: hex-db.cpp:262
void create_new_database()
Create new database.
Definition: hex-db.cpp:54