28 #ifndef __ESYSUTILS_INDEXLIST_H__
29 #define __ESYSUTILS_INDEXLIST_H__
56 std::list<index_t>::const_iterator it;
58 if (*it >= range_min && range_max > *it)
69 std::list<index_t>::const_iterator it;
71 if (*it >= range_min && range_max > *it) {
72 array[idx] = (*it)+index_offset;
81 #endif // __ESYSUTILS_INDEXLIST_H__
dim_t count(index_t range_min, index_t range_max) const
counts the number of row indices in the IndexList in
Definition: esysUtils/src/IndexList.h:53
std::vector< IndexList > IndexListArray
Definition: esysUtils/src/IndexList.h:39
Definition: esysUtils/src/IndexList.h:42
void insertIndex(index_t index)
inserts row index into the IndexList in if it does not exist
Definition: esysUtils/src/IndexList.h:46
int index_t
Definition: types.h:25
void toArray(index_t *array, index_t range_min, index_t range_max, index_t index_offset) const
index list to array
Definition: esysUtils/src/IndexList.h:65
std::list< index_t > m_list
Definition: esysUtils/src/IndexList.h:43
int dim_t
Definition: types.h:24