#include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexCreateSquareBoundary(DM dm, const PetscReal lower[], const PetscReal upper[], const PetscInt edges[])Collective
| 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 |
| dm | - The DM object |
18--5-17--4--16
| | |
6 10 3
| | |
19-11-20--9--15
| | |
7 8 2
| | |
12--0-13--1--14