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;
#define ESYS_INDEXLIST_LENGTH
Definition: escriptcore/src/IndexList.h:25
index_t dim_t
Definition: DataTypes.h:66
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:61
Definition: AbstractContinuousDomain.cpp:23
Definition: escriptcore/src/IndexList.h:29
~IndexList()
Definition: escriptcore/src/IndexList.h:31
DataTypes::index_t m_list[85]
Definition: escriptcore/src/IndexList.h:33
IndexList()
Definition: escriptcore/src/IndexList.h:30
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:68
DataTypes::dim_t n
Definition: escriptcore/src/IndexList.h:34
void insertIndex(DataTypes::index_t index)
inserts row index into the IndexList in if it does not exist
Definition: escriptcore/src/IndexList.h:38
IndexList * extension
Definition: escriptcore/src/IndexList.h:35
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:54