[petsc-users] PETSc binary write format
Sajid Ali
sajidsyed2021 at u.northwestern.edu
Wed Dec 5 12:57:14 CST 2018
It's just a cleaner re-write of the petsc output that I can understand
(which I intend to modify from python in the future). I tried removing the
new line characters but that didn't work either.
Looking at the first line of the binary dump from petsc output :
[sajid at xrm <https://lists.mcs.anl.gov/mailman/listinfo/petsc-users>
temp]$ xxd -b vector.dat
0000000: 00000000 00010010 01111011 01001110 00000000 00000000 ..{N..
The first 4 bytes combine to give
*00000000000100100111101101001110*
Which is int-32 representation of VEC_FILE_CLASSID and this is the first
line of my file as well.
Thank You,
Sajid Ali
Applied Physics
Northwestern University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181205/f31e8388/attachment.html>
More information about the petsc-users
mailing list