[petsc-users] How to replace the default global database?

Lucas Clemente Vella lvella at gmail.com
Fri May 26 16:20:08 CDT 2017


Here is what I want to do:
- Take the global PetscOptions and store it somewhere;
- Create my own PetscOptions;
- Populate it with my options;
- Set my new PetscOptions as the global default;
- Create some PETSc objects;
- Restore old PetscOptions as default global;
- Destroy the PetscOptions I created.

I could not find a function to replace global PetscOptions, or to copy one
PetscOptions to another. Is it possible to do what I want to do? How?

-- 
Lucas Clemente Vella
lvella at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170526/b5525a2b/attachment.html>


More information about the petsc-users mailing list