escript  Revision_
dudley/src/IndexList.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2016 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 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 __DUDLEY_INDEXLIST_H__
24 #define __DUDLEY_INDEXLIST_H__
25 
26 #include "Dudley.h"
27 
28 #include <escript/IndexList.h>
29 
30 namespace dudley {
31 
32 using escript::IndexList;
33 
34 // helpers to build system matrix
35 
36 class ElementFile;
37 
38 void IndexList_insertElements(IndexList* indexlist, const ElementFile* elements,
39  const index_t* map);
40 
42  index_t firstRow, index_t lastRow,
43  const ElementFile* elements, const index_t* map);
44 
45 } // namespace dudley
46 
47 #endif // __DUDLEY_INDEXLIST_H__
48 
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:59
A suite of factory methods for creating 2D and 3D dudley domains.
Definition: dudley/src/Assemble.h:31
void IndexList_insertElements(IndexList *index_list, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:34
Definition: escriptcore/src/IndexList.h:28
void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList *indexList, index_t firstRow, index_t lastRow, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:62