discretize.SimplexMesh.neighbors#
- property SimplexMesh.neighbors#
The adjacancy graph of the mesh.
This array contains the adjacent cell index for each cell of the mesh. For each cell the i’th neighbor is opposite the i’th node, across the i’th face. If a cell has no neighbor in a particular direction, then it is listed as having -1. This also implies that this is a boundary face.
- Returns:
- (
n_cells
,dim
+ 1)numpy.ndarray
of
int
- (