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 3fef0a8 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
|
Rev | Line | |
---|
[ae3ce4e] | 1 | /** c_models |
---|
| 2 | * |
---|
[af03ddd] | 3 | * Module containing all SANS model extensions |
---|
[ae3ce4e] | 4 | * |
---|
| 5 | * @author M.Doucet / UTK |
---|
| 6 | */ |
---|
| 7 | #include <Python.h> |
---|
| 8 | |
---|
| 9 | /** |
---|
| 10 | * Define empty module |
---|
| 11 | */ |
---|
| 12 | static PyMethodDef module_methods[] = { |
---|
[af03ddd] | 13 | {NULL} |
---|
[ae3ce4e] | 14 | }; |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | #ifndef PyMODINIT_FUNC /* declarations for DLL import/export */ |
---|
| 18 | #define PyMODINIT_FUNC void |
---|
| 19 | #endif |
---|
| 20 | PyMODINIT_FUNC |
---|
[af03ddd] | 21 | initc_models(void) |
---|
[ae3ce4e] | 22 | { |
---|
| 23 | PyObject* m; |
---|
| 24 | |
---|
| 25 | m = Py_InitModule3("c_models", module_methods, |
---|
| 26 | "C extension module for SANS scattering models."); |
---|
[af03ddd] | 27 | |
---|
[ae3ce4e] | 28 | addCCylinderModel(m); |
---|
| 29 | addCCoreShellCylinderModel(m); |
---|
| 30 | addCCoreShellModel(m); |
---|
| 31 | addCEllipsoidModel(m); |
---|
| 32 | addCSphereModel(m); |
---|
[25579e8] | 33 | addCHardsphereStructure(m); |
---|
| 34 | addCStickyHSStructure(m); |
---|
| 35 | addCHayterMSAStructure(m); |
---|
| 36 | addCSquareWellStructure(m); |
---|
[db1dcef] | 37 | addCDiamEllipFunc(m); |
---|
| 38 | addCDiamCylFunc(m); |
---|
[ae3ce4e] | 39 | addCEllipticalCylinderModel(m); |
---|
| 40 | addDisperser(m); |
---|
| 41 | addCGaussian(m); |
---|
| 42 | addCLorentzian(m); |
---|
| 43 | |
---|
| 44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.