[petsc-users] Application context in fortran

Praveen C cpraveen at gmail.com
Sun Jan 22 23:16:53 CST 2017


Hello

With snes/ts, we use an "application context to contain data needed by
the application-provided call-back routines, FormJacobian()
and FormFunction()". This can be a struct in the C examples. What can I use
in case of fortran ? Can I use a module to pass the data needed by the
call-back routines ?

Thanks
praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170123/3bda5490/attachment.html>


More information about the petsc-users mailing list