discretize.tensor_cell.TensorCell.get_neighbors#
- TensorCell.get_neighbors(mesh)[source]#
Return the neighboring cells in the mesh.
- Parameters:
- mesh
TensorMesh
TensorMesh where the current cell lives.
- mesh
- Returns:
list
of
TensorCell
Return the neighboring cells in the mesh.
TensorMesh
TensorMesh where the current cell lives.
list
of
TensorCell