On Mar 20, 2013, at 12:50 PM, Manav Bhatia <bhatiama...@gmail.com> wrote:

> If I am using double precision numbers, then does XDR write binary files
> with double precisions?

that is correct.

> To enable complex IO, the real and imaginary parts could be written as two
> separate vectors and then read back as two separate vectors before
> combining the values into a complex number?


Well XDR IO should work fine for complex - (correct me if i am wrong!!) 

the issue is in graphics-friendly formats such as exodus, tecplot, maybe others?

the approach we had taken previously with GMV was to write complex variable var 
as

r_var
i_var

or something like that - the real and imaginary parts as separate scalars in 
the same output file.

-Ben





------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to