2009/9/10 tsjb00 <tsjb00 at hotmail.com> > 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 >
^^^^^ This is the only one to call in the loop. Matt > KSPGetPC > PCSetType > KSPSetType > KSPSetFromOptions > > Many thanks! > ------------------------------ > ??+??+?? ??????,??MSN????! ????? <http://mobile.msn.com.cn/> > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090910/8148edc2/attachment.htm>
