#include "petscdmda.h" PetscErrorCode DMDAGetProcessorSubset(DM da,DMDADirection dir,PetscInt gp,MPI_Comm *comm)Collective on DMDA
da | - the distributed array | |
dir | - Cartesian direction, either DMDA_X, DMDA_Y, or DMDA_Z | |
gp | - global grid point number in this direction |
This routine is particularly useful to compute boundary conditions or other application-specific calculations that require manipulating sets of data throughout a logical plane of grid points.
Level:advanced
Location:src/dm/impls/da/dasub.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages