discretize.tensor_cell.TensorCell.get_neighbors#

TensorCell.get_neighbors(mesh)[source]#

Return the neighboring cells in the mesh.

Parameters:
meshTensorMesh

TensorMesh where the current cell lives.

Returns:
list of TensorCell