DMPlexCreateWedgeBoxMesh#
Creates a 3-D mesh tessellating the (x,y) plane and extruding in the third direction using wedge cells.
Synopsis#
#include "petscdmplex.h"   
#include "petscdmplextransform.h"   
PetscErrorCode DMPlexCreateWedgeBoxMesh(MPI_Comm comm, const PetscInt faces[], const PetscReal lower[], const PetscReal upper[], const DMBoundaryType periodicity[], PetscBool orderHeight, PetscBool interpolate, DM *dm)
Collective
Input Parameters#
- comm - The communicator for the - DMobject
- faces - Number of faces per dimension, or - NULLfor (1, 1, 1)
- lower - The lower left corner, or - NULLfor (0, 0, 0)
- upper - The upper right corner, or - NULLfor (1, 1, 1)
- periodicity - The boundary type for the X,Y,Z direction, or - NULLfor- DM_BOUNDARY_NONE
- orderHeight - If - PETSC_TRUE, orders the extruded cells in the height first. Otherwise, orders the cell on the layers first
- interpolate - Flag to create intermediate mesh pieces (edges, faces) 
Output Parameter#
- dm - The - DMobject
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexCreateHexCylinderMesh(), DMPlexCreateWedgeCylinderMesh(), DMExtrude(), DMPlexCreateBoxMesh(), DMSetType(), DMCreate()
Level#
beginner
Location#
Implementations#
DMPlexCreateWedgeBoxMesh_Internal() in src/dm/impls/plex/plexcreate.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages