<div dir="ltr"><div><div>It seems that TSAdaptChoose_Basic only uses the local truncation error to predict the next time step. Do you also include the number of snes iterations in computing the next time step in some adapt option?<br><br></div>Thanks.<br></div>Xiangdong <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 4:52 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Xiangdong <<a href="mailto:epscodes@gmail.com">epscodes@gmail.com</a>> writes:<br>
> If I want to know how petsc computes the dt_next based on dt_current,<br>
> namely, dt_next = dt_current*func(snesits, etc), which function/file should<br>
> I look into?<br>
<br>
</span>Check out TSAdapt, especially TSAdaptChoose_Basic and TSAdaptCheckStage.<br>
</blockquote></div><br></div>