#include "petscdmplex.h" PetscErrorCode DMPlexCreateSquareMesh(DM dm, const PetscReal lower[], const PetscReal upper[], const PetscInt edges[], DMBoundaryType bdX, DMBoundaryType bdY)Collective on MPI_Comm
comm | - The communicator for the DM object | |
lower | - The lower left corner coordinates | |
upper | - The upper right corner coordinates | |
edges | - The number of cells in each direction | |
bdX | - The boundary type for the X direction | |
bdY | - The boundary type for the Y direction |
22--8-23--9--24
| | |
13 2 14 3 15
| | |
19--6-20--7--21
| | |
10 0 11 1 12
| | |
16--4-17--5--18
Level:beginner
Location:src/dm/impls/plex/plexcreate.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages