[petsc-users] Load dense matrices from hdf5

Sajid Ali sajidsyed2021 at u.northwestern.edu
Fri Nov 30 17:30:24 CST 2018


I use spack variants which do the same thing behind the scenes. Thanks !

On Fri, Nov 30, 2018 at 5:10 PM Smith, Barry F. <bsmith at mcs.anl.gov> wrote:

>
>    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
> r0 i0 r1 i1 ....   where r0 is the first matrix entry's real part and i0
> is the first matrix imaginary part.
>
>     Barry
>
>
> > On Nov 30, 2018, at 5:04 PM, Sajid Ali <sajidsyed2021 at u.northwestern.edu>
> wrote:
> >
> > 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?
>
>

-- 
Sajid Ali
Applied Physics
Northwestern University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181130/83157124/attachment.html>


More information about the petsc-users mailing list