source: issm/trunk-jpl/src/modules/ContourToNodes/ContourToNodes.h@ 13213

Last change on this file since 13213 was 13213, checked in by Mathieu Morlighem, 13 years ago

CHG: preparing mex module conversion to python

File size: 983 bytes
RevLine 
[1103]1/*
2 ContourToNodes.h
3*/
4
5#ifndef _CONTOURTONODES_H
6#define _CONTOURTONODES_H
7
[13211]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
[13213]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
[1103]19/* local prototypes: */
20void ContourToNodesUsage(void);
21
[11933]22#include "../../c/include/globals.h"
[3913]23#include "../../c/modules/modules.h"
[4236]24#include "../../c/Container/Container.h"
[3712]25#include "../../c/shared/shared.h"
[12013]26#include "../../c/issm-binding.h"
[1103]27
28#undef __FUNCT__
29#define __FUNCT__ "ContourToNodes"
30
31
32#ifndef ALL
33#define ALL 0
34#endif
35
36/* input macros: */
37#define XHANDLE prhs[0]
38#define YHANDLE prhs[1]
[5019]39#define FILENAME prhs[2]
[1103]40#define EDGEVALUEHANDLE prhs[3]
41
42/* serial output macros: */
43#define FLAGS (mxArray**)&plhs[0]
44
45/* serial arg counts: */
46#undef NLHS
[3249]47#define NLHS 1
[1103]48#undef NRHS
49#define NRHS 4
50
51
52#endif /* _CONTOURTONODES_H */
53
Note: See TracBrowser for help on using the repository browser.