[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Generic assembly brick crashes Matlab
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] Generic assembly brick crashes Matlab |
Date: |
Fri, 3 Apr 2015 22:42:27 +0200 (CEST) |
Dear Ryan,
There was indeed a bug but not in the generic assembly. It was in the interface
in the function
mfu=gfMeshFem(m);
which was not initialisating correctly the mesh_fem object. Instead, if you
test with
mfu=gfMeshFem(m,1);
it should work. I committed a fix.
Thank you for the bug report.
Best regards,
Yves.
----- Original Message -----
From: "Ryan T. Walker (GSFC-615.0)[UNIV OF MARYLAND]" <address@hidden>
To: "Konstantinos Poulios" <address@hidden>
Cc: address@hidden
Sent: Friday, April 3, 2015 9:42:31 PM
Subject: Re: [Getfem-users] Generic assembly brick crashes Matlab
Unfortunately, I still get the crash with the latest development version, using
the same example I gave in my last message to Yves (that is, using
‘Grad_u.Grad_Test_u’ in demo_bilaplacian.m).
I’m on Mac OSX 10.9.5, if that helps.
Best regards,
Ryan
On Apr 2, 2015, at 3:23 PM, Konstantinos Poulios < address@hidden > wrote:
Dear Ryan,
would it be possible to fetch the latest development version of GetFEM++ from
the svn repo, as described in
http://download.gna.org/getfem/html/homepage/python/install.html
and tell us if you can still reproduce the crash?
BR
Kostas
On Thu, Apr 2, 2015 at 4:52 PM, Walker, Ryan T. (GSFC-615.0)[UNIV OF MARYLAND]
< address@hidden > wrote:
I’m trying to get generic assembly bricks working with the Matlab interface.
The code "gf_model_set(md,'add linear generic assembly brick', mim,
'u*Test_u’);” works fine.
However, if I change the expression to something involving derivatives, like
‘Grad_u.Grad_Test_u’ or ‘Hess_u:Hess_Test_u’,
Matlab has an internal error (no specific error message) and shuts down.
Based on the main C++ documentation, the expressions that cause Matlab to crash
look legal. What’s going wrong here?
I’m using version 4.3.2 with Matlab 2014a.
Thanks,
Ryan
**********************************************
Dr. Ryan T. Walker
Earth System Science Interdisciplinary Center
University of Maryland at College Park
Cryospheric Sciences Laboratory, Code 615
NASA Goddard Space Flight Center
8800 Greenbelt Road
Greenbelt, MD 20771 USA
_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users
_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users