1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
4
<META NAME="GENERATOR" CONTENT="DOCTEXT">
5
<TITLE>SDAGetCorners</TITLE>
7
<BODY BGCOLOR="FFFFFF">
8
<A NAME="SDAGetCorners"><H1>SDAGetCorners</H1></A>
9
Returns the global (x,y,z) indices of the lower left corner of the local region, excluding ghost points.
10
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
13
int SDAGetCorners(SDA da,int *x,int *y,int *z,int *m,int *n,int *p)
15
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
16
<DT><B>da </B> -the distributed array
19
<H3><FONT COLOR="#CC3333">Output Parameters</FONT></H3>
20
<DT><B>x,y,z </B> -the corner indices
23
y and z are optional (used for 2D and 3D problems)
25
<DT><B>m,n,p </B> -widths in the corresponding directions
28
n and p are optional (used for 2D and 3D problems)
31
<H3><FONT COLOR="#CC3333">Note</FONT></H3>
32
Any of y, z, n, and p should be set to <A HREF="../Sys/PETSC_NULL.html#PETSC_NULL">PETSC_NULL</A> if not needed.
36
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
37
distributed array, get, corners, nodes, local indices
40
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
41
<A HREF="../DA/SDAGetGhostCorners.html#SDAGetGhostCorners">SDAGetGhostCorners</A>()
42
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
43
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/dm/da/utils/sda2.c.html#SDAGetCorners">src/dm/da/utils/sda2.c</A>
44
<BR><A HREF="./index.html">Index of all DA routines</A>
45
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
46
<BR><A HREF="../singleindex.html">Index of all manual pages</A>