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

Last change on this file since 2739 was 2739, checked in by Eric.Larour, 15 years ago

Added Bamg and TriMeshNoDensity modules.
Bamg: we are trying to compile Bamg as a standalone module so as to have complete control over adaptative mesh refinement.
TriMeshNoDensity: used by meshaddrifts.

File size: 670 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 ELEMENTS (mxArray*)prhs[0]
21#define X (mxArray*)prhs[1]
22#define Y (mxArray*)prhs[2]
23#define METRIC (mxArray*)prhs[3]
24#define GRADATION (mxArray*)prhs[4]
25#define SPLITPBEDGE (mxArray*)prhs[5]
26#define NBV (mxArray*)prhs[6]
27
28/* serial output macros: */
29#define ELEMENTSOUT (mxArray**)&plhs[0]
30#define XOUT (mxArray**)&plhs[1]
31#define YOUT (mxArray**)&plhs[2]
32
33/* serial arg counts: */
34#undef NLHS
35#define NLHS 3
36#undef NRHS
37#define NRHS 7
38
39#endif /* _BAMG_H */
40
Note: See TracBrowser for help on using the repository browser.