<div dir="ltr"><div>Good morning PETSC team,</div><div><br></div><div>I am currently using a TS object to advance a set of PDEs in time.</div><div><br></div><div>However, the computation of the Jacobian is quite expensive and I wish to reuse it across time steps if possible.</div><div><br></div><div>I am well aware of the options -snes_lag_jacobian and -snes_lag_jacobian_persists, but I do not quite understand how to combine them for what I want.</div><div><br></div><div>In summary I want to compute the Jacobian only at the beginning of a given time step, reuse that Jacobian for N time steps, and then recompute again at the beginning of the next time step. <br></div><div><br></div><div>With my current understanding I have been able to reuse it across time steps by recomputing every N snes iterations, however, this leads to recomputations in the middle of time steps which is not what I desire.</div><div><br></div><div>Thank you,</div><div><br></div><div>-Alfredo <br></div><div><br></div><div><br></div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="arial, sans-serif">Alfredo Duarte</font><div><font face="arial, sans-serif">Graduate Research Assistant</font></div><div><font face="arial, sans-serif">The University of Texas at Austin</font></div></div></div></div></div></div>