#include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexCreateCubeBoundary(DM dm, const PetscReal lower[], const PetscReal upper[], const PetscInt faces[])Collective
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) |