MatFDColoringView#

Views a finite difference coloring context.

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatFDColoringView(MatFDColoring c, PetscViewer viewer)

Collective

Input Parameters#

  • c - the coloring context

  • viewer - visualization context

Notes#

The available visualization contexts include

Since PETSc uses only a small number of basic colors (currently 33), if the coloring involves more than 33 then some seemingly identical colors are displayed making it look like an illegal coloring. This is just a graphical artifact.

See Also#

Mat, MatFDColoring, MatFDColoringCreate()

Level#

intermediate

Location#

src/mat/matfd/fdmatrix.c

Examples#

src/mat/tutorials/ex16.c


Index of all MatFD routines
Table of Contents for all manual pages
Index of all manual pages