PETSc version 3.17.5
Fix/Edit manual page

MatIncreaseOverlap

Given a set of submatrices indicated by index sets, replaces the index sets by larger ones that represent submatrices with additional overlap.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatIncreaseOverlap(Mat mat,PetscInt n,IS is[],PetscInt ov)
Collective on Mat

Input Parameters

mat - the matrix
n - the number of index sets
is - the array of index sets (these index sets will changed during the call)
ov - the additional overlap requested

Options Database

-mat_increase_overlap_scalable - use a scalable algorithm to compute the overlap (supported by MPIAIJ matrix)

Developer Note

Any implementation must preserve block sizes. That is: if the row block size and the column block size of mat are equal to bs, then the output index sets must be compatible with bs.

See Also

MatCreateSubMatrices()

Level

developer

Location

src/mat/interface/matrix.c

Examples

src/ksp/ksp/tutorials/ex82.c.html

Implementations

MatIncreaseOverlap_MPIAIJ in src/mat/impls/aij/mpi/mpiov.c
MatIncreaseOverlap_SeqAIJ in src/mat/impls/aij/seq/aij.c
MatIncreaseOverlap_MPIBAIJ in src/mat/impls/baij/mpi/baijov.c
MatIncreaseOverlap_SeqBAIJ in src/mat/impls/baij/seq/baij2.c
MatIncreaseOverlap_Htool in src/mat/impls/htool/htool.cxx
MatIncreaseOverlap_Normal in src/mat/impls/normal/normm.c
MatIncreaseOverlap_MPISBAIJ in src/mat/impls/sbaij/mpi/sbaijov.c
MatIncreaseOverlap_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij2.c

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages