source: issm/trunk-jpl/src/wrappers/BamgConvertMesh/BamgConvertMesh.h@ 20305

Last change on this file since 20305 was 14996, checked in by Eric.Larour, 12 years ago

CHG: integrated Container/ directory into src/c/classes/objects directory. No reason to have the containers
and the objects that they contain defined in different places.

File size: 1.2 KB
Line 
1/*!\file BamgConvertMesh.h
2 * \brief: prototype for Data Interpolation mex module.
3 */
4
5#ifndef _BAMGCONVERTMESH_H
6#define _BAMGCONVERTMESH_H
7
8#ifdef HAVE_CONFIG_H
9 #include <config.h>
10#else
11 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
12#endif
13
14/*For python modules: needs to come before header files inclusion*/
15#ifdef _HAVE_PYTHON_
16#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
17#endif
18
19#include "../bindings.h"
20#include "../../c/main/globals.h"
21#include "../../c/modules/modules.h"
22#include "../../c/shared/shared.h"
23#include "../../c/shared/io/io.h"
24
25#undef __FUNCT__
26#define __FUNCT__ "BamgConvertMesh"
27
28#ifdef _HAVE_MATLAB_MODULES_
29/* serial input macros: */
30#define INDEXHANDLE prhs[0]
31#define XHANDLE prhs[1]
32#define YHANDLE prhs[2]
33/* serial output macros: */
34#define BAMGMESHOUT (mxArray**)&plhs[0]
35#define BAMGGEOMOUT (mxArray**)&plhs[1]
36#endif
37
38#ifdef _HAVE_PYTHON_MODULES_
39/* serial input macros: */
40#define INDEXHANDLE PyTuple_GetItem(args,0)
41#define XHANDLE PyTuple_GetItem(args,1)
42#define YHANDLE PyTuple_GetItem(args,2)
43/* serial output macros: */
44#define BAMGMESHOUT output,0
45#define BAMGGEOMOUT output,1
46#endif
47
48/* serial arg counts: */
49#undef NLHS
50#define NLHS 2
51#undef NRHS
52#define NRHS 3
53
54#endif
Note: See TracBrowser for help on using the repository browser.