#include "petscsnes.h" #include "petscdmshell.h" #include "petscsys.h" PetscErrorCode SNESGetFunction(SNES snes,Vec *r,PetscErrorCode (**func)(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.
r | - the function (or PETSC_NULL) | |
func | - the function (or PETSC_NULL) | |
ctx | - the function context (or PETSC_NULL) |
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