DMSlicedSetGhosts

Sets the global indices of other processes elements that will be ghosts on this process

Synopsis

#include "petscdmsliced.h"     
#include "petscmat.h"    
#include "petscmat.h"    
PetscErrorCode  DMSlicedSetGhosts(DM dm,PetscInt bs,PetscInt nlocal,PetscInt Nghosts,const PetscInt ghosts[])
Not Collective

Input Parameters

slice - the DM object
bs - block size
nlocal - number of local (owned, non-ghost) blocks
Nghosts - number of ghost blocks on this process
ghosts - global indices of each ghost block

See Also

DMDestroy(), DMCreateGlobalVector(), DMSlicedGetGlobalIndices()

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