[petsc-users] Help and clarification on TS

Edoardo alinovi edoardo.alinovi at gmail.com
Sun Nov 8 12:51:12 CST 2020


Hello PETSc friend,

I hope you are all good and safe!

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.

after the space discretization, my equation takes the form:

dudt = Au + b,

where A and b are both known.

I have several question being a beginner on TS,  however at this stage I
would like to ask the following questions:

- Is TSSetRHSJacobian setting the matix A, while TSSetRHSFunction setting
the vector?

- if the first question is yes, do I need to do additional operation to
solve the equation implicitly?

Many thanks for the suggestions!

Edoardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201108/8e43c9bc/attachment.html>


More information about the petsc-users mailing list