MatShellSetContext

sets the context for a shell matrix

Synopsis

#include "petscmat.h" 
int MatShellSetContext(Mat mat,void *ctx)
Collective on Mat

Input Parameters

mat - the shell matrix
ctx - the context

See Also

MatCreateShell(), MatShellGetContext(), MatShellGetOperation()

Level:advanced
Location:
src/mat/impls/shell/shell.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages