[petsc-users] Error linking with DMSETFUNCTION and DMSETJACOBIAN

Jed Brown jedbrown at mcs.anl.gov
Tue Nov 12 03:12:49 CST 2013


TAY wee-beng <zonexo at gmail.com> writes:

> Hi Jed,
>
> Is there any tutorial to show the new calling sequence?
>
> I looked at some examples and it seems that I need to create a new SNES 
> using SNESCreate, and use SNESSetDM.
>
> However, I am not sure what are the arguments for SNESSetFunction and 
> SNESSetJacobian in Fortran?

http://www.mcs.anl.gov/petsc/petsc-current/src/snes/examples/tutorials/ex5f90.F.html
-------------- 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/20131112/01aa5d16/attachment.pgp>


More information about the petsc-users mailing list