/[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 4808 by caltinay, Wed Mar 26 06:52:28 2014 UTC revision 4809 by caltinay, Thu Mar 27 05:52:41 2014 UTC
# Line 26  Line 26 
26    
27  #include "Finley.h"  #include "Finley.h"
28    
29  #include <list>  #include "esysUtils/IndexList.h"
   
 namespace paso {  
     struct Pattern;  
 }  
30    
31  // helpers to build system matrix  // helpers to build system matrix
32    
33  namespace finley {  namespace finley {
34    
35  class ElementFile;  using esysUtils::IndexListArray;
   
 typedef std::list<int> IndexList;  
36    
37  void IndexList_insertIndex(IndexList&, int);  class ElementFile;
 void IndexList_toArray(const IndexList&, int*, int, int, int);  
 int IndexList_count(const IndexList&,  int, int);  
   
 paso::Pattern* IndexList_createPattern(int n0, int n,  
         const IndexList* index_list, int range_min, int range_max,  
         int index_offset);  
38    
39  void IndexList_insertElements(IndexList* index_list, ElementFile* elements,  void IndexList_insertElements(IndexListArray& index_list, ElementFile* elements,
40                                bool reduce_row_order, const int* row_map,                                bool reduce_row_order, const int* row_map,
41                                bool reduce_col_order, const int* col_map);                                bool reduce_col_order, const int* col_map);
42    
43  void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList* index_list,  void IndexList_insertElementsWithRowRangeNoMainDiagonal(
44          int firstRow, int lastRow, ElementFile* elements, int* row_map,          IndexListArray& index_list, int firstRow, int lastRow,
45          int* col_map);          ElementFile* elements, int* row_map, int* col_map);
46    
47  } // namespace finley  } // namespace finley
48    

Legend:
Removed from v.4808  
changed lines
  Added in v.4809

  ViewVC Help
Powered by ViewVC 1.1.26