Hi, Petsc Team,
I once read that when we write large volume of data into an output data file, it's best to write in binary format rather than in ASCII format. I forget the origin of this statement and could not find it any more. What I found in the example code is about writing array into a binary file. Besides data stored in arrays, I also want to include some other info such as document title, data dimensions and line changing, which are not arrays, into the output file. So a "PetscViewerASCIIPrintf" is very convenient for doing this if we use ASCII format. But I could not find its correspondent function for binary format. Can you tell me how to do this? A sample code will be most helpful. Best Regards, Zhisong Li -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101201/4b6ee67a/attachment.htm>
