Hi Ben,

   That sounds good.

    My current application needs a solution with real numbers and then a
solution with complex numbers using the real solution as reference.

    The intent is to write the equation system in the application built
with real numbers, and then read it again for the library built with
complex numbers. I will look into XDR to see if I could get this behavior.

Manav



On Wed, Mar 20, 2013 at 1:54 PM, Kirk, Benjamin (JSC-EG311) <
benjamin.kir...@nasa.gov> wrote:

>
> 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