|
From: | radames42 |
Subject: | [Getfem-users] Re2: python getfem++ is killed |
Date: | Fri, 24 Feb 2012 20:30:20 +0100 |
Dear Yves Renard,
that's strange. This part of the code runs at my system without any problems. If I use y instead of x[2] I get the error message "NameError: name 'y' is not defined".
I'm using ubuntu 11.10 with getfem++ 4.1.1.
Kind regards,
Radames
-----Ursprüngliche Nachricht----- Von: "Yves Renard" [address@hidden] Gesendet: Tue. 21.02.2012 16:01 An: address@hidden Kopie: address@hidden Betreff: Re: [Getfem-users] python getfem++ is killed |
|
When I run your program, I have a problem with the eval methods : mfpt.eval("c*(x[1]-r) * I",{'c':c, 'r':r_tube, 'I':I}) p_o = mfpo.eval("p(x[2]) * I",{'p':p_atm , 'I':I}) p_i = mfpi.eval("p(x[2]) * I",{'p':p_tube, 'I':I}) Normally, x[1] and x[2] are not defined. The available coordinates are the scalar variables x, y and z. But I have an error message ... Yves. Le 20/02/2012 21:38, address@hidden a écrit :
--
Yves Renard (address@hidden) tel : (33) 04.72.43.87.08
Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29
20, rue Albert Einstein
69621 Villeurbanne Cedex, FRANCE
http://math.univ-lyon1.fr/~renard
---------
|
-----Ursprüngliche Nachricht Ende-----
[Prev in Thread] | Current Thread | [Next in Thread] |