DMCompositeSetContext
Allows user to stash data they may need within the form coupling routine they set with DMCompositeSetCoupling()
Synopsis
#include "petscda.h"
PetscErrorCode PETSCDM_DLLEXPORT DMCompositeSetContext(DMComposite dmcomposite,void *ctx)
Not Collective
Input Parameter
| dmcomposite | - the composite object
|
| 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(),
DMCompositeGetContext()
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