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

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

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

revision 2965 by jfenwick, Wed Mar 3 01:53:41 2010 UTC revision 3005 by gross, Thu Apr 22 05:59:31 2010 UTC
# Line 40  typedef struct Paso_Pattern { Line 40  typedef struct Paso_Pattern {
40    dim_t len;        /* number of non-zeros */    dim_t len;        /* number of non-zeros */
41    index_t* ptr;     /* ptr[n] to ptr[n+1] lists indicies (in index) of non-zeros in row n*/    index_t* ptr;     /* ptr[n] to ptr[n+1] lists indicies (in index) of non-zeros in row n*/
42    index_t* index;   /* Non-major indicies of non-zeros (in CSR this will be col numbers) */    index_t* index;   /* Non-major indicies of non-zeros (in CSR this will be col numbers) */
43      index_t *main_iptr;  /* pointer to main diagonal entry */
44    dim_t reference_counter;    dim_t reference_counter;
45  } Paso_Pattern;  } Paso_Pattern;
46    
# Line 89  Paso_Pattern* Paso_Pattern_multiply(int Line 90  Paso_Pattern* Paso_Pattern_multiply(int
90  PASO_DLL_API  PASO_DLL_API
91  Paso_Pattern* Paso_Pattern_binop(int type, Paso_Pattern* A, Paso_Pattern* B);  Paso_Pattern* Paso_Pattern_binop(int type, Paso_Pattern* A, Paso_Pattern* B);
92    
93    PASO_DLL_API
94    index_t* Paso_Pattern_borrowMainDiagonalPointer(Paso_Pattern* A);
95    
96  PASO_DLL_API  PASO_DLL_API
97  void Paso_IndexList_insertIndex(Paso_IndexList*, index_t);  void Paso_IndexList_insertIndex(Paso_IndexList*, index_t);
# Line 105  void Paso_IndexList_free(Paso_IndexList* Line 108  void Paso_IndexList_free(Paso_IndexList*
108  PASO_DLL_API  PASO_DLL_API
109  Paso_Pattern* Paso_IndexList_createPattern(dim_t n0, dim_t n,Paso_IndexList* index_list,index_t range_min,index_t range_max, index_t index_offset);  Paso_Pattern* Paso_IndexList_createPattern(dim_t n0, dim_t n,Paso_IndexList* index_list,index_t range_min,index_t range_max, index_t index_offset);
110    
111    
112    
113  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */

Legend:
Removed from v.2965  
changed lines
  Added in v.3005

  ViewVC Help
Powered by ViewVC 1.1.26