Petsc Vec
Aron Ahmadia
aja2111 at columbia.edu
Sat Jun 30 13:05:42 CDT 2007
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 direct you to the man pages from here on
:)
http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/
~A
On 6/30/07, David Fuentes <fuentes at ices.utexas.edu> wrote:
> 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
>
>
More information about the petsc-users
mailing list