See the manual page for MatCreateShell
http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mat/MatCreateShell.html#MatCreateShellOn May 5, 2009, at 9:32 PM, Damian Kaleta wrote: > Hi, > > I was wondering if PETSc will allow me to implement my own matrix- > vector multiplayer when I use Linear solvers (KSP). If it is > possible, how can I achieve that? > > Thank you, > Damian Kaleta
