[petsc-users] Solution history in TS

Jed Brown jed at jedbrown.org
Tue Mar 11 17:15:50 CDT 2014


Gautam Bisht <gbisht at lbl.gov> writes:

> Hi,
>
> I'm trying to solve groundwater flow equations using TS with SUNDIALS. The
> domain for my problem is 3D, but the system will be solved as a collection
> of independent 1D soil columns within the subsurface domain. I'm trying to
> understand if I need TS corresponding to each soil column or can simply use
> a single TS and reuse the single TS for all soil columns. Does TS keeps
> history of solution between two calls to TSSolve()? If yes, then I would
> need TS for each column, otherwise I might get away with just a single TS.
> I appreciate your input on this topic.

You can take a new Vec and call TSSolve.  So you could reuse by
sequentially running through columns.  Note that you might want to do
multiple columns at a time in order to vectorize.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140311/1f2c8632/attachment.pgp>


More information about the petsc-users mailing list