escript  Revision_4925
dudley/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 /* Dudley: Converting an element list into a matrix shape */
20 
21 /************************************************************************************/
22 
23 #ifndef INC_DUDLEY_INDEXLIST
24 #define INC_DUDLEY_INDEXLIST
25 
26 #include "Dudley.h"
27 #include "ElementFile.h"
28 #include "Mesh.h"
29 
30 #include "esysUtils/IndexList.h"
31 
33 
34 /* structure to build system matrix */
35 
37  Dudley_ElementFile * elements,
38  bool reduce_row_order, index_t * row_map,
39  bool reduce_col_order, index_t * col_map);
41  index_t firstRow, index_t lastRow,
42  Dudley_ElementFile* elements, index_t* row_map,
43  index_t* col_map);
45  IndexListArray& index_list, index_t firstRow,
46  index_t lastRow, Dudley_ElementFile* elements,
47  index_t* row_map, index_t* col_map);
48 
49 #endif /* #ifndef INC_DUDLEY_INDEXLIST */
50 
void Dudley_IndexList_insertElements(IndexListArray &index_list, Dudley_ElementFile *elements, bool reduce_row_order, index_t *row_map, bool reduce_col_order, index_t *col_map)
Definition: dudley/src/IndexList.cpp:32
std::vector< IndexList > IndexListArray
Definition: esysUtils/src/IndexList.h:39
int index_t
Definition: types.h:25
void Dudley_IndexList_insertElementsWithRowRange(IndexListArray &index_list, index_t firstRow, index_t lastRow, Dudley_ElementFile *elements, index_t *row_map, index_t *col_map)
Definition: dudley/src/IndexList.cpp:68
void Dudley_IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexListArray &index_list, index_t firstRow, index_t lastRow, Dudley_ElementFile *elements, index_t *row_map, index_t *col_map)
Definition: dudley/src/IndexList.cpp:104
Definition: dudley/src/ElementFile.h:40