DMSetApplicationContext

Set a user context into a DM object

Synopsis

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

Input Parameters

dm - the DM object
ctx - the user context

Level: intermediate

See Also

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

Location:dm.c