Petsc Vec

2007-06-30 Thread Aron Ahmadia
Hi David, You're looking to use a PetscViewer. I see that there's not much in the user's manual on how to use them, but the basic idea is that you create a binary or ascii viewer (PetscViewerASCIIOpen, PetscViewerBinaryOpen), then call VecView to save it to disk. The inverse call is VecLoad. I

Petsc Vec

2007-06-30 Thread David Fuentes
Hello, I would like to write a Vec to a file and read it in at a later point in time. Are there any utilities in Petsc to do this? thank you, David Fuentes