getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] Problem with python interface


From: LUK ShunTim
Subject: [Getfem-users] Problem with python interface
Date: Tue, 13 Nov 2007 11:56:32 +0800
User-agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071008)

Hello,

I got this error when testing the python interface of getfem-3.0.1

<quote>
$ python demo_tripod.py
This is the "modern" tripod demo, which uses the getfem model bricks
importing the mesh..
** Could NOT import getfem_tvtk -- graphical output disabled **

done!
nbcvs=2799, nbpts=5621, qdim=3, fem = FEM_PK(3,2), nbdof=16764
test [-10.      -10.       -9.99999 ...,  -4.54596  -7.27148  -5.9042 ]
Traceback (most recent call last):
  File "demo_tripod.py", line 43, in ?
    ftop=m.faces_from_pid(pidtop)
File "/usr/lib/python2.4/site-packages/getfem/getfem.py", line 244, in faces_from_pid
    return self.get("faces from pid", PIDLST)
File "/usr/lib/python2.4/site-packages/getfem/getfem.py", line 121, in get
    return getfem('mesh_get',self.id, *args)
RuntimeError: unhandled argument type: <class 'numarray.numarraycore.NumArray'>
</quote>

This is a debian/sid/amd64 box with python 2.4.4 and numarray 1.5.2. The other demo_plate.py runs OK. All c++ tests passed.

BTW, is there any plan to migrate from numarray to numpy?

Regards,
ST
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]