GSNESEvaluateJacobian

Constructs the system matrix for Newton's equation

Synopsis

#include "petscsnes.h" 
#include "gsolver.h" 
int GSNESEvaluateJacobian(GSNES snes, GVec x, GMat *J, GMat *M, MatStructure *flag, PetscObject ctx)
Collective on GSNES

Input Parameters

snes - The grid SNES
x - The current iterate
flag - The matrix structure flag
ctx - The optional user context

Output Parameters

J - The Jacobian matrix
M - The preconditioner for the Jacobian matrix, usually the same as J

Keywords

grid SNES, jacobian

See Also

GSNESEvaluateJacobianMF(), GSNESEvaluateRhs(), GridEvaluateSystemMatrix()

Level:advanced
Location:
src/gsolver/interface/gsnes.c
Index of all GSolver routines
Table of Contents for all manual pages
Index of all manual pages