IndexMap¶

class dolfin.cpp.la.IndexMap(*args)

Bases: object

This class represents the distribution index arrays across processes. An index array is a contiguous collection of N+1 indices [0, 1, . . ., N] that are distributed across processes M processes. On a given process, the IndexMap stores a portion of the index set using local indices [0, 1, . . . , n], and a map from the local indices to a unique global index.

MapSize_ALL = 0
MapSize_GLOBAL = 3
MapSize_OWNED = 1
MapSize_UNOWNED = 2
block_size()
init()
local_range()
local_to_global()
local_to_global_unowned()
mpi_comm()
off_process_owner()
set_local_to_global()
size()
thisown

The membership flag