#include "petscda.h" #include "petscmat.h" PetscErrorCode PETSCDM_DLLEXPORT DAGetColoring(DA da,ISColoringType ctype,const MatType mtype,ISColoring *coloring)Collective on DA
da | - the distributed array | |
ctype | - IS_COLORING_GLOBAL or IS_COLORING_GHOSTED | |
mtype | - either MATAIJ or MATBAIJ |
Notes: These compute the graph coloring of the graph of A^{T}A. The coloring used for efficient (parallel or thread based) triangular solves etc is NOT available.
For BAIJ matrices this colors the graph for the blocks, not for the individual matrix elements; the same as MatGetColoring().
Level:advanced
Location:src/dm/da/utils/fdda.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages