petsc-3.10.4 2019-02-26
Report Typos and Errors


Creates a 3-D mesh tesselating the (x,y) plane and extruding in the third direction using wedge cells.


#include "petscdmplex.h"   
#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateWedgeBoxMesh(MPI_Comm comm, const PetscInt faces[], const PetscReal lower[], const PetscReal upper[], const DMBoundaryType periodicity[], PetscBool ordExt, PetscBool interpolate, DM *dm)
Collective on MPI_Comm

Input Parameters

comm - The communicator for the DM object
faces - Number of faces per dimension, or NULL for (1, 1, 1)
lower - The lower left corner, or NULL for (0, 0, 0)
upper - The upper right corner, or NULL for (1, 1, 1)
periodicity - The boundary type for the X,Y,Z direction, or NULL for DM_BOUNDARY_NONE
ordExt - 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 DM object


DM, create

See Also

DMPlexCreateHexCylinderMesh(), DMPlexCreateWedgeCylinderMesh(), DMPlexExtrude(), DMPlexCreateBoxMesh(), DMSetType(), DMCreate()




Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages