/[escript]/branches/domexper/dudley/src/IndexList.h
ViewVC logotype

Diff of /branches/domexper/dudley/src/IndexList.h

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

revision 3082 by jfenwick, Tue Aug 3 06:04:05 2010 UTC revision 3086 by jfenwick, Thu Aug 5 05:07:58 2010 UTC
# Line 14  Line 14 
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /* Finley: Converting an element list into a matrix shape     */  /* Dudley: Converting an element list into a matrix shape     */
18    
19  /**************************************************************/  /**************************************************************/
20    
# Line 29  Line 29 
29    
30  #define INDEXLIST_LENGTH 85  #define INDEXLIST_LENGTH 85
31    
32  typedef struct Finley_IndexList {  typedef struct Dudley_IndexList {
33    index_t index[INDEXLIST_LENGTH];    index_t index[INDEXLIST_LENGTH];
34    dim_t n;    dim_t n;
35    struct Finley_IndexList *extension;    struct Dudley_IndexList *extension;
36  } Finley_IndexList;  } Dudley_IndexList;
37  void Finley_IndexList_insertElements(Finley_IndexList* index_list, Finley_ElementFile* elements,  void Dudley_IndexList_insertElements(Dudley_IndexList* index_list, Dudley_ElementFile* elements,
38                                         bool_t reduce_row_order, index_t* row_map,                                         bool_t reduce_row_order, index_t* row_map,
39                                         bool_t reduce_col_order, index_t* col_map);                                         bool_t reduce_col_order, index_t* col_map);
40  void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);  void Dudley_IndexList_insertIndex(Dudley_IndexList*, index_t);
41  void Finley_IndexList_toArray(Finley_IndexList*, index_t*, index_t, index_t, index_t);  void Dudley_IndexList_toArray(Dudley_IndexList*, index_t*, index_t, index_t, index_t);
42  dim_t Finley_IndexList_count(Finley_IndexList*,  index_t, index_t);  dim_t Dudley_IndexList_count(Dudley_IndexList*,  index_t, index_t);
43  void Finley_IndexList_free(Finley_IndexList*);  void Dudley_IndexList_free(Dudley_IndexList*);
44  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* Dudley_IndexList_createPattern(dim_t n0, dim_t n,Dudley_IndexList* index_list,index_t range_min,index_t range_max, index_t index_offset);
45  void Finley_IndexList_insertElementsWithRowRange(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,  void Dudley_IndexList_insertElementsWithRowRange(Dudley_IndexList* index_list, index_t firstRow, index_t lastRow,
46                                                   Finley_ElementFile* elements, index_t* row_map, index_t* col_map);                                                   Dudley_ElementFile* elements, index_t* row_map, index_t* col_map);
47  void Finley_IndexList_insertElementsWithRowRangeNoMainDiagonal(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,  void Dudley_IndexList_insertElementsWithRowRangeNoMainDiagonal(Dudley_IndexList* index_list, index_t firstRow, index_t lastRow,
48                                                                Finley_ElementFile* elements, index_t* row_map, index_t* col_map);                                                                Dudley_ElementFile* elements, index_t* row_map, index_t* col_map);
49    
50    
51    
52    
53  #endif /* #ifndef INC_FINLEY_INDEXLIST */  #endif /* #ifndef INC_DUDLEY_INDEXLIST */

Legend:
Removed from v.3082  
changed lines
  Added in v.3086

  ViewVC Help
Powered by ViewVC 1.1.26