petsc-3.3-p7 2013-05-11

DMSlicedSetGhosts

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

Synopsis

#include "petscdmsliced.h" 
#include "petscmat.h"      
#include "petscdm.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()

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