petsc-3.3-p7 2013-05-11

MatDAADSetCtx

Sets the user context for a DMDAAD (ADIC matrix-free) matrix.

Synopsis

#include "petscdmda.h"    
#include "petscsnes.h"  
PetscErrorCode  MatDAADSetCtx(Mat A,void *ctx)
Logically Collective on Mat

Input Parameters

mat - the matrix
ctx - the context

See Also

MatCreate(), DMDASetLocalAdicMFFunction(), MatCreateDAAD(), MatDAADSetDA()

Level:intermediate
Location:
src/mat/impls/adic/matadic.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages