source: sasview/src/sas/sascalc/simulation/geoshapespy/geoshapespymodule/bindings.cc @ d9afe942

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since d9afe942 was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 1.8 KB
Line 
1// -*- C++ -*-
2//
3//  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4//
5//                               Michael A.G. Aivazis
6//                        California Institute of Technology
7//                        (C) 1998-2005  All Rights Reserved
8//
9//  <LicenseText>
10//
11//  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12//
13
14//#include <portinfo>
15#include <Python.h>
16
17#include "bindings.h"
18
19#include "misc.h"          // miscellaneous methods
20
21// the method table
22
23struct PyMethodDef pygeoshapespy_methods[] = {
24
25   //geoshapes methods: set_orientation; set_center
26   {pygeoshapespy_set_orientation__name__, pygeoshapespy_set_orientation,
27    METH_VARARGS, pygeoshapespy_set_orientation__doc__},
28
29   {pygeoshapespy_set_center__name__, pygeoshapespy_set_center,
30    METH_VARARGS, pygeoshapespy_set_center__doc__},
31
32   // new sphere
33   {pyanalmodelpy_new_sphere__name__, pyanalmodelpy_new_sphere,
34    METH_VARARGS, pyanalmodelpy_new_sphere__doc__},
35
36   // new cylinder
37   {pyanalmodelpy_new_cylinder__name__, pyanalmodelpy_new_cylinder,
38    METH_VARARGS, pyanalmodelpy_new_cylinder__doc__},
39
40   // new ellipsoid
41   {pyanalmodelpy_new_ellipsoid__name__, pyanalmodelpy_new_ellipsoid,
42    METH_VARARGS, pyanalmodelpy_new_ellipsoid__doc__},
43
44   // new hollowsphere
45   {pyanalmodelpy_new_hollowsphere__name__, pyanalmodelpy_new_hollowsphere,
46    METH_VARARGS, pyanalmodelpy_new_hollowsphere__doc__},
47
48   // new singlehelix
49   {pyanalmodelpy_new_singlehelix__name__, pyanalmodelpy_new_singlehelix,
50    METH_VARARGS, pyanalmodelpy_new_singlehelix__doc__},
51
52   {pygeoshapespy_copyright__name__, pygeoshapespy_copyright,
53    METH_VARARGS, pygeoshapespy_copyright__doc__},
54
55
56// Sentinel
57    {0, 0}
58};
59
60// version
61// $Id$
62
63// End of file
Note: See TracBrowser for help on using the repository browser.