[petsc-users] Seeking an example for TS

Jed Brown jedbrown at mcs.anl.gov
Wed Oct 30 15:51:57 CDT 2013


Gautam Bisht <gbisht at lbl.gov> writes:

> Hi,
>
> I'm wondering if there is a TS example for a similar system:
>
> d/dt [f(x)] = g(x)

You can apply chain rule to produce

  f'(x) dx/dt = g(x)

and then implement TSSetIFunction and (optionally) TSSetIJacobian.
-------------- 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/20131030/9be63c52/attachment-0001.pgp>


More information about the petsc-users mailing list