DAGetISLocalToGlobalMapping
Accesses the local-to-global mapping in a DA.
Synopsis
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/snes/examples/tutorials/ex5f.F
src/snes/examples/tutorials/ex5.c
Level:intermediate
Location:src/dm/da/src/dadestroy.c
DA Index
Table of Contents