[petsc-users] Solutions different after program restart
Jed Brown
jedbrown at mcs.anl.gov
Sun Jun 3 10:28:27 CDT 2012
On Sun, Jun 3, 2012 at 10:20 AM, Niceno Bojan <bojan.niceno at psi.ch> wrote:
> I will need some time with -ksp_view_binary.
>
> The file being created (called "binaryoutput") seems to grow as simulation
> time steps go by. It seems to me that all systems solved during a run are
> stored in the same file. I am struggling to understand how to pick the one
> I want to reproduce in ex10.
>
Yeah, you can either call MatView() and VecView() yourself or you can use
PetscOptionsSetValue("-ksp_view_binary", "1") before the solve. You can
also load the whole sequence in Matlab.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120603/63ba199c/attachment.html>
More information about the petsc-users
mailing list