Hex  1.0
Hydrogen-electron collision solver
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
interfaces.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
2  * *
3  * / / / / __ \ \ / / *
4  * / /__ / / / _ \ \ \/ / *
5  * / ___ / | |/_/ / /\ \ *
6  * / / / / \_\ / / \ \ *
7  * *
8  * Jakub Benda (c) 2014 *
9  * Charles University in Prague *
10  * *
11 \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12 
13 #ifndef HEX_DB_INTERFACES
14 #define HEX_DB_INTERFACES
15 
34 void initialize (const char* dbname);
35 
48 void create_new_database ();
49 
64 void import (const char* sqlname);
65 
79 void update ();
80 
86 void optimize ();
87 
103 void avail ();
104 
115 void dump (const char* dumpname);
116 
117 #if 0
118 
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
142 );
143 
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
167 );
168 
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
193 );
194 
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
221 );
222 
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
242 );
243 
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
264 );
265 
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
289 );
290 
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
307 );
308 
309 #endif
310 
311 #endif
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