Go to the documentation of this file.
17 #ifndef __ESCRIPT_INDEXLIST_H__
18 #define __ESCRIPT_INDEXLIST_H__
20 #include <escript/DataTypes.h>
24 #define ESYS_INDEXLIST_LENGTH 85
74 array[idx] =
m_list[i]+index_offset;
85 #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:66
#define INDEX2(_X1_, _X2_, _N1_)
Definition: index.h:21
void insertIndex(DataTypes::index_t index)
inserts row index into the IndexList in if it does not exist
Definition: escriptcore/src/IndexList.h:36
void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList *indexList, index_t firstRow, index_t lastRow, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:74
boost::shared_ptr< const ReferenceElement > const_ReferenceElement_ptr
Definition: ReferenceElements.h:211
void IndexList_insertElements(IndexList *index_list, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:46
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:52
A suite of factory methods for creating 2D and 3D dudley domains.
Definition: dudley/src/Assemble.h:31
index_t dim_t
Definition: DataTypes.h:87
DataTypes::index_t m_list[85]
Definition: escriptcore/src/IndexList.h:31
IndexList * extension
Definition: escriptcore/src/IndexList.h:33
DataTypes::dim_t n
Definition: escriptcore/src/IndexList.h:32
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:82
Definition: AbstractContinuousDomain.cpp:22
IndexList()
Definition: escriptcore/src/IndexList.h:28
~IndexList()
Definition: escriptcore/src/IndexList.h:29
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:101
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:48
#define ESYS_INDEXLIST_LENGTH
Definition: escriptcore/src/IndexList.h:23
Definition: escriptcore/src/IndexList.h:27
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:31