DMCompositeGetLocalISs

gets an IS for each DM/array in the DMComposite, include ghost points

Synopsis

#include "petscda.h"     
PetscErrorCode PETSCDM_DLLEXPORT DMCompositeGetGlobalIndices(DMComposite packer,IS *is[])
Collective on DMComposite

Input Parameter

packer -the packer object

Output Parameters

is -the individual indices for each packed vector/array. Note that this includes all the ghost points that individual ghosted DA's may have. Also each process has an is for EACH redundant array (not just the local redundant arrays).

Notes

The is entries should be destroyed with ISDestroy(), the is array should be freed with PetscFree()

Use DMCompositeGetGlobalISs() for non-ghosted ISs.

See Also

DMCompositeDestroy(), DMCompositeAddArray(), DMCompositeAddDM(), DMCompositeCreateGlobalVector(),
DMCompositeGather(), DMCompositeCreate(), DMCompositeGetAccess(), DMCompositeScatter(), DMCompositeGetLocalVectors(), DMCompositeRestoreLocalVectors(),DMCompositeGetEntries()

Level:advanced
Location:
src/dm/da/utils/pack.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages