| Last change
 on this file since 1188 was             1188, checked in by Mathieu Morlighem, 16 years ago | 
        
          | 
moved adjoint to inputs
 | 
        
          | File size:
            652 bytes | 
      
      
| Rev | Line |  | 
|---|
| [1] | 1 |  | 
|---|
|  | 2 | /* | 
|---|
|  | 3 | Gradj.h | 
|---|
|  | 4 | */ | 
|---|
|  | 5 |  | 
|---|
|  | 6 |  | 
|---|
|  | 7 | #ifndef _GRADJ_H | 
|---|
|  | 8 | #define _GRADJ_H | 
|---|
|  | 9 |  | 
|---|
|  | 10 | /* local prototypes: */ | 
|---|
|  | 11 | void GradjUsage(void); | 
|---|
|  | 12 |  | 
|---|
|  | 13 | #include "../../c/issm.h" | 
|---|
|  | 14 |  | 
|---|
|  | 15 | #undef __FUNCT__ | 
|---|
|  | 16 | #define __FUNCT__  "Gradj" | 
|---|
|  | 17 |  | 
|---|
|  | 18 | /* serial input macros: */ | 
|---|
|  | 19 | #define ELEMENTS (mxArray*)prhs[0] | 
|---|
|  | 20 | #define NODES (mxArray*)prhs[1] | 
|---|
|  | 21 | #define LOADS (mxArray*)prhs[2] | 
|---|
|  | 22 | #define MATERIALS (mxArray*)prhs[3] | 
|---|
|  | 23 | #define PARAMETERS (mxArray*)prhs[4] | 
|---|
| [1188] | 24 | #define INPUTS (mxArray*)prhs[5] | 
|---|
|  | 25 | #define ANALYSIS (mxArray*)prhs[6] | 
|---|
|  | 26 | #define SUBANALYSIS (mxArray*)prhs[7] | 
|---|
| [1] | 27 |  | 
|---|
|  | 28 | /* serial output macros: */ | 
|---|
|  | 29 | #define GRADG (mxArray**)&plhs[0] | 
|---|
|  | 30 |  | 
|---|
|  | 31 | /* serial arg counts: */ | 
|---|
|  | 32 | #undef NLHS | 
|---|
|  | 33 | #define NLHS  1 | 
|---|
|  | 34 | #undef NRHS | 
|---|
| [1188] | 35 | #define NRHS  8 | 
|---|
| [1] | 36 |  | 
|---|
|  | 37 |  | 
|---|
|  | 38 | #endif  /* _GRADJ_H */ | 
|---|
|  | 39 |  | 
|---|
|  | 40 |  | 
|---|
|  | 41 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.