/[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 3093 by gross, Thu Apr 22 05:59:31 2010 UTC revision 3094 by gross, Fri Aug 13 08:38:06 2010 UTC
# Line 41  typedef struct Paso_Pattern { Line 41  typedef struct Paso_Pattern {
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 */    index_t *main_iptr;  /* pointer to main diagonal entry */
44      dim_t numColors;    /* number of colors */
45      index_t* coloring;     /* coloring index: input with the same color are not connected */
46    dim_t reference_counter;    dim_t reference_counter;
47  } Paso_Pattern;  } Paso_Pattern;
48    
# Line 108  void Paso_IndexList_free(Paso_IndexList* Line 110  void Paso_IndexList_free(Paso_IndexList*
110  PASO_DLL_API  PASO_DLL_API
111  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);
112    
113    PASO_DLL_API
114    dim_t Paso_Pattern_getNumColors(Paso_Pattern* A);
115    
116    PASO_DLL_API
117    index_t* Paso_Pattern_borrowColoringPointer(Paso_Pattern* A);
118    
119  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */  #endif /* #ifndef INC_PASO_PATTERN */

Legend:
Removed from v.3093  
changed lines
  Added in v.3094

  ViewVC Help
Powered by ViewVC 1.1.26