<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<span class="">TSSetTimeStep()</span>
<div class=""><span class=""><br class="">
</span><a href="https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetTimeStep.html#TSSetTimeStep" class="">https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetTimeStep.html#TSSetTimeStep</a>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">If you want to decide the step size by yourself, make sure that the adaptivity is turned off, e.g., with -ts_adapt_type none</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">Btw, have you tried the available TSAdapt types? Is there anything special in your problems so that none of these adaptors works?</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class="">Hong (Mr.)</div>
<div class=""><span class=""><br class="">
<blockquote type="cite" class="">On Nov 17, 2019, at 9:25 AM, Yingjie Wu via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" class="">petsc-users@mcs.anl.gov</a>> wrote:<br class="">
<br class="">
Dear Petsc developers<br class="">
Hi,<br class="">
Recently I am trying to using TS to solve time-dependent nonlinear PDEs. In my program, next time step is based on the results of previous time step. I want to add this control in TSmonitor() to change time step length in calculation. I referred to user guide
but I didn't find what I wanted. Please give me some advice.<br class="">
<br class="">
Thanks,<br class="">
Yingjie<br class="">
</blockquote>
</span><br class="">
</div>
</div>
</body>
</html>