Re: [Libmesh-users] Xdr class

2011-03-30 Thread Roy Stogner
Thank you for the file and the test code. I think I've found and fixed the bug in xdr_cxx.C; would you give the latest svn trunk a try? --- Roy -- Create and publish websites with WebMatrix Use the most popular FREE web

Re: [Libmesh-users] Xdr class

2011-03-28 Thread Roy Stogner
On Mon, 28 Mar 2011, Loris Nagler wrote: > I attached a small example.xta file which was created with MeshData::write( > ). Would you mind also sending a small code where the MeshData::read() fails on this file? Thanks, --- Roy -

Re: [Libmesh-users] Xdr class

2011-03-28 Thread Loris Nagler
Dear Roy, the up-to-date svn version of MeshData::write( ) works properly. However, there is a problem with MeshData::read( ). This latter function always triggers the libmesh_assert in->good() (more precisely, the one in line 631 of xdr_cxx.C). I tried to track down the problem and it seems

Re: [Libmesh-users] Xdr class

2011-03-23 Thread Roy Stogner
I understand now, thank you. Would you see if the change in the svn head fixes the problem? Thanks, --- Roy On Wed, 23 Mar 2011, Loris Nagler wrote: > Sorry, in my previous post I was not too specific. I need to write out a > complex valued vector. I write out my data using MeshData::write(**)

Re: [Libmesh-users] Xdr class

2011-03-23 Thread Loris Nagler
Sorry, in my previous post I was not too specific. I need to write out a complex valued vector. I write out my data using MeshData::write(**), which in my case calls MeshData::write_xdr(**), which calls Xdr::data(**). By doing so in the former libmesh version, the vector entries were written out

Re: [Libmesh-users] Xdr class

2011-03-23 Thread Roy Stogner
On Wed, 23 Mar 2011, Loris Nagler wrote: I recently updated libmesh to version 0.7.0.4. In a former version, the function void Xdr::data (std::complex& a, const char* comment) which is defined in xdr_cxx.C, wrote out complex numbers like this: *out << a.real() << "\t " << a.imag() << "\t " <

[Libmesh-users] Xdr class

2011-03-23 Thread Loris Nagler
Dear Roy, I recently updated libmesh to version 0.7.0.4. In a former version, the function /void Xdr::data (std::complex& a, const char* comment)/ which is defined in xdr_cxx.C, wrote out complex numbers like this: /*out << a.real() << "\t " << a.imag() << "\t " << comment << '\n'; / whereas n