[petsc-dev] ts/examples/tutorials/ex11 test garbage?

Jed Brown jedbrown at mcs.anl.gov
Sun Aug 14 21:53:36 CDT 2011


On Sun, Aug 14, 2011 at 14:14, Barry Smith <bsmith at mcs.anl.gov> wrote:

>  It doesn't look like the SNES is even solving but TS just trots merrily
> along. Shouldn't TS crap out if SNES diverges?
>

It shouldn't "crap out", it should reject the step, shorten it, compute a
fresh Jacobian (if the Jacobian was being lagged), and try again. Thanks for
reminding me that this should be done sooner rather than later.


>
>  Isn't this test data from something that is failing? Should it not be
> there?
>

Yeah, was that example converging when you first created it?

changeset:   15757:896f032fd4a8
parent:      15750:1f53ec9d4e00
user:        Barry Smith bsmith at mcs.anl.gov
date:        Fri Apr 23 15:03:44 2010 -0500
summary:     some code cleanup and further work on DMMG version 2

diff --git a/src/ts/examples/tutorials/ex7.c
b/src/ts/examples/tutorials/ex11.c
copy from src/ts/examples/tutorials/ex7.c
copy to src/ts/examples/tutorials/ex11.c
--- a/src/ts/examples/tutorials/ex7.c
+++ b/src/ts/examples/tutorials/ex11.c
[changes]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110814/d064fc5c/attachment.html>


More information about the petsc-dev mailing list