#include "petscsnes.h" PetscErrorCode SNESGetFunction(SNES snes,Vec *r,PetscErrorCode (**f)(SNES,Vec,Vec,void*),void **ctx)Not Collective, but Vec is parallel if SNES is parallel. Collective if Vec is requested, but has not been created yet. Many br
r | - the vector that is used to store residuals (or NULL if you don't want it) Many br | |
f | - the function (or NULL if you don't want it); see SNESFunction for calling sequence details Many br | |
ctx | - the function context (or NULL if you don't want it) Many br |
Many br
Level:advanced
Location:src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages