KSP quick question

tsjb00 tsjb00 at hotmail.com
Thu Sep 10 13:05:40 CDT 2009


Hi! I have a quick question about KSP solvers. I will use the KSP solver to solve a time varying problem. My question is: do I need to call the following functions once in initialization, or do I need to call them in the time loop (solving equations in each time step)?

The functions I am not sure about include:
KSPSetOperators
KSPGetPC
PCSetType
KSPSetType
KSPSetFromOptions

Many thanks!
_________________________________________________________________
心跳斗地主新版体验,给你360度的心跳体验!
http://club.msn.cn/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090910/95e84e29/attachment.htm>


More information about the petsc-users mailing list