DMGetApplicationContext

Gets a user context from a DM object

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode  DMGetApplicationContext(DM dm,void *ctx)
Not Collective

Input Parameter

dm - the DM object

Output Parameter

ctx - the user context

Level: intermediate

See Also

DMView(), DMCreateGlobalVector(), DMCreateInterpolation(), DMCreateColoring(), DMCreateMatrix(), DMGetApplicationContext()

Location:dm.c