[petsc-users] TSSetIJacobian is never called
Jed Brown
jed at jedbrown.org
Mon Oct 27 13:46:40 CDT 2014
Sharp Stone <thronesf at gmail.com> writes:
> Hi Matt,
>
> Thank you very much for your reply.
>
> The ts_view output is attached below. I found my code results say "SNES has
> not been set up", and PC "has not been set up". Does this cause the
> problem? If so I do not see example ex17 explicitly set up the snes object?
Those objects are set up on the first time step (inside TSSolve).
> PS: I don't know why the -ts_view option does not work in my command line,
Are you sure it doesn't output after the TSSolve? The example does.
> so I use TSView() routine just before the TSSolve() routine.
You should call it *after* the solve so we can see what happened during
the solve.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141027/7ef3f8ff/attachment.pgp>
More information about the petsc-users
mailing list