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
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
-
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
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(**)
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
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 " <
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