#include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexExtrude(DM idm, PetscInt layers, PetscReal height, PetscBool orderHeight, const PetscReal extNormal[], PetscBool interpolate, DM* dm)Collective on idm
idm | - The mesh to be extruded | |
layers | - The number of layers, or PETSC_DETERMINE to use the default | |
height | - The height of the extruded layer, or PETSC_DETERMINE to use the default | |
orderHeight | - If PETSC_TRUE, orders the extruded cells in the height first. Otherwise, orders the cell on the layers first | |
extNormal | - The normal direction in which the mesh should be extruded, or NULL to extrude using the surface normal | |
interpolate | - Flag to create intermediate mesh pieces (edges, faces) |
dm | - The DM object |
-dm_plex_extrude_layers <k> | - Sets the nubmer of layers k | |
-dm_plex_extrude_height <h> | - Sets the height h of each layer | |
-dm_plex_extrude_order_height | - If true, order cells by height first | |
-dm_plex_extrude_normal <n0,...,nd> | - Sets the normal vector along which to extrude |