| Last change
 on this file since 3271 was             3271, checked in by seroussi, 16 years ago | 
        
          | 
create matlab structures for bamg output
 | 
        
          | File size:
            539 bytes | 
      
      
| Line |  | 
|---|
| 1 |  | 
|---|
| 2 | /* | 
|---|
| 3 | Bamg.h | 
|---|
| 4 | */ | 
|---|
| 5 |  | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef _BAMG_H | 
|---|
| 8 | #define _BAMG_H | 
|---|
| 9 |  | 
|---|
| 10 | /* local prototypes: */ | 
|---|
| 11 | void 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 BAMGMESHOUT    (mxArray**)&plhs[0] | 
|---|
| 26 | #define BAMGGEOMOUT    (mxArray**)&plhs[1] | 
|---|
| 27 |  | 
|---|
| 28 | /* serial arg counts: */ | 
|---|
| 29 | #undef NLHS | 
|---|
| 30 | #define NLHS  2 | 
|---|
| 31 | #undef NRHS | 
|---|
| 32 | #define NRHS  3 | 
|---|
| 33 |  | 
|---|
| 34 | #endif  /* _BAMG_H */ | 
|---|
| 35 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.