[petsc-users] PETSc binary write format

Sajid Ali sajidsyed2021 at u.northwestern.edu
Fri Dec 7 09:19:28 CST 2018

For future reference, attached is a snippet of code in C to convert ascii
numbers (integers and doubles) to petsc readable binary vectors.

Sajid Ali
Applied Physics
Northwestern University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181207/88c573c8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ascii_to_bin.c
Type: application/octet-stream
Size: 2075 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181207/88c573c8/attachment.obj>

More information about the petsc-users mailing list