DAGetProcessorSubset
Returns a communicator consisting only of the processors in a DA that own a particular global x, y, or z grid point (corresponding to a logical plane in a 3D grid or a line in a 2D grid).
Synopsis
int DAGetProcessorSubset(DA da,DADirection dir,int gp,MPI_Comm *comm)
Collective on
DA
Input Parameters
da | - the distributed array
|
dir | - Cartesian direction, either DA_X, DA_Y, or DA_Z
|
gp | - global grid point number in this direction
|
Output Parameters
comm -new communicator
Notes
This routine is particularly useful to compute boundary
conditionsor other application-specific calculations that require
manipulatingsets of data throughout a logical plane of grid points.
Keywords
distributed array, get, processor subset
Location: src/da/src/dasub.c
IS and DA Index
Table of Contents