[petsc-users] Recomputing ksp

Michele Rosso mrosso at uci.edu
Thu Jul 9 12:20:33 CDT 2015


I need to recompute the preconditioner every once in a while. So far I
do this "manually", i.e. I destroy ksp and re-create and reset it
whenever needed. 
I am wondering if there is a cleaner way of doing this via a PETSc
function. I found KSPreset but there are no examples about it so I am
not sure it is what I am looking for.
Could you help please?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150709/f9ffa1f8/attachment.html>

More information about the petsc-users mailing list