DMCompositeGetContext

Access the context set with DMCompositeSetContext()

Synopsis

#include "petscda.h"     
PetscErrorCode PETSCDM_DLLEXPORT DMCompositeGetContext(DMComposite dmcomposite,void **ctx)

Not Collective

Input Parameter

dmcomposite -the composite object

Output Parameter

ctx -the user supplied context

Notes: Use DMCompositeGetContext() to retrieve the context when needed.

See Also

DMCompositeDestroy(), DMCompositeAddArray(), DMCompositeAddDM(), DMCompositeScatter(),
DMCompositeGather(), DMCompositeCreateGlobalVector(), DMCompositeGetGlobalIndices(), DMCompositeGetAccess() DMCompositeGetLocalVectors(), DMCompositeRestoreLocalVectors(), DMCompositeGetEntries(), DMCompositeSetCoupling(), DMCompositeSetContext()

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