[petsc-users] PetscBinaryWrite function in MATLAB interface

Jed Brown jedbrown at mcs.anl.gov
Tue Jan 1 09:36:54 CST 2013


Nope, it saves all matrices the same way because the binary format is not
smart enough to distinguish different formats on disk.


On Tue, Jan 1, 2013 at 5:26 AM, Umut Tabak <u.tabak at tudelft.nl> wrote:

> Dear all,
>
> I realized sth strange in the MATLAB interface with PetscBinaryWrite
> function.
>
> If my matrix is even a dense matrix, it is still written in the format of
> a sparse matrix. However, I think it should be written as vector as
> explained in the short comment in that file.
>
> I guess the boolean test on line 45 of the 'PetscBinaryWrite' function
> should be an '&&' not a '||'.
>
> All the best for the coming year,
> U.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130101/5a8669ac/attachment.html>


More information about the petsc-users mailing list