<div dir="ltr">I use spack variants which do the same thing behind the scenes. Thanks !<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 30, 2018 at 5:10 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I assume you are ./configure PETSc with --with-scalar-type=complex? If so, the values in the file are the real and imaginary parts interlaced: That is<br>
r0 i0 r1 i1 .... where r0 is the first matrix entry's real part and i0 is the first matrix imaginary part.<br>
<br>
Barry<br>
<br>
<br>
> On Nov 30, 2018, at 5:04 PM, Sajid Ali <<a href="mailto:sajidsyed2021@u.northwestern.edu" target="_blank">sajidsyed2021@u.northwestern.edu</a>> wrote:<br>
><br>
> If the matrix is filled with complex numbers is each complex number stored as a sequences of doubles ? Or is it better to split the matrix into real/imaginary and store each part separately?<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Sajid Ali<br></div><div style="font-size:12.8px">Applied Physics<br></div><div style="font-size:12.8px">Northwestern University</div></div></div>