how to set options from a string (PetscOptionsInsertString)?
Issue #81
resolved
Hi Lisandro,
is it possible to set PETSc options during runtime from a string that contains options separated by blanks just like on the command-line? There is [1], but I do not see it in the petsc4py Options interface. Is there a workaround? I could set the options one by one, but then I would need to parse the string, and the options with values make that non-trivial.
Thanks! r.
[1] http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscOptionsInsertString.html
Comments (3)
-
-
reporter Great, thanks!
-
- changed status to resolved
- Log in to comment
Done in 810ec71, sorry for the delay.