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
Line 
1/*
2 ContourToNodes.h
3*/
4
5#ifndef _CONTOURTONODES_H
6#define _CONTOURTONODES_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/* local prototypes: */
20void ContourToNodesUsage(void);
21
22#include "../../c/include/globals.h"
23#include "../../c/modules/modules.h"
24#include "../../c/Container/Container.h"
25#include "../../c/shared/shared.h"
26#include "../../c/issm-binding.h"
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]
39#define FILENAME prhs[2]
40#define EDGEVALUEHANDLE prhs[3]
41
42/* serial output macros: */
43#define FLAGS (mxArray**)&plhs[0]
44
45/* serial arg counts: */
46#undef NLHS
47#define NLHS 1
48#undef NRHS
49#define NRHS 4
50
51
52#endif /* _CONTOURTONODES_H */
53
Note: See TracBrowser for help on using the repository browser.