#include "petscmat.h" PetscErrorCode MatShellGetOperation(Mat mat,MatOperation op,void(**f)(void))Not Collective Many br
mat | - the shell matrix Many br | |
op | - the name of the operation Many br |
Many br
All user-provided functions have the same calling Many brsequence as the usual matrix interface routines, since they Many brare intended to be accessed via the usual matrix interface Many brroutines, e.g., Many br
MatMult(Mat,Vec,Vec) -> usermult(Mat,Vec,Vec)
Within each user-defined routine, the user should call Many brMatShellGetContext() to obtain the user-defined context that was Many brset by MatCreateShell(). Many br
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