MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
pynastran_io.h
Go to the documentation of this file.
1 /* Generated by Cython 0.29.13 */
2 
3 #ifndef __PYX_HAVE__pynastran_io
4 #define __PYX_HAVE__pynastran_io
5 
6 struct BDFModel;
7 
8 /* "pynastran_io.pyx":33
9  *
10  *
11  * cdef public class BDFModel[object BDFModel, type BDFModelType]: # <<<<<<<<<<<<<<
12  * cdef:
13  * string bdfPath
14  */
15 struct BDFModel {
16  PyObject_HEAD
17  std::string bdfPath;
18  int nDims;
19  int nNodes;
20  int nElems;
23  std::map<std::string,int> nElemTypes;
24  PyObject *myBDF;
25 };
26 
27 #ifndef __PYX_HAVE_API__pynastran_io
28 
29 #ifndef __PYX_EXTERN_C
30  #ifdef __cplusplus
31  #define __PYX_EXTERN_C extern "C"
32  #else
33  #define __PYX_EXTERN_C extern
34  #endif
35 #endif
36 
37 #ifndef DL_IMPORT
38  #define DL_IMPORT(_T) _T
39 #endif
40 
41 __PYX_EXTERN_C DL_IMPORT(PyTypeObject) BDFModelType;
42 
43 __PYX_EXTERN_C struct BDFModel *buildBDFModel(std::string);
45 __PYX_EXTERN_C std::vector<std::vector<double> > getNodes(struct BDFModel *);
46 __PYX_EXTERN_C std::map<std::string,std::vector<std::vector<int> > > getElements(struct BDFModel *);
47 __PYX_EXTERN_C std::map<std::string,int> getNumberOfElementTypes(struct BDFModel *);
48 __PYX_EXTERN_C std::map<std::string,std::vector<int> > getSPCs(struct BDFModel *);
49 
50 #endif /* !__PYX_HAVE_API__pynastran_io */
51 
52 /* WARNING: the interface of the module init function changed in CPython 3.5. */
53 /* It now returns a PyModuleDef instance instead of a PyModule instance. */
54 
55 #if PY_MAJOR_VERSION < 3
56 PyMODINIT_FUNC initpynastran_io(void);
57 #else
58 PyMODINIT_FUNC PyInit_pynastran_io(void);
59 #endif
60 
61 #endif /* !__PYX_HAVE__pynastran_io */
PyObject_HEAD std::string bdfPath
Definition: pynastran_io.h:17
__PYX_EXTERN_C void printBDFStats(struct BDFModel *)
#define DL_IMPORT(_T)
Definition: pynastran_io.h:38
__PYX_EXTERN_C std::map< std::string, std::vector< std::vector< int > > > getElements(struct BDFModel *)
__PYX_EXTERN_C std::vector< std::vector< double > > getNodes(struct BDFModel *)
#define __PYX_EXTERN_C
Definition: pynastran_io.h:33
__PYX_EXTERN_C std::map< std::string, int > getNumberOfElementTypes(struct BDFModel *)
PyObject * myBDF
Definition: pynastran_io.h:24
__PYX_EXTERN_C struct BDFModel * buildBDFModel(std::string)
int nProperties
Definition: pynastran_io.h:22
__PYX_EXTERN_C std::map< std::string, std::vector< int > > getSPCs(struct BDFModel *)
PyMODINIT_FUNC initpynastran_io(void)
int nNodes
Definition: pynastran_io.h:19
int nMaterials
Definition: pynastran_io.h:21
int nElems
Definition: pynastran_io.h:20
std::map< std::string, int > nElemTypes
Definition: pynastran_io.h:23