#include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexExtrude(DM idm, PetscInt layers, PetscReal height, PetscBool ordExt, PetscBool interpolate, DM* dm)Collective on idm
|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)|
Notes: The mesh created has prismatic cells, and the vertex ordering in the cone of the cell is that of the tensor prismatic cells.