petsc-3.14.6 2021-03-30
Report Typos and Errors

DMPlexCreateCubeBoundary

Creates a 2D mesh that is the boundary of a cubic lattice.

Synopsis

#include "petscdmplex.h"   
#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateCubeBoundary(DM dm, const PetscReal lower[], const PetscReal upper[], const PetscInt faces[])
Collective

Input Parameters

comm - The communicator for the DM object
lower - The lower left front corner coordinates
upper - The upper right back corner coordinates
faces - The number of faces in each direction (the same as the number of cells)

Output Parameter

dm - The DM object

See Also

DMPlexCreateBoxMesh(), DMPlexCreateSquareBoundary(), DMSetType(), DMCreate()

Level

beginner

Location

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