[petsc-users] fixed RK time stepping

Hong Zhang hongzhang at anl.gov
Fri May 6 12:12:09 CDT 2016


Use the command line option -ts_adapt_type none or call TSAdaptSetType(adapt,"none'') in the code.

Hong

> On May 6, 2016, at 11:57 AM, Gideon Simpson <gideon.simpson at gmail.com> wrote:
> 
> I’m trying to do RK4 time stepping for comparison in another problem, and I’m having trouble getting the TS to save at the same values of dt.  There seems to be some automatic adjustment.  Ordinarily this would be fine, but I’d really like to use a fixed value.  Is there a way to force it to use a given dt at all time steps?
> 
> -gideon
> 



More information about the petsc-users mailing list