petsc-3.7.3 2016-07-24
Report Typos and Errors

# MatFDColoringGetPerturbedColumns

Returns the indices of the columns that that are currently being perturbed.

### Synopsis

    #include "petscmat.h"
    PetscErrorCode  MatFDColoringGetPerturbedColumns(MatFDColoring coloring,PetscInt *n,PetscInt *cols[])

Not Collective

### Input Parameters

coloring -coloring context created with MatFDColoringCreate()

### Output Parameters

| n | - the number of local columns being perturbed
| cols | - the column indices, in global numbering

### See Also

MatFDColoringCreate(), MatFDColoringDestroy(), MatFDColoringView(), MatFDColoringApply()

### Keywords

coloring, Jacobian, finite differences

Level:intermediate
Location: src/mat/matfd/fdmatrix.c
Index of all MatFD routines
Table of Contents for all manual pages
Index of all manual pages