#include "petscsnes.h" PetscErrorCode SNESShellSetSolve(SNES snes,PetscErrorCode (*solve)(SNES,Vec))Logically Collective on SNES
snes | - the nonlinear solver context | |
apply | - the application-provided solver routine |
PetscErrorCode apply (SNES snes,Vec xout)
snes | - the preconditioner, get the application context with SNESShellGetContext() | |
xout | - solution vector |
Notes: the function MUST return an error code of 0 on success and nonzero on failure.
Level:advanced
Location:src/snes/impls/shell/snesshell.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages