#include "snes.h" int SNESGetHessian(SNES snes,Mat *A,Mat *B,void **ctx)Not Collective, but Mat object is parallel if SNES object is parallel
A | - location to stash Hessian matrix (or PETSC_NULL) | |
B | - location to stash preconditioner matrix (or PETSC_NULL) | |
ctx | - location to stash Hessian ctx (or PETSC_NULL) |
Level:advanced
Location:src/snes/interface/snes.c
SNES Index
Table of Contents