source: issm/trunk/src/mex/Bamg/Bamg.h@ 2977

Last change on this file since 2977 was 2977, checked in by Mathieu Morlighem, 15 years ago

Added rift support in Bamg

File size: 688 bytes
Line 
1
2/*
3 Bamg.h
4*/
5
6
7#ifndef _BAMG_H
8#define _BAMG_H
9
10/* local prototypes: */
11void BamgUsage(void);
12
13#include "../../c/issm.h"
14
15#undef __FUNCT__
16#define __FUNCT__ "Bamg"
17
18
19/* serial input macros: */
20#define BAMGMESH (mxArray*)prhs[0]
21#define BAMGGEOMETRY (mxArray*)prhs[1]
22#define BAMGOPTIONS (mxArray*)prhs[2]
23
24/* serial output macros: */
25#define TRIANGLESOUT (mxArray**)&plhs[0]
26#define VERTICESOUT (mxArray**)&plhs[1]
27#define SEGMENTSOUT (mxArray**)&plhs[2]
28#define SEGMENTSMARKERSOUT (mxArray**)&plhs[3]
29#define METRICOUT (mxArray**)&plhs[4]
30
31/* serial arg counts: */
32#undef NLHS
33#define NLHS 5
34#undef NRHS
35#define NRHS 3
36
37#endif /* _BAMG_H */
38
Note: See TracBrowser for help on using the repository browser.