[petsc-users] About the "PetscOptionsSetValue" usage

Jed Brown jed at 59A2.org
Mon Dec 13 00:43:26 CST 2010


On Sun, Dec 12, 2010 at 22:35, Filippo Spiga
<filippo.spiga at disco.unimib.it>wrote:

> What can I do to remove the option "-c" inside the internal PETSc option
> database?
>

PetscOptionsClearValue()


> Is there a routine that reset/empty completely the internal PETSc database
> option without terminate the program?
>

PetscOptionsClear()


> Or the only way is to assign a different prefix for every program
> iteration?
>

What do you have to change differently on each iteration, but want to read
from a config file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101212/a1b94c3f/attachment.htm>


More information about the petsc-users mailing list