:orphan: # DMSlicedSetBlockFills Sets the fill pattern in each block for a multi-component problem of the matrix returned by `DMSlicedGetMatrix()`. ## Synopsis ``` #include "petscdmsliced.h" PetscErrorCode DMSlicedSetBlockFills(DM dm, const PetscInt *dfill, const PetscInt *ofill) ``` Logically Collective ## Input Parameters - ***sliced -*** the `DM` object - ***dfill -*** the fill pattern in the diagonal block (may be `NULL`, means use dense block) - ***ofill -*** the fill pattern in the off-diagonal blocks ## Note This only makes sense for multicomponent problems using scalar matrix formats (AIJ). See `DMDASetBlockFills()` for example usage. ## See Also `DM`, `DMSLICED`, `DMSlicedGetMatrix()`, `DMDASetBlockFills()` ## Level advanced ## Location src/dm/impls/sliced/sliced.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/sliced/sliced.c) [Index of all DM routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)