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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMPlexPartitionLabelInvert.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMPlexPartitionLabelInvert</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 docs/manualpages/DM/DMPlexPartitionLabelInvert.html "><small>Report Typos and Errors</small></a></div>
<A NAME="DMPlexPartitionLabelInvert"><H1>DMPlexPartitionLabelInvert</H1></A>
Create a partition label of remote roots from a local root label
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscdmplex.h"
PetscErrorCode DMPlexPartitionLabelInvert(DM dm, DMLabel rootLabel, PetscSF processSF, DMLabel leafLabel)
</PRE>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>dm </B></TD><TD>- The <A HREF="../DM/DM.html#DM">DM</A>
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>rootLabel </B></TD><TD>- <A HREF="../DM/DMLabel.html#DMLabel">DMLabel</A> assinging ranks to local roots
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>processSF </B></TD><TD>- A star forest mapping into the local index on each remote rank
</TD></TR>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>leafLabel </B></TD><TD>- <A HREF="../DM/DMLabel.html#DMLabel">DMLabel</A> assinging ranks to remote roots
</TD></TR></TABLE>
<P>
Note: The rootLabel defines a send pattern by mapping local points to remote target ranks. The
resulting leafLabel is a receiver mapping of remote roots to their parent rank.
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DM/DMPlexPartitionLabelCreateSF.html#DMPlexPartitionLabelCreateSF">DMPlexPartitionLabelCreateSF</A>, <A HREF="../DM/DMPlexDistribute.html#DMPlexDistribute">DMPlexDistribute</A>(), <A HREF="../DM/DMPlexCreateOverlap.html#DMPlexCreateOverlap">DMPlexCreateOverlap</A>
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>developer
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/dm/impls/plex/plexpartition.c.html#DMPlexPartitionLabelInvert">src/dm/impls/plex/plexpartition.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>
</BODY></HTML>
|