ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since f99a6b1 was
db1dcef,
checked in by Jae Cho <jhjcho@…>, 16 years ago
|
Added 2nd virial coeff. functions
|
-
Property mode set to
100644
|
File size:
902 bytes
|
Line | |
---|
1 | /** c_models |
---|
2 | * |
---|
3 | * Module containing all SANS model extensions |
---|
4 | * |
---|
5 | * @author M.Doucet / UTK |
---|
6 | */ |
---|
7 | #include <Python.h> |
---|
8 | |
---|
9 | /** |
---|
10 | * Define empty module |
---|
11 | */ |
---|
12 | static PyMethodDef module_methods[] = { |
---|
13 | {NULL} |
---|
14 | }; |
---|
15 | |
---|
16 | |
---|
17 | #ifndef PyMODINIT_FUNC /* declarations for DLL import/export */ |
---|
18 | #define PyMODINIT_FUNC void |
---|
19 | #endif |
---|
20 | PyMODINIT_FUNC |
---|
21 | initc_models(void) |
---|
22 | { |
---|
23 | PyObject* m; |
---|
24 | |
---|
25 | m = Py_InitModule3("c_models", module_methods, |
---|
26 | "C extension module for SANS scattering models."); |
---|
27 | |
---|
28 | addCCylinderModel(m); |
---|
29 | addCCoreShellCylinderModel(m); |
---|
30 | addCCoreShellModel(m); |
---|
31 | addCEllipsoidModel(m); |
---|
32 | addCSphereModel(m); |
---|
33 | addCHardsphereStructure(m); |
---|
34 | addCStickyHSStructure(m); |
---|
35 | addCHayterMSAStructure(m); |
---|
36 | addCSquareWellStructure(m); |
---|
37 | addCDiamEllipFunc(m); |
---|
38 | addCDiamCylFunc(m); |
---|
39 | addCEllipticalCylinderModel(m); |
---|
40 | addDisperser(m); |
---|
41 | addCGaussian(m); |
---|
42 | addCLorentzian(m); |
---|
43 | |
---|
44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.