DMShellSetContext

set some data to be usable by this DM

Synopsis

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

Input Arguments

dm - shell DM
ctx - the context

Level: advanced

See Also

DMCreateMatrix(), DMShellGetContext()

Location:dmshell.c