source: sasview/sansmodels/src/sans/models/prototypes/src/c_models.c @ ae3ce4e

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 ae3ce4e was ae3ce4e, checked in by Mathieu Doucet <doucetm@…>, 17 years ago

Moving sansmodels to trunk

  • Property mode set to 100644
File size: 815 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/// CVS information
10static char cvsid[] = "$Id: BaseCComponent.c,v 1.4 2007/03/23 20:50:58 doucet Exp $";
11
12
13/**
14 * Define empty module
15 */
16static PyMethodDef module_methods[] = {
17    {NULL} 
18};
19
20
21#ifndef PyMODINIT_FUNC  /* declarations for DLL import/export */
22#define PyMODINIT_FUNC void
23#endif
24PyMODINIT_FUNC
25initc_models(void) 
26{
27    PyObject* m;
28
29    m = Py_InitModule3("c_models", module_methods,
30                       "C extension module for SANS scattering models.");
31                       
32        addCTestSphere2(m);
33        addCSimCylinder(m);
34        addCSmearCylinderModel(m);
35        addCDispCylinderModel(m);
36        addCSimCylinderF(m);
37        addCSimSphereF(m);
38        addCCanvas(m);
39}
Note: See TracBrowser for help on using the repository browser.