KSP quick question
Matthew Knepley
knepley at gmail.com
Thu Sep 10 13:32:47 CDT 2009
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>
More information about the petsc-users
mailing list