escript  Revision_4925
finley/src/IndexList.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2014 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 
18 /****************************************************************************
19 
20  Finley: Converting an element list into a matrix shape
21 
22 *****************************************************************************/
23 
24 #ifndef __FINLEY_INDEXLIST_H__
25 #define __FINLEY_INDEXLIST_H__
26 
27 #include "Finley.h"
28 
29 #include "esysUtils/IndexList.h"
30 
31 // helpers to build system matrix
32 
33 namespace finley {
34 
36 
37 class ElementFile;
38 
39 void IndexList_insertElements(IndexListArray& index_list, ElementFile* elements,
40  bool reduce_row_order, const int* row_map,
41  bool reduce_col_order, const int* col_map);
42 
44  IndexListArray& index_list, int firstRow, int lastRow,
45  ElementFile* elements, int* row_map, int* col_map);
46 
47 } // namespace finley
48 
49 #endif // __FINLEY_INDEXLIST_H__
50 
void IndexList_insertElements(IndexListArray &index_list, ElementFile *elements, bool reduce_row_order, const int *row_map, bool reduce_col_order, const int *col_map)
Definition: finley/src/IndexList.cpp:37
std::vector< IndexList > IndexListArray
Definition: esysUtils/src/IndexList.h:39
void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexListArray &index_list, int firstRow, int lastRow, ElementFile *elements, int *row_map, int *col_map)
Definition: finley/src/IndexList.cpp:90