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

_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to