DMShellGetContext

Returns the user-provided context associated to the DM

Synopsis

#include "petscdmshell.h"  
PetscErrorCode DMShellGetContext(DM dm,void **ctx)
Collective

Input Argument

dm - shell DM

Output Argument

ctx - the context

Level: advanced

See Also

DMCreateMatrix(), DMShellSetContext()

Location:dmshell.c