DMGetColoring

Gets coloring and empty Jacobian for a DA or VecPack

Synopsis

#include "petscda.h"     
int DMGetColoring(DM dm,ISColoringType ctype,MatType mtype,ISColoring *coloring,Mat *mat)
Collective on DM

Input Parameter

dm - the DM object
ctype - IS_COLORING_LOCAL or IS_COLORING_GLOBAL
mtype - MATMPIAIJ or MATMPIBAIJ

Output Parameter

coloring - the coloring (optional)
mat - the Jacobian (optional)

See Also

DMDestroy(), DMView(), DMCreateGlobalVector(), DMGetInterpolation()

Level:developer
Location:
src/dm/da/utils/dm.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages