[petsc-dev] Fortran interface problem in v.3.10.2

Adrian Croucher a.croucher at auckland.ac.nz
Thu Nov 8 18:04:07 CST 2018


hi Martin,

Sure, here it is.

- Adrian

On 9/11/18 12:34 PM, Martin Diehl wrote:
> Dear Adrian,
>
> I looked into the issue of passing in derived types with type bound
> procedures again and it seems that casting to C pointers is a suitable
> alternative.
>
> To investigate that, I modified ex5f.F90 from
> src/snes/examples/tutorials in a branch of my PETSc fork:
>
> https://bitbucket.org/m_diehl/petsc/src/5172a911a5cc8a6228f00f2435cc5cfe6ec569d9/?at=m.diehl%2FSNESSetConvergenceTestTypeFortran
>
>
> Could you please send me your original minimal working example again?
> I've deleted it and would like to test the new approach there also.
>
> many thanks
> Martin
>
-- 
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_snes.F90
Type: text/x-fortran
Size: 1478 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20181109/35482a8a/attachment.bin>


More information about the petsc-dev mailing list