[petsc-dev] TS Equation Type

Matthew Knepley knepley at gmail.com
Sat Dec 3 14:20:13 CST 2016


On Sat, Dec 3, 2016 at 2:18 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> > On Dec 3, 2016, at 11:58 AM, Matthew Knepley <knepley at gmail.com> wrote:
> >
> > Right now, TS just leaves the equation type as undetermined, and never
> queries it except for the IMEX methods. This seems really strange to me. If
> we choose a linear TS solver, shouldn't it set the type to LINEAR, and
> likewise for nonlinear? Then a user could query this for information. We
> want to do just that in PyLith.
>
>   Is your concern that many of the examples never bother to set the type?


Yes, since I want to query this to see what formulation the user expects.


> Or that not enough error checking is done that the set type works with
> solution method selected by the user?


No


> I think these are just oversights and you should go ahead and add these in
> the examples and code where appropriate.


Will do.

   Matt


>
>    Barry
>
> >
> >    Matt
> >
> > --
> > What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> > -- Norbert Wiener
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20161203/582c7815/attachment.html>


More information about the petsc-dev mailing list