1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>SDAGetGhostCorners</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="SDAGetGhostCorners"><H1>SDAGetGhostCorners</H1></A>
Returns the global (x,y,z) indices of the lower left corner of the local region, including ghost points.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscda.h"
PetscErrorCode PETSCDM_DLLEXPORT SDAGetGhostCorners(SDA da,PetscInt *x,PetscInt *y,PetscInt *z,PetscInt *m,PetscInt *n,PetscInt *p)
</PRE>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<DT><B>da </B> -the distributed array
<br>
<P>
<H3><FONT COLOR="#CC3333">Output Parameters</FONT></H3>
<DT><B>x,y,z </B> -the corner indices
<br>
<pre>
y and z are optional (used for 2D and 3D problems)
</pre>
<DT><B>m,n,p </B> -widths in the corresponding directions
<br>
<pre>
n and p are optional (used for 2D and 3D problems)
</pre>
<P>
<H3><FONT COLOR="#CC3333">Note</FONT></H3>
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.
<P>
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
distributed array, get, ghost, corners, nodes, local indices
<BR>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DA/SDAGetCorners.html#SDAGetCorners">SDAGetCorners</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/dm/da/utils/sda2.c.html#SDAGetGhostCorners">src/dm/da/utils/sda2.c</A>
<BR><A HREF="./index.html">Index of all DA routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|