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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMCompositeAddArray</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="DMCompositeAddArray"><H1>DMCompositeAddArray</H1></A>
adds an "redundant" array to a <A HREF="../DA/DMComposite.html#DMComposite">DMComposite</A>. The array values will be stored in part of the array on process orank.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscda.h"
PetscErrorCode PETSCDM_DLLEXPORT DMCompositeAddArray(DMComposite packer,PetscMPIInt orank,PetscInt n)
</PRE>
Collective on <A HREF="../DA/DMComposite.html#DMComposite">DMComposite</A>
<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>packer </B></TD><TD>- the packer object
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>orank </B></TD><TD>- the process on which the array entries officially live, this number must be
the same on all processes.
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>n </B></TD><TD>- the length of the array
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DA/DMCompositeDestroy.html#DMCompositeDestroy">DMCompositeDestroy</A>(), <A HREF="../DA/DMCompositeGather.html#DMCompositeGather">DMCompositeGather</A>(), <A HREF="../DA/DMCompositeAddDA.html#DMCompositeAddDA">DMCompositeAddDA</A>(), <A HREF="../DA/DMCompositeCreateGlobalVector.html#DMCompositeCreateGlobalVector">DMCompositeCreateGlobalVector</A>(),
<BR><A HREF="../DA/DMCompositeScatter.html#DMCompositeScatter">DMCompositeScatter</A>(), <A HREF="../DA/DMCompositeCreate.html#DMCompositeCreate">DMCompositeCreate</A>(), <A HREF="../DA/DMCompositeGetGlobalIndices.html#DMCompositeGetGlobalIndices">DMCompositeGetGlobalIndices</A>(), <A HREF="../DA/DMCompositeGetAccess.html#DMCompositeGetAccess">DMCompositeGetAccess</A>(),
<A HREF="../DA/DMCompositeGetLocalVectors.html#DMCompositeGetLocalVectors">DMCompositeGetLocalVectors</A>(), <A HREF="../DA/DMCompositeRestoreLocalVectors.html#DMCompositeRestoreLocalVectors">DMCompositeRestoreLocalVectors</A>(), <A HREF="../DA/DMCompositeGetEntries.html#DMCompositeGetEntries">DMCompositeGetEntries</A>()
<P>
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/dm/da/utils/pack.c.html#DMCompositeAddArray">src/dm/da/utils/pack.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>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/snes/examples/tutorials/ex21.c.html">src/snes/examples/tutorials/ex21.c.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex22.c.html">src/snes/examples/tutorials/ex22.c.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex24.c.html">src/snes/examples/tutorials/ex24.c.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex34f90.F.html">src/snes/examples/tutorials/ex34f90.F.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex35f90.F90.html">src/snes/examples/tutorials/ex35f90.F90.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex36f90.F90.html">src/snes/examples/tutorials/ex36f90.F90.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex37f90.F90.html">src/snes/examples/tutorials/ex37f90.F90.html</A><BR>
</BODY></HTML>
|