petsc-3.3-p7 2013-05-11

DMGetLocalToGlobalMapping

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

Synopsis

#include "petscdm.h"     
PetscErrorCode  DMGetLocalToGlobalMapping(DM dm,ISLocalToGlobalMapping *ltog)
Collective on DM

Input Parameter

dm -the DM that provides the mapping

Output Parameter

ltog -the mapping

Notes

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

See Also

DMCreateLocalVector(), DMGetLocalToGlobalMappingBlock()

Level:intermediate
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex48.c.html