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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMDAGetReducedDA</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="DMDAGetReducedDA"><H1>DMDAGetReducedDA</H1></A>
Gets the DMDA with the same layout but with fewer or more fields
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscdmda.h"
PetscErrorCode DMDAGetReducedDA(DM da,PetscInt nfields,DM *nda)
</PRE>
Collective on DMDA
<P>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>da </B></TD><TD>- the distributed array
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>nfields </B></TD><TD>- number of fields in new DMDA
</TD></TR>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>nda </B></TD><TD>- the new DMDA
</TD></TR>
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
distributed array, get, corners, nodes, local indices, coordinates
<BR>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DM/DMDAGetGhostCorners.html#DMDAGetGhostCorners">DMDAGetGhostCorners</A>(), <A HREF="../DM/DMDASetCoordinates.html#DMDASetCoordinates">DMDASetCoordinates</A>(), <A HREF="../DM/DMDASetUniformCoordinates.html#DMDASetUniformCoordinates">DMDASetUniformCoordinates</A>(), <A HREF="../DM/DMDAGetCoordinates.html#DMDAGetCoordinates">DMDAGetCoordinates</A>(), <A HREF="../DM/DMDAGetGhostedCoordinates.html#DMDAGetGhostedCoordinates">DMDAGetGhostedCoordinates</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/dm/impls/da/dacorn.c.html#DMDAGetReducedDA">src/dm/impls/da/dacorn.c</A>
<BR><A HREF="./index.html">Index of all DM 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>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/snes/examples/tutorials/ex61view.c.html">src/snes/examples/tutorials/ex61view.c.html</A><BR>
</BODY></HTML>
|