[petsc-users] Application context in fortran

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


Can I pass an object of fortran "type" as the application context ?

Thanks
praveen

On Mon, Jan 23, 2017 at 10:46 AM, Praveen C <cpraveen at gmail.com> wrote:

> 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/12a1b9be/attachment.html>


More information about the petsc-users mailing list