DMCompositeGetISLocalToGlobalMappings#
gets an ISLocalToGlobalMapping for each DM in the DMCOMPOSITE, maps to the composite global space
Synopsis#
#include "petscdmcomposite.h"
PetscErrorCode DMCompositeGetISLocalToGlobalMappings(DM dm, ISLocalToGlobalMapping **ltogs)
Collective on dm
Input Parameter#
dm - the
DMCOMPOSITEobject
Output Parameters#
ltogs - the individual mappings for each packed vector. Note that this includes all the ghost points that individual ghosted
DMDAmay have.
Note#
Each entry of ltogs should be destroyed with ISLocalToGlobalMappingDestroy(), the ltogs array should be freed with PetscFree().
Fortran Note#
Not available from Fortran
See Also#
DMCOMPOSITE, DM, DMDestroy(), DMCompositeAddDM(), DMCreateGlobalVector(),
DMCompositeGather(), DMCompositeCreate(), DMCompositeGetAccess(), DMCompositeScatter(),
DMCompositeGetLocalVectors(), DMCompositeRestoreLocalVectors(), DMCompositeGetEntries()
Level#
advanced
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages