petsc-3.11.4 2019-09-28
Report Typos and Errors

DMPlexExtrude

Creates a (d+1)-D mesh by extruding a d-D mesh in the normal direction using prismatic cells.

Synopsis

#include "petscdmplex.h"   
#include "petscdmplex.h"   
PetscErrorCode DMPlexExtrude(DM idm, PetscInt layers, PetscReal height, PetscBool ordExt, PetscBool interpolate, DM* dm)
Collective on idm

Input Parameters

idm - The mesh to be extruted
layers - The number of layers
height - The height of the extruded layer
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

Notes: The object created is an hybrid mesh, the vertex ordering in the cone of the cell is that of the prismatic cells

Keywords

DM, create

See Also

DMPlexCreateWedgeCylinderMesh(), DMPlexCreateWedgeBoxMesh(), DMPlexSetHybridBounds(), DMSetType(), DMCreate()

Level

advanced

Location

src/dm/impls/plex/plexcreate.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages