PETSc version 3.17.0
Fix/Edit manual page

# MatColoringDestroy

Destroys the matrix coloring context

### Synopsis

    #include "petscmat.h"
    PetscErrorCode MatColoringDestroy(MatColoring *mc)

Collective on MatColoring

### Input Parameter

| mc | - the MatColoring context

### See Also

MatColoringCreate(), MatColoringApply()

### Level

beginner

### Location

src/mat/color/interface/matcoloring.c

### Examples

src/mat/tutorials/ex16.c.html

### Implementations

MatColoringDestroy_Greedy in src/mat/color/impls/greedy/greedy.c
MatColoringDestroy_JP in src/mat/color/impls/jp/jp.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages