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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MeshCreateDualCSR</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MeshCreateDualCSR"><H1>MeshCreateDualCSR</H1></A>
Returns the dual of the mesh in distributed CSR format
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "mesh.h"
int MeshCreateDualCSR(Mesh mesh, int **elemOffsets, int **elemNeighbors, int **edgeWeights, int weight)
</PRE>
Collective on Mesh
<P>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<DT><B>mesh </B> -The mesh
<br>
<P>
<H3><FONT COLOR="#CC3333">Output Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>elemOffsets </B></TD><TD>- List of offsets into the neighbor array for each element
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>elemNeighbors </B></TD><TD>- List of element neighbors
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>edgeWeights </B></TD><TD>- [Optional] List of edge weights for the dual graph
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>weight </B></TD><TD>- [Optional] Weight for each edge
</TD></TR></TABLE>
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
mesh, partition, dual
<BR>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Mesh/MeshDestroyDualCSR.html#MeshDestroyDualCSR">MeshDestroyDualCSR</A>(), <A HREF="../Mesh/MeshPartition.html#MeshPartition">MeshPartition</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/mesh/interface/meshCSR.c.html#MeshCreateDualCSR">src/mesh/interface/meshCSR.c</A>
<BR><A HREF="./index.html">Index of all Mesh 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>
|