Go to the documentation of this file.
18 #ifndef __ESCRIPT_INDEXLIST_H__
19 #define __ESCRIPT_INDEXLIST_H__
21 #include <escript/DataTypes.h>
25 #define ESYS_INDEXLIST_LENGTH 85
75 array[idx] =
m_list[i]+index_offset;
86 #endif // __ESCRIPT_INDEXLIST_H__
void toArray(DataTypes::index_t *array, DataTypes::index_t range_min, DataTypes::index_t range_max, DataTypes::index_t index_offset) const
index list to array
Definition: escriptcore/src/IndexList.h:67
#define INDEX2(_X1_, _X2_, _N1_)
Definition: index.h:22
void insertIndex(DataTypes::index_t index)
inserts row index into the IndexList in if it does not exist
Definition: escriptcore/src/IndexList.h:37
void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList *indexList, index_t firstRow, index_t lastRow, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:76
boost::shared_ptr< const ReferenceElement > const_ReferenceElement_ptr
Definition: ReferenceElements.h:212
void IndexList_insertElements(IndexList *index_list, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:48
DataTypes::dim_t count(DataTypes::index_t range_min, DataTypes::index_t range_max) const
counts the number of row indices in the IndexList in
Definition: escriptcore/src/IndexList.h:53
A suite of factory methods for creating 2D and 3D dudley domains.
Definition: dudley/src/Assemble.h:32
index_t dim_t
Definition: DataTypes.h:90
DataTypes::index_t m_list[85]
Definition: escriptcore/src/IndexList.h:32
IndexList * extension
Definition: escriptcore/src/IndexList.h:34
DataTypes::dim_t n
Definition: escriptcore/src/IndexList.h:33
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:85
Definition: AbstractContinuousDomain.cpp:23
IndexList()
Definition: escriptcore/src/IndexList.h:29
~IndexList()
Definition: escriptcore/src/IndexList.h:30
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
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
#define ESYS_INDEXLIST_LENGTH
Definition: escriptcore/src/IndexList.h:24
Definition: escriptcore/src/IndexList.h:28
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:32