getfem-users
[Top][All Lists]
Advanced

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

[Getfem-users] Again: problem with getfem python interface and cvstruct(


From: Eugen Wintersberger
Subject: [Getfem-users] Again: problem with getfem python interface and cvstruct() method
Date: Tue, 09 Jan 2007 15:05:24 +0100

Hi there
 I'm no sure if my last posting reached this list - so here again my
problem. 
I user the getfem python interface on an Ubuntu 6.10 AMD64 installation
together with IPython. I wrote a small python module to import UNV data
and convert it to a getfem mesh. So far everything works fine. However,
when I want to access the list of convex structures in a mesh by using
the cvstruct() method from a mesh object I get the following error
message:

In [151]: x = mesh.cvstruct()
---------------------------------------------------------------------------
exceptions.TypeError                                 Traceback (most recent 
call last)

/home/eugen/src/getfemtest/<ipython console> 

/home/eugen/apps/inst/lib/python2.4/site-packages/getfem/getfem.py in 
cvstruct(self, CVLST)
    333 listed once in CVS, and CV2STRUC maps the convexes indice in CVLST to 
the
    334 indice of its structure in CVS."""
--> 335         return self.get("cvstruct", CVLST)
    336 
    337 

/home/eugen/apps/inst/lib/python2.4/site-packages/getfem/getfem.py in get(self, 
*args)
    118         generic_destructor(self,destructible=True)
    119     def get(self, *args):
--> 120         return getfem('mesh_get',self.id, *args)
    121     def set(self, *args):
    122         return getfem('mesh_set',self.id, *args)

TypeError: NA_DescrFromType: unknown type: 14

In [152]: 

Does anyone have an idea what I am doing wrong? Is this a bug in getfem
or a problem with 64Bit architecture or simply a mistake in my program?

best regards
  Eugen Wintersberger




reply via email to

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