SlicedSetBlockFills

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

Synopsis

#include "petscda.h"     
#include "petscmat.h"    
#include "petscmat.h"    
PetscErrorCode PETSCDM_DLLEXPORT SlicedSetBlockFills(Sliced slice,const PetscInt *dfill,const PetscInt *ofill)
Collective on Sliced

Input Parameter

sliced - the Sliced 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 DASetBlockFills() for example usage.

See Also

SlicedGetMatrix(), DASetBlockFills()

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