DMSetApplicationContext

Set a user context into a DM object

Synopsis

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

Input Parameters

dm - the DM object
ctx - the user context

See Also

DMView(), DMCreateGlobalVector(), DMGetInterpolation(), DMGetColoring(), DMGetMatrix(), DMGetApplicationContext()

Level:intermediate
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex5.c.html
src/snes/examples/tutorials/ex50.c.html