[petsc-users] Missing Fortran interface for PCFieldSplitSetIS and PCFieldSplitGetIS?

Marco Tiberga M.Tiberga at tudelft.nl
Wed Feb 6 09:56:55 CST 2019


Dear PETSc developers,

I am developing a coupled solver for the incompressible Navier-Stokes equations, based on the PCFIELDSPLIT implemented in PETSc (I'm using version 3.10.1).
My code is written in Fortran.

I tried to follow as much as possible this example<https://www.mcs.anl.gov/petsc/petsc-current/src/snes/examples/tutorials/ex70.c.html>, but I am getting weird errors. I think the problem is in the call to PCFieldSplitSetIS.
To debug the code, for each field I wanted to call PCFieldSplitGetIS (after setting it) and print the IS with ISView. However, the compiler says the reference to PCFieldSplitGetIS is undefined.

So, I was wondering whether PCFieldSplitGetIS and PCFieldSplitSetIS are actually available for Fortran.
I tried to had a look at petsc-3.10.1/src/ksp/f90-mod/ftn-auto-interfaces/petscpc.h90, but I cannot find the interfaces for these functions.

Thanks for the clarification.

Best regards,

Marco Tiberga
PhD candidate
Delft University of Technology
Faculty of Applied Sciences
Radiation Science & Technology Department
Mekelweg 15, 2629 JB Delft, The Netherlands
E-Mail: m.tiberga at tudelft.nl<mailto:m.tiberga at tudelft.nl>
Website: http://www.nera.rst.tudelft.nl/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190206/678e5c92/attachment.html>


More information about the petsc-users mailing list