petsc-3.3-p7 2013-05-11

DMSlicedSetBlockFills

Sets the fill pattern in each block for a multi-component problem of the matrix returned by DMSlicedGetMatrix().

Synopsis

#include "petscdmsliced.h" 
#include "petscmat.h"      
#include "petscdm.h"       
PetscErrorCode  DMSlicedSetBlockFills(DM dm,const PetscInt *dfill,const PetscInt *ofill)
Logically Collective on DM

Input Parameter

sliced - the DM object
dfill - the fill pattern in the diagonal block (may be PETSC_NULL, means use dense block)
ofill - the fill pattern in the off-diagonal blocks

Notes

This only makes sense for multicomponent problems using scalar matrix formats (AIJ). See DMDASetBlockFills() for example usage.

See Also

DMSlicedGetMatrix(), DMDASetBlockFills()

Level:advanced
Location:
src/dm/impls/slicedsliced.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages