ISLocalToGlobalMappingCreate
Creates a mapping between a local (0 to n) ordering and a global parallel ordering.
Synopsis
#include "petscsys.h"
#include "petscis.h"
int ISLocalToGlobalMappingCreate(MPI_Comm cm,int n,const int indices[],ISLocalToGlobalMapping *mapping)
Not Collective, but communicator may have more than one process
Input Parameters
| comm | - MPI communicator
|
| n | - the number of local elements
|
| indices | - the global index for each local element
|
Output Parameter
mapping -new mapping data structure
Keywords
IS, local-to-global mapping, create
See Also
ISLocalToGlobalMappingDestroy(), ISLocalToGlobalMappingCreateIS()
Level:advanced
Location:src/vec/is/utils/isltog.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/vec/is/examples/tutorials/ex4.c
src/vec/examples/tutorials/ex8.c
src/snes/examples/tutorials/ex7.c
src/snes/examples/tutorials/ex12.c
src/snes/examples/tutorials/ex14.c
src/snes/examples/tutorials/ex15.c
src/snes/examples/tutorials/ex5f90.F