#include "petscsnes.h" PetscErrorCode PETSCSNES_DLLEXPORT SNESComputeJacobian(SNES snes,Vec X,Mat *A,Mat *B,MatStructure *flg)Collective on SNES and Mat
snes | - the SNES context | |
x | - input vector |
A | - Jacobian matrix | |
B | - optional preconditioning matrix | |
flag | - flag indicating matrix structure (one of, SAME_NONZERO_PATTERN,DIFFERENT_NONZERO_PATTERN,SAME_PRECONDITIONER) |
-snes_lag_preconditioner <lag> | - - -snes_lag_jacobian <lag> |