[petsc-users] Obtaining TS rosw solver output at regular time steps

Fiona Reid fiona at epcc.ed.ac.uk
Thu May 22 13:26:38 CDT 2014


On 22/05/2014 18:57, Jed Brown wrote:
> If you want a constant time step size, use -ts_adapt_type none.  By
> default, RosW uses an adaptive step size with an embedded error
> estimator.  Note that RosW is a multi-stage method, so you might, for
> example, compare the accuracy and efficiency of
>
>    -ts_type rosw -ts_rosw_type ra34pw2 -ts_dt 0.2
>
> to
>
>    -ts_type beuler -ts_dt 0.05

Many thanks Jed, that's brilliant and does exactly what I need.

Fiona


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the petsc-users mailing list