SDAGetCorners

Returns the global (x,y,z) indices of the lower left corner of the local region, excluding ghost points.

Synopsis

#include "da.h"   
int SDAGetCorners(SDA da,int *x,int *y,int *z,int *m,int *n,int *p)

Input Parameter

da -the distributed array

Output Parameters

x,y,z -the corner indices
   y and z are optional (used for 2D and 3D problems)
m,n,p -widths in the corresponding directions
   n and p are optional (used for 2D and 3D problems)

Note

Any of y, z, n, and p should be set to PETSC_NULL if not needed.

Keywords

distributed array, get, corners, nodes, local indices

See Also

SDAGetGhostCorners()

Level:beginner
Location:
src/contrib/sda/src/sda2.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages