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:68
#define INDEX2(_X1_, _X2_, _N1_)
Definition: index.h:23
void insertIndex(DataTypes::index_t index)
inserts row index into the IndexList in if it does not exist
Definition: escriptcore/src/IndexList.h:38
void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList *indexList, index_t firstRow, index_t lastRow, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:77
boost::shared_ptr< const ReferenceElement > const_ReferenceElement_ptr
Definition: ReferenceElements.h:214
void IndexList_insertElements(IndexList *index_list, const ElementFile *elements, const index_t *map)
Definition: dudley/src/IndexList.cpp:49
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
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:93
DataTypes::index_t m_list[85]
Definition: escriptcore/src/IndexList.h:33
IndexList * extension
Definition: escriptcore/src/IndexList.h:35
DataTypes::dim_t n
Definition: escriptcore/src/IndexList.h:34
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:88
Definition: AbstractContinuousDomain.cpp:23
IndexList()
Definition: escriptcore/src/IndexList.h:30
~IndexList()
Definition: escriptcore/src/IndexList.h:31
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:107
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:54
#define ESYS_INDEXLIST_LENGTH
Definition: escriptcore/src/IndexList.h:25
Definition: escriptcore/src/IndexList.h:29
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:32