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 1fbb343 was
25579e8,
checked in by Jae Cho <jhjcho@…>, 16 years ago
|
Enable structure factors
|
-
Property mode set to
100644
|
File size:
856 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 | addCEllipticalCylinderModel(m); |
---|
38 | addDisperser(m); |
---|
39 | addCGaussian(m); |
---|
40 | addCLorentzian(m); |
---|
41 | |
---|
42 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.