petsc-3.3-p7 2013-05-11
DMCreateColoring
Gets coloring for a DMDA or DMComposite
Synopsis
#include "petscdm.h"
PetscErrorCode DMCreateColoring(DM dm,ISColoringType ctype,const MatType mtype,ISColoring *coloring)
Collective on DM
Input Parameter
| dm | - the DM object
|
| ctype | - IS_COLORING_GHOSTED or IS_COLORING_GLOBAL
|
| matype | - either MATAIJ or MATBAIJ
|
Output Parameter
coloring -the coloring
See Also
DMDestroy(), DMView(), DMCreateGlobalVector(), DMCreateInterpolation(), DMCreateMatrix()
Level:developer
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/snes/examples/tutorials/ex14.c.html
src/ts/examples/tutorials/ex7.c.html
src/ts/examples/tutorials/ex10.c.html
src/ts/examples/tutorials/ex12.c.html
src/ts/examples/tutorials/ex13.c.html
src/ts/examples/tutorials/ex15.c.html
src/ts/examples/tutorials/ex17.c.html
src/ts/examples/tutorials/ex26.c.html