DAGetISLocalToGlobalMapping

Accesses the local-to-global mapping in a DA.

Synopsis

#include "da.h"   
int DAGetISLocalToGlobalMapping(DA da,ISLocalToGlobalMapping *map)
Not Collective

Input Parameter

da -the distributed array that provides the mapping

Output Parameter

ltog -the mapping

Notes

This mapping can them be used by VecSetLocalToGlobalMapping() or MatSetLocalToGlobalMapping().

Essentially the same data is returned in the form of an integer array with the routine DAGetGlobalIndices().

Keywords

distributed array, destroy

See Also

DACreate1d(), DACreate2d(), DACreate3d(), VecSetLocalToGlobalMapping(),
MatSetLocalToGlobalMapping(), DAGetGlobalIndices()

Examples

src/sles/examples/tutorials/ex19.c
src/snes/examples/tutorials/ex5f.F
src/snes/examples/tutorials/ex5.c
src/snes/examples/tutorials/ex13.c
src/snes/examples/tutorials/ex5c.c
src/snes/examples/tutorials/ex16.c
src/snes/examples/tutorials/ex5d.c

Level:intermediate
Location:src/dm/da/src/dadestroy.c
DA Index
Table of Contents