Last change
on this file since 1174 was 1174, checked in by Mathieu Morlighem, 16 years ago |
added default value as an argument
|
File size:
809 bytes
|
Line | |
---|
1 | /*!\file InterpFromMesh3d.h
|
---|
2 | * \brief: prototype for Data Interpolation mex module.
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef _INTERPFROMMESH3D_H
|
---|
6 | #define _INTERPFROMMESH3D_H
|
---|
7 |
|
---|
8 | /* local prototypes: */
|
---|
9 | void InterpFromMesh3dUsage(void);
|
---|
10 |
|
---|
11 | #include "../../c/issm.h"
|
---|
12 |
|
---|
13 | #undef __FUNCT__
|
---|
14 | #define __FUNCT__ "InterpFromMesh3d"
|
---|
15 |
|
---|
16 | #undef CLEANUP
|
---|
17 | #define CLEANUP InterpFromMesh3dLocalCleanup();
|
---|
18 |
|
---|
19 |
|
---|
20 | /* serial input macros: */
|
---|
21 | #define INDEXHANDLE prhs[0]
|
---|
22 | #define XHANDLE prhs[1]
|
---|
23 | #define YHANDLE prhs[2]
|
---|
24 | #define ZHANDLE prhs[3]
|
---|
25 | #define DATAHANDLE prhs[4]
|
---|
26 | #define XPRIMEHANDLE prhs[5]
|
---|
27 | #define YPRIMEHANDLE prhs[6]
|
---|
28 | #define ZPRIMEHANDLE prhs[7]
|
---|
29 | #define DEFAULTHANDLE prhs[8]
|
---|
30 |
|
---|
31 | /* serial output macros: */
|
---|
32 | #define DATAPRIME (mxArray**)&plhs[0]
|
---|
33 |
|
---|
34 | /* serial arg counts: */
|
---|
35 | #undef NLHS
|
---|
36 | #define NLHS 1
|
---|
37 | #undef NRHS
|
---|
38 | #define NRHS 9
|
---|
39 |
|
---|
40 | #endif /* _INTERPFROMMESH3D_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.