← Back to team overview

dolfin team mailing list archive

Bug in Python interface for mesh entities?

 

I expect the following program to print "3, 3" but it prints "3, 0":

  from dolfin import *

  mesh = UnitSquare(2, 2)
  cell = Cell(mesh, 0)

  print cell.num_entities(0), len(cell.entities(0))

Any thoughts on what might be wrong? Something with the wrapping of

  const uint*

?

--
Anders