[petsc-users] sundials and beuler

Jed Brown jed at 59A2.org
Wed Jul 28 10:56:11 CDT 2010


On Wed, 28 Jul 2010 11:41:56 -0400, Xuan YU <xxy113 at psu.edu> wrote:
> Can I custom the output time of sundials?

Sundials uses adaptive step size (and orders).  You might be able to
fake it into doing constant step sizes by resetting things via
TSSetPostStep(), but it's not designed to be used that way.  They are
different integrators and you should expect them to take a different
number of steps with a different cost per step.  What matters in the end
is the cost to integrate a certain period of time to a certain accuracy.

Jed


More information about the petsc-users mailing list