#include "petscmat.h" PetscErrorCode MatGetGhosts(Mat mat,PetscInt *nghosts,const PetscInt *ghosts[])Collective on Mat
nghosts | - number of ghosts (note for BAIJ matrices there is one ghost for each block) | |
ghosts | - the global indices of the ghost points |
Notes: the nghosts and ghosts are suitable to pass into VecCreateGhost()
Level:advanced
Location:src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages