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