/[escript]/trunk/paso/src/mmio.h
ViewVC logotype

Diff of /trunk/paso/src/mmio.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3641 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3642 by caltinay, Thu Oct 27 03:41:51 2011 UTC
# Line 41  int mm_write_mtx_crd_size(FILE *f, int M Line 41  int mm_write_mtx_crd_size(FILE *f, int M
41  int mm_write_mtx_array_size(FILE *f, int M, int N);  int mm_write_mtx_array_size(FILE *f, int M, int N);
42    
43    
44  /********************* MM_typecode query fucntions ***************************/  /********************* MM_typecode query functions ***************************/
45    
46  #define mm_is_matrix(typecode)  ((typecode)[0]=='M')  #define mm_is_matrix(typecode)  ((typecode)[0]=='M')
47    
# Line 63  int mm_write_mtx_array_size(FILE *f, int Line 63  int mm_write_mtx_array_size(FILE *f, int
63  int mm_is_valid(MM_typecode matcode);       /* too complex for a macro */  int mm_is_valid(MM_typecode matcode);       /* too complex for a macro */
64    
65    
66  /********************* MM_typecode modify fucntions ***************************/  /********************* MM_typecode modify functions ***************************/
67    
68  #define mm_set_matrix(typecode) ((*typecode)[0]='M')  #define mm_set_matrix(typecode) ((*typecode)[0]='M')
69  #define mm_set_coordinate(typecode) ((*typecode)[1]='C')  #define mm_set_coordinate(typecode) ((*typecode)[1]='C')
# Line 104  int mm_is_valid(MM_typecode matcode);      / Line 104  int mm_is_valid(MM_typecode matcode);      /
104    
105     MM_matrix_typecode: 4-character sequence     MM_matrix_typecode: 4-character sequence
106    
107                      ojbect      sparse/     data        storage                      object      sparse/     data        storage
108                                  dense       type        scheme                                  dense       type        scheme
109    
110     string position:  [0]        [1]         [2]         [3]     string position:  [0]        [1]         [2]         [3]
# Line 112  int mm_is_valid(MM_typecode matcode);      / Line 112  int mm_is_valid(MM_typecode matcode);      /
112     Matrix typecode:  M(atrix)  C(oord)      R(eal)      G(eneral)     Matrix typecode:  M(atrix)  C(oord)      R(eal)      G(eneral)
113                                  A(array)    C(omplex)   H(ermitian)                                  A(array)    C(omplex)   H(ermitian)
114                                              P(attern)   S(ymmetric)                                              P(attern)   S(ymmetric)
115                                              I(nteger)   K(kew)                                              I(nteger)   sKew
116    
117   ***********************************************************************/   ***********************************************************************/
118    

Legend:
Removed from v.3641  
changed lines
  Added in v.3642

  ViewVC Help
Powered by ViewVC 1.1.26