24 |
#define __DUDLEY_INDEXLIST_H__ |
#define __DUDLEY_INDEXLIST_H__ |
25 |
|
|
26 |
#include "Dudley.h" |
#include "Dudley.h" |
|
#include "ElementFile.h" |
|
|
#include "Mesh.h" |
|
27 |
|
|
28 |
#include <escript/IndexList.h> |
#include <escript/IndexList.h> |
29 |
|
|
31 |
|
|
32 |
using escript::IndexList; |
using escript::IndexList; |
33 |
|
|
34 |
/* structure to build system matrix */ |
// helpers to build system matrix |
35 |
|
|
36 |
void Dudley_IndexList_insertElements(IndexList* index_list, |
class ElementFile; |
37 |
Dudley_ElementFile * elements, |
|
38 |
bool reduce_row_order, index_t * row_map, |
void IndexList_insertElements(IndexList* indexlist, const ElementFile* elements, |
39 |
bool reduce_col_order, index_t * col_map); |
const index_t* map); |
40 |
void Dudley_IndexList_insertElementsWithRowRange(IndexList* index_list, |
|
41 |
index_t firstRow, index_t lastRow, |
void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList* index_list, |
42 |
Dudley_ElementFile* elements, index_t* row_map, |
index_t firstRow, index_t lastRow, |
43 |
index_t* col_map); |
const ElementFile* elements, const index_t* map); |
|
void Dudley_IndexList_insertElementsWithRowRangeNoMainDiagonal( |
|
|
IndexList* index_list, index_t firstRow, |
|
|
index_t lastRow, Dudley_ElementFile* elements, |
|
|
index_t* row_map, index_t* col_map); |
|
44 |
|
|
45 |
} // namespace dudley |
} // namespace dudley |
46 |
|
|