[petsc-users] implicit TS solver for flux calculation
Jed Brown
jed at jedbrown.org
Thu Sep 18 22:02:36 CDT 2014
Feng Shi <fshi at fit.edu> writes:
> Dear all,
>
> I'm learning how to use implicit TS solvers to calculate the flux. The example code is http://www.mcs.anl.gov/petsc/petsc-current/src/ts/examples/tutorials/ex10.c.html
> I'm dying in understanding Lines 232-255. Is there anyone who knows how to work this out?
It's chain rule, differentiating the fluxes with respect to the states
in each cell.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140918/2fa2da6a/attachment.pgp>
More information about the petsc-users
mailing list