[petsc-users] reparsing command line options

Matthew Knepley knepley at gmail.com
Wed Jan 16 13:15:34 CST 2013


I think you can just recall PetscOptionsInsert().

   Matt


On Wed, Jan 16, 2013 at 1:05 PM, Geoffrey Irving <irving at naml.us> wrote:

> Is there a convenient way to reparse PETSc options from (a fake) argv
> without doing PetscFinalize followed by PetscInitialize?  I'd like to
> be able to change options while a program is running.  I realize that
> any previously created objects would not automatically refresh, so
> doing such a reparse may be a bit sketchy anyways.
>
> Thanks,
> Geoffrey
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130116/495231dd/attachment.html>


More information about the petsc-users mailing list