<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=""><div><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">Please always use "reply-all" so that your messages go to the list.</span><br style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">This is standard mailing list </span><span class="il" style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);">etiquette</span><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">. It is important to preserve</span><br style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">threading for people who find this discussion later and so that we do</span><br style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">not waste our time re-answering the same questions that have already</span><br style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">been answered in private side-conversations. You'll likely get an</span><br style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">answer faster that way too.</span></div><div><div style="orphans: 2; widows: 2;" class=""><font color="#222222" face="Arial, Helvetica, sans-serif" size="2" class=""><span style="caret-color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><blockquote type="cite" class=""><div class=""><div dir="auto" class=""><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Thanks for this link! So if i am understanding correctly, i can provide both rhs jacobian (which is A) and tje G function (Au+b), this way i can ru either fully implicit, either explicit. Am i right?</div><div dir="auto" class=""><br class=""></div></div></div></blockquote><div><br class=""></div><div>Correct</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="auto" class=""><div dir="auto" class="">Thanks</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 8 Nov 2020, 20:15 Stefano Zampini, <<a href="mailto:stefano.zampini@gmail.com" class="">stefano.zampini@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://docs.petsc.org/en/latest/manual/ts/" rel="noreferrer noreferrer" target="_blank" class="">https://docs.petsc.org/en/latest/manual/ts/</a><br class="">
<br class="">
> On Nov 8, 2020, at 9:51 PM, Edoardo alinovi <<a href="mailto:edoardo.alinovi@gmail.com" target="_blank" rel="noreferrer" class="">edoardo.alinovi@gmail.com</a>> wrote:<br class="">
> <br class="">
> Hello PETSc friend,<br class="">
> <br class="">
> I hope you are all good and safe! <br class="">
> <br class="">
> During these few days I have been exploring the possibility to use TS for the time integration of the momentum equation in my finite volume solver. Actually I am doing this job with my own routines, however they are quite limited with respect to all the implicit and explicit methods that TS kindly provides. <br class="">
> <br class="">
> after the space discretization, my equation takes the form:<br class="">
> <br class="">
> dudt = Au + b,<br class="">
> <br class="">
> where A and b are both known.<br class="">
> <br class="">
> I have several question being a beginner on TS, however at this stage I would like to ask the following questions:<br class="">
> <br class="">
> - Is TSSetRHSJacobian setting the matix A, while TSSetRHSFunction setting the vector?<br class="">
> <br class="">
> - if the first question is yes, do I need to do additional operation to solve the equation implicitly? <br class="">
> <br class="">
> Many thanks for the suggestions! <br class="">
> <br class="">
> Edoardo<br class="">
> <br class="">
> <br class="">
> <br class="">
<br class="">
</blockquote></div>
</div></blockquote></div><br class=""></body></html>