/[escript]/trunk/finley/src/IndexList.h
ViewVC logotype

Diff of /trunk/finley/src/IndexList.h

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

revision 4440 by caltinay, Fri May 31 07:09:03 2013 UTC revision 4441 by caltinay, Fri Jun 7 02:23:49 2013 UTC
# Line 32  Line 32 
32  #define INDEXLIST_LENGTH 85  #define INDEXLIST_LENGTH 85
33    
34  typedef struct Finley_IndexList {  typedef struct Finley_IndexList {
35    index_t index[INDEXLIST_LENGTH];    int index[INDEXLIST_LENGTH];
36    dim_t n;    int n;
37    struct Finley_IndexList *extension;    struct Finley_IndexList *extension;
38  } Finley_IndexList;  } Finley_IndexList;
39    
40  void Finley_IndexList_insertElements(Finley_IndexList* index_list, ElementFile* elements,  void Finley_IndexList_insertElements(Finley_IndexList* index_list, ElementFile* elements,
41                                         bool_t reduce_row_order, index_t* row_map,                                       bool_t reduce_row_order, int* row_map,
42                                         bool_t reduce_col_order, index_t* col_map);                                       bool_t reduce_col_order, int* col_map);
43  void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);  void Finley_IndexList_insertIndex(Finley_IndexList*, int);
44  void Finley_IndexList_toArray(Finley_IndexList*, index_t*, index_t, index_t, index_t);  void Finley_IndexList_toArray(Finley_IndexList*, int*, int, int, int);
45  dim_t Finley_IndexList_count(Finley_IndexList*,  index_t, index_t);  dim_t Finley_IndexList_count(Finley_IndexList*,  int, int);
46  void Finley_IndexList_free(Finley_IndexList*);  void Finley_IndexList_free(Finley_IndexList*);
47  Paso_Pattern* Finley_IndexList_createPattern(dim_t n0, dim_t n,Finley_IndexList* index_list,index_t range_min,index_t range_max, index_t index_offset);  Paso_Pattern* Finley_IndexList_createPattern(int n0, int n, Finley_IndexList* index_list, int range_min, int range_max, int index_offset);
48  void Finley_IndexList_insertElementsWithRowRange(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,  void Finley_IndexList_insertElementsWithRowRange(Finley_IndexList* index_list, int firstRow, int lastRow,
49                                                   ElementFile* elements, index_t* row_map, index_t* col_map);                                                   ElementFile* elements, int* row_map, int* col_map);
50  void Finley_IndexList_insertElementsWithRowRangeNoMainDiagonal(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,  void Finley_IndexList_insertElementsWithRowRangeNoMainDiagonal(Finley_IndexList* index_list, int firstRow, int lastRow,
51                                                                ElementFile* elements, index_t* row_map, index_t* col_map);                                                                 ElementFile* elements, int* row_map, int* col_map);
   
   
52    
53    
54  #endif /* #ifndef INC_FINLEY_INDEXLIST */  #endif /* #ifndef INC_FINLEY_INDEXLIST */
55    

Legend:
Removed from v.4440  
changed lines
  Added in v.4441

  ViewVC Help
Powered by ViewVC 1.1.26