<div>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:<br></div><div><br></div><div> read( (void *)K, sizeof(double), SIZE*SIZE, fpK ).</div><div>
<br></div><div>How do I convert this simple binary file of (sequentially stored) doubles into a "PETSc binary matrix file"?</div><div><br></div><div>---John</div>