|
Last change
on this file since 13211 was 13211, checked in by Mathieu Morlighem, 13 years ago |
|
CHG: preparing modules for python compatibility
|
|
File size:
797 bytes
|
| Line | |
|---|
| 1 | /*!\file TriaSearch.h
|
|---|
| 2 | */
|
|---|
| 3 |
|
|---|
| 4 | #ifndef _TRIASEARCH_H
|
|---|
| 5 | #define _TRIASEARCH_H
|
|---|
| 6 |
|
|---|
| 7 | #ifdef HAVE_CONFIG_H
|
|---|
| 8 | #include <config.h>
|
|---|
| 9 | #else
|
|---|
| 10 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
|---|
| 11 | #endif
|
|---|
| 12 |
|
|---|
| 13 | /* local prototypes: */
|
|---|
| 14 | void TriaSearchUsage(void);
|
|---|
| 15 |
|
|---|
| 16 | #include "../../c/include/globals.h"
|
|---|
| 17 | #include "../../c/modules/modules.h"
|
|---|
| 18 | #include "../../c/Container/Container.h"
|
|---|
| 19 | #include "../../c/shared/shared.h"
|
|---|
| 20 | #include "../../c/issm-binding.h"
|
|---|
| 21 |
|
|---|
| 22 | #undef __FUNCT__
|
|---|
| 23 | #define __FUNCT__ "TriaSearch"
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | /* serial input macros: */
|
|---|
| 27 | #define INDEXHANDLE prhs[0]
|
|---|
| 28 | #define XHANDLE prhs[1]
|
|---|
| 29 | #define YHANDLE prhs[2]
|
|---|
| 30 | #define X0HANDLE prhs[3]
|
|---|
| 31 | #define Y0HANDLE prhs[4]
|
|---|
| 32 |
|
|---|
| 33 | /* serial output macros: */
|
|---|
| 34 | #define TRIA (mxArray**)&plhs[0]
|
|---|
| 35 |
|
|---|
| 36 | /* serial arg counts: */
|
|---|
| 37 | #undef NLHS
|
|---|
| 38 | #define NLHS 1
|
|---|
| 39 |
|
|---|
| 40 | #undef NRHS
|
|---|
| 41 | #define NRHS 5
|
|---|
| 42 |
|
|---|
| 43 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.