← Back to team overview

dolfin team mailing list archive

[Bug 434922] [NEW] demo/mesh/intersection/python/demo.py does not work

 

Public bug reported:

/home/andre/homebase/software/packages/src/fenics-unstable/dolfin/demo/mesh/intersection/python/demo.py in <module>()
     31     # Compute intersection with boundary of square

     32     boundary = BoundaryMesh(omega1)
---> 33     cells = STLVectorUInt()
     34     omega0.intersection(boundary, cells, False)
     35

NameError: name 'STLVectorUInt' is not defined
WARNING: Failure executing file: <demo.py>
Python 2.6.2+ (release26-maint, Sep 13 2009, 21:26:06)

Guess, it  is highly probably due to the recent changes in the generated
interface by swig. What would be the proper syntax now?

** Affects: dolfin
     Importance: Undecided
         Status: New

-- 
demo/mesh/intersection/python/demo.py does not work
https://bugs.launchpad.net/bugs/434922
You received this bug notification because you are subscribed to DOLFIN.

Status in DOLFIN: New

Bug description:
/home/andre/homebase/software/packages/src/fenics-unstable/dolfin/demo/mesh/intersection/python/demo.py in <module>()
     31     # Compute intersection with boundary of square

     32     boundary = BoundaryMesh(omega1)
---> 33     cells = STLVectorUInt()
     34     omega0.intersection(boundary, cells, False)
     35

NameError: name 'STLVectorUInt' is not defined
WARNING: Failure executing file: <demo.py>
Python 2.6.2+ (release26-maint, Sep 13 2009, 21:26:06)

Guess, it  is highly probably due to the recent changes in the generated interface by swig. What would be the proper syntax now?


Follow ups

References