dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #15624
Re: [Bug 434922] [NEW] demo/mesh/intersection/python/demo.py does not work
On Wednesday 23 September 2009 00:39:31 Andre Massing wrote:
> 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)
I think you might have an old version of the demo. The one I have says:
# Compute intersection with boundary of square
boundary = BoundaryMesh(omega1)
cells = omega0.intersection(boundary, False)
Johan
--
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