← Back to team overview

dolfin team mailing list archive

[Bug 713081] [NEW] mesh-entities-broken

 

Public bug reported:

The following code prints 3, 0 but should print 3, 3:

from dolfin import *

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

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

Perhaps a broken typemap for uint*?

** Affects: dolfin
     Importance: High
         Status: Confirmed

** Changed in: dolfin
       Status: New => Confirmed

** Changed in: dolfin
   Importance: Undecided => High

** Changed in: dolfin
    Milestone: None => 0.9.10

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/713081

Title:
  mesh-entities-broken

Status in DOLFIN:
  Confirmed

Bug description:
  The following code prints 3, 0 but should print 3, 3:

  from dolfin import *

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

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

  Perhaps a broken typemap for uint*?





Follow ups

References