MatFDColoringCreate

Creates a matrix coloring context for finite difference computation of Jacobians.

Synopsis

int MatFDColoringCreate(Mat mat,ISColoring iscoloring,MatFDColoring *color)
Collective on Mat

Input Parameters

mat - the matrix containing the nonzero structure of the Jacobian
iscoloring - the coloring of the matrix

Output Parameter

color -the new coloring context

Options Database Keys

-mat_fd_coloring_view - Activates basic viewing or coloring
-mat_fd_coloring_view_draw - Activates drawing of coloring
-mat_fd_coloring_view_info - Activates viewing of coloring info

See Also

MatFDColoringDestroy()

Examples

src/snes/examples/tutorials/ex4f.F
src/snes/examples/tutorials/ex4.c
src/snes/examples/tutorials/ex8.c

Level:intermediate
Location:src/mat/matfd/fdmatrix.c
Matrix Index
Table of Contents