In a 2D setting, suppose I have a mesh and want to know what cells (dimension 2) are neighbors to some cells (dimension 2). I can compute the connectivity by doing, in Python:
mesh.init(2,2)
Then I believe I get a string with the relevant information by:
mt = mesh.topology()
mc = mt(2,2)
mc.str(1)
Is it possible to somehow get access to this connectivity information as arrays or similar?