ISLocalToGlobalMappingCreate

Creates a mapping between a local (0 to n) ordering and a global parallel ordering.

Synopsis

int ISLocalToGlobalMappingCreate(MPI_Comm cm,int n, int *indices,ISLocalToGlobalMapping *mapping)
Collective on MPI_Comm

Input Parameters

comm - MPI communicator of size 1.
n - the number of local elements
indices - the global index for each local element

Output Parameters

mapping -new mapping data structure

Keywords

IS, local-to-global mapping, create

See Also

ISLocalToGlobalMappingDestroy(), ISLocalToGlobalMappingCreateIS()

Examples

src/is/examples/tutorials/ex4.c

Location: src/is/utils/isltog.c
IS and DA Index
Table of Contents