escript  Revision_
finley/src/IndexList.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2020 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
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-2017 by Centre for Geoscience Computing (GeoComp)
14 * Development from 2019 by School of Earth and Environmental Sciences
15 **
16 *****************************************************************************/
17 
18 
19 /****************************************************************************
20 
21  Finley: Converting an element list into a matrix shape
22 
23 *****************************************************************************/
24 
25 #ifndef __FINLEY_INDEXLIST_H__
26 #define __FINLEY_INDEXLIST_H__
27 
28 #include "Finley.h"
29 
30 #include <escript/IndexList.h>
31 
32 // helpers to build system matrix
33 
34 namespace finley {
35 
36 using escript::IndexList;
37 
38 class ElementFile;
39 
40 void IndexList_insertElements(IndexList* index_list, ElementFile* elements,
41  bool reduce_row_order, const index_t* row_map,
42  bool reduce_col_order, const index_t* col_map);
43 
45  IndexList* index_list, index_t firstRow, index_t lastRow,
46  ElementFile* elements, index_t* row_map, index_t* col_map);
47 
48 } // namespace finley
49 
50 #endif // __FINLEY_INDEXLIST_H__
51 
escript::DataTypes::index_t
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:85
finley::IndexList_insertElementsWithRowRangeNoMainDiagonal
void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList *index_list, index_t firstRow, index_t lastRow, ElementFile *elements, index_t *row_map, index_t *col_map)
Definition: finley/src/IndexList.cpp:103
Finley.h
finley::IndexList_insertElements
void IndexList_insertElements(IndexList *index_list, ElementFile *elements, bool reduce_row_order, const index_t *row_map, bool reduce_col_order, const index_t *col_map)
Definition: finley/src/IndexList.cpp:50
escript::IndexList
Definition: escriptcore/src/IndexList.h:28
finley
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:32