source: sasview/sansmodels/src/sans/models/c_extensions/c_models.c @ 2c4b289

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 2c4b289 was 2c4b289, checked in by Gervaise Alina <gervyh@…>, 15 years ago
  • Property mode set to 100644
File size: 1.3 KB
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 */
12static PyMethodDef module_methods[] = {
13    {NULL}
14};
15
16
17#ifndef PyMODINIT_FUNC  /* declarations for DLL import/export */
18#define PyMODINIT_FUNC void
19#endif
20PyMODINIT_FUNC
21initc_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        addCParallelepipedModel(m);
30        addCCoreShellCylinderModel(m);
31        addCCoreShellModel(m);
32        addCEllipsoidModel(m);
33        addCSphereModel(m);
34        addCHardsphereStructure(m);
35        addCStickyHSStructure(m);
36        addCHayterMSAStructure(m);
37        addCSquareWellStructure(m);
38        addCDiamEllipFunc(m);
39        addCDiamCylFunc(m);
40        addCEllipticalCylinderModel(m);
41        addCTriaxialEllipsoidModel(m);
42        addCFlexibleCylinderModel(m);
43        addCStackedDisksModel(m);
44        addCLamellarPSModel(m);
45        addCLamellarPSHGModel(m);
46        addCProlateModel(m);
47        addCOblateModel(m);
48        addCLamellarModel(m);
49        addCLamellarFFHGModel(m);
50        addDisperser(m);
51        addCGaussian(m);
52        addCLorentzian(m);
53        addCHollowCylinderModel(m);
54        addCMultiShellModel(m);
55        addCVesicleModel(m);
56        addCBinaryHSModel(m);
57        addCBinaryHSPSF11Model(m);
58
59}
Note: See TracBrowser for help on using the repository browser.