[petsc-users] Storing a matrix in PETSc binary form?
John Chludzinski
jchludzinski at gmail.com
Tue Jul 12 23:41:27 CDT 2011
I have a matrix stored as a sequential list of binary values (not PETSc
binary form) that I read in with a single block read:
read( (void *)K, sizeof(double), SIZE*SIZE, fpK ).
How do I convert this simple binary file of (sequentially stored) doubles
into a "PETSc binary matrix file"?
---John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110713/2dd65a03/attachment.htm>
More information about the petsc-users
mailing list