Ice Sheet System Model
4.18
Code documentation
src
wrappers
MeshProfileIntersection
MeshProfileIntersection.h
Go to the documentation of this file.
1
/*
2
MeshProfileIntersection.h
3
*/
4
5
#ifndef _MESHPROFILEINTERSECTION_H
6
#define _MESHPROFILEINTERSECTION_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
24
#undef __FUNCT__
25
#define __FUNCT__ "MeshProfileIntersection"
26
27
#ifdef _HAVE_MATLAB_MODULES_
28
/* input macros: */
29
#define INDEX prhs[0]
30
#define X prhs[1]
31
#define Y prhs[2]
32
#define FILENAME prhs[3]
33
/* serial output macros: */
34
#define SEGMENTS (mxArray**)&plhs[0]
35
#endif
36
37
#ifdef _HAVE_PYTHON_MODULES_
38
/* input macros: */
39
#define INDEX PyTuple_GetItem(args,0)
40
#define X PyTuple_GetItem(args,1)
41
#define Y PyTuple_GetItem(args,2)
42
#define FILENAME PyTuple_GetItem(args,3)
43
/* serial output macros: */
44
#define SEGMENTS output,0
45
#endif
46
47
/* serial arg counts: */
48
#undef NLHS
49
#define NLHS 1
50
#undef NRHS
51
#define NRHS 4
52
53
#endif
/* _MESHPROFILEINTERSECTION_H */
Generated on Thu Jul 2 2020 08:09:22 for Ice Sheet System Model by
1.8.19