#include "petscdmda.h" PetscErrorCode DMDAGetNeighbors(DM da,const PetscMPIInt *ranks)Not Collective
Notes: In 2d the array is of length 9, in 3d of length 27 Not supported in 1d Do not free the array, it is freed when the DMDA is destroyed.
Fortran Notes: In fortran you must pass in an array of the appropriate length.
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages