|
From: | Sébastien Janas |
Subject: | Re: [Getfem-users] Bus error when exporting mesh_fem (but computations are OK !) |
Date: | Wed, 30 Mar 2011 13:18:17 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
A little more informations : - I can export in gmsh or opendx without problem with getfem::pos_export pos_exp("test.pos"); pos_exp.exporting(mf); pos_exp.write(mf,X,"test"); OR getfem::dx_export dx_exp("test.dx"); dx_exp.exporting(mf); dx_exp.write_point_data(mf,X,"test"); - but not in VTK, where I get the same Bus error as for the "mf.write_to_file" function What is in common between the export in VTK and the mf.write_to_file which is not with the export in opendx or gmsh ? Best regards, Sébastien Le 30/03/11 11:40, Roman Putanowicz a écrit : Hi, I use a simple 1D mesh which works well for computations, but I can't export it. *************************************************** but when I want to export it with something like *************************************************** mf.write_to_file("solution.mf", true); *************************************************** I always get a Bus error. Can somebody spot the trick ?I have run your program without any error. I think the problem is outside of GetFEM and related to your operating system. For instance, do you have enough resources and privileges to save the file in the specified location ? Regards, Roman |
[Prev in Thread] | Current Thread | [Next in Thread] |