On Thu, Feb 5, 2015 at 3:33 PM, Saurabh Chawdhary <[email protected]> wrote:

> Hi guys,
> With ISView we can dump the IS into a viewer and file and save it. But how
> can we load the IS back from file into the code.
> ISLoad is a function in current petsc version 3.5 but it doesn't exist in
> version 3.4.5. Is there an alternate way to di the job?
> All we want is the ability to save an IS in current program and read it
> back later. How can this be done in Petsc 3.4.5?
> Help! Help!
>

You should really upgrade. You could use ISGetIndices() and
PetscBinaryWrite() yourself to write the data, but you will have
to manage the parallelism yourself.

   Matt


> Thanks,
> Saurabh
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to