[petsc-users] ODE solving

Jed Brown jed at 59A2.org
Thu Oct 21 17:29:46 CDT 2010


On Fri, Oct 22, 2010 at 00:22, Xuan Yu <xxy113 at psu.edu> wrote:

> Thanks,  at first we are using sundials. Now, we found Petsc is more
> popular, and powerful of parallel and precondition. So, do you think it is
> the best way to use sundials option under Petsc framework?


Yes, if Sundials is working well for your problem (in terms of error control
and algorithmics for the solves) then it is a good option to use it through
PETSc.  You can use all PETSc preconditioners this way, and if your
problem/machine/parameters changes, or you just want to try a different
method, you don't have to write any code to use other TS implementations.
There isn't a performance penalty for calling Sundials through PETSc and you
get a lot more flexibility.

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101022/5e1624b0/attachment-0001.htm>


More information about the petsc-users mailing list