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 49 50 51 52
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MeshBoundary2DCreateSimple</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MeshBoundary2DCreateSimple"><H1>MeshBoundary2DCreateSimple</H1></A>
This function creates the boundary of a simple square mesh for the mesh generator.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "mesh.h"
int MeshBoundary2DCreateSimple(MPI_Comm comm, MeshGeometryContext *geomCtx, MeshBoundary2D *bdCtx)
</PRE>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<DT><B>geomCtx </B> -The problem geometry information
<br>
<P>
<H3><FONT COLOR="#CC3333">Output Parameters in bdCtx</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>numBd </B></TD><TD>- The number of closed boundaries
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>numVertices </B></TD><TD>- The number of vertices
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>vertices </B></TD><TD>- The vertex coordinates
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>markers </B></TD><TD>- The vertex markers
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>numSegments </B></TD><TD>- The number of segments
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>segments </B></TD><TD>- The segment endpoints
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>segMarkers </B></TD><TD>- The segment markers
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>numHoles </B></TD><TD>- The number of holes (particles)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>holes </B></TD><TD>- The hole coordinates
</TD></TR></TABLE>
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
MeshBoundary2DCreate(), <A HREF="../Mesh/MeshBoundary2DDestroy.html#MeshBoundary2DDestroy">MeshBoundary2DDestroy</A>()
<BR>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
mesh, boundary
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/mesh/interface/meshBoundary.c.html#MeshBoundary2DCreateSimple">src/mesh/interface/meshBoundary.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>
|