MeshSetGhosts

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

Synopsis

#include "petscmesh.h"   
PetscErrorCode PETSCDM_DLLEXPORT MeshSetGhosts(Mesh mesh,PetscInt bs,PetscInt nlocal,PetscInt Nghosts,const PetscInt ghosts[])
Not Collective

Input Parameters

mesh - the Mesh object
bs - block size
nlocal - number of local (non-ghost) entries
Nghosts - number of ghosts on this process
ghosts - indices of all the ghost points

See Also

MeshDestroy(), MeshCreateGlobalVector(), MeshGetGlobalIndices()

Level:advanced
Location:
src/dm/mesh/mesh.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages