coloring -coloring context created with MatFDColoringCreate()
Output Parameters
| n | - the number of local columns being perturbed
|
| cols | - the column indices, in global numbering
|
Fortran Note
This routine has a different interface for Fortran
#include <petsc/finclude/petscmat.h>
use petscmat
PetscInt, pointer :: array(:)
PetscErrorCode ierr
MatFDColoring i
call MatFDColoringGetPerturbedColumnsF90(i,array,ierr)
use the entries of array ...
call MatFDColoringRestorePerturbedColumnsF90(i,array,ierr)
See Also
MatFDColoringCreate(), MatFDColoringDestroy(), MatFDColoringView(), MatFDColoringApply()
Keywords
coloring, Jacobian, finite differences
Level
advanced
Location
src/mat/matfd/fdmatrix.c
Index of all MatFD routines
Table of Contents for all manual pages
Index of all manual pages