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 53 54
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DMPLEX/DMPlexCreateWedgeBoxMesh.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMPlexCreateWedgeBoxMesh</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.10.3 2018-12-18</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.10.3 v3.10.3 docs/manualpages/DMPLEX/DMPlexCreateWedgeBoxMesh.html "><small>Report Typos and Errors</small></a></div>
<A NAME="DMPlexCreateWedgeBoxMesh"><H1>DMPlexCreateWedgeBoxMesh</H1></A>
Creates a 3-D mesh tesselating the (x,y) plane and extruding in the third direction using wedge cells.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscdmplex.h"
#include "petscdmplex.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../DMPLEX/DMPlexCreateWedgeBoxMesh.html#DMPlexCreateWedgeBoxMesh">DMPlexCreateWedgeBoxMesh</A>(<A HREF="../Sys/MPI_Comm.html#MPI_Comm">MPI_Comm</A> comm, const <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> faces[], const <A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> lower[], const <A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> upper[], const <A HREF="../DM/DMBoundaryType.html#DMBoundaryType">DMBoundaryType</A> periodicity[], <A HREF="../Sys/PetscBool.html#PetscBool">PetscBool</A> ordExt, <A HREF="../Sys/PetscBool.html#PetscBool">PetscBool</A> interpolate, <A HREF="../DM/DM.html#DM">DM</A> *dm)
</PRE>
Collective on <A HREF="../Sys/MPI_Comm.html#MPI_Comm">MPI_Comm</A>
<P>
<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>comm </B></TD><TD>- The communicator for the <A HREF="../DM/DM.html#DM">DM</A> object
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>faces </B></TD><TD>- Number of faces per dimension, or NULL for (1, 1, 1)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>lower </B></TD><TD>- The lower left corner, or NULL for (0, 0, 0)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>upper </B></TD><TD>- The upper right corner, or NULL for (1, 1, 1)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>periodicity </B></TD><TD>- The boundary type for the X,Y,Z direction, or NULL for <A HREF="../DM/DMBoundaryType.html#DMBoundaryType">DM_BOUNDARY_NONE</A>
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ordExt </B></TD><TD>- If <A HREF="../Sys/PETSC_TRUE.html#PETSC_TRUE">PETSC_TRUE</A>, orders the extruded cells in the height first. Otherwise, orders the cell on the layers first
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>interpolate </B></TD><TD>- Flag to create intermediate mesh pieces (edges, faces)
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<DT><B>dm </B> -The <A HREF="../DM/DM.html#DM">DM</A> object
<br>
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
<A HREF="../DM/DM.html#DM">DM</A>, create
<BR>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DMPLEX/DMPlexCreateHexCylinderMesh.html#DMPlexCreateHexCylinderMesh">DMPlexCreateHexCylinderMesh</A>(), <A HREF="../DMPLEX/DMPlexCreateWedgeCylinderMesh.html#DMPlexCreateWedgeCylinderMesh">DMPlexCreateWedgeCylinderMesh</A>(), <A HREF="../DMPLEX/DMPlexExtrude.html#DMPlexExtrude">DMPlexExtrude</A>(), <A HREF="../DMPLEX/DMPlexCreateBoxMesh.html#DMPlexCreateBoxMesh">DMPlexCreateBoxMesh</A>(), <A HREF="../DM/DMSetType.html#DMSetType">DMSetType</A>(), <A HREF="../DM/DMCreate.html#DMCreate">DMCreate</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>beginner<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/dm/impls/plex/plexcreate.c.html#DMPlexCreateWedgeBoxMesh">src/dm/impls/plex/plexcreate.c</A>
<BR><A HREF="./index.html">Index of all DMPLEX 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>
|