File snes.cxx#
Functions
-
static PetscErrorCode ComputeJacobianScaledColor(SNES snes, Vec x1, Mat Jac, Mat Jac_new, void *ctx)#
Input Parameters: snes - nonlinear solver object x1 - location at which to evaluate Jacobian ctx - MatFDColoring context or NULL
Output Parameters: Jac - Jacobian matrix (not altered in this routine) Jac_new - newly computed Jacobian matrix to use with preconditioner (generally the same as Jac)
-
class ColoringStencil