[petsc-users] User Defined KSP Method in Fortran

Frank Bramkamp bramkamp at nsc.liu.se
Wed Jan 22 14:17:47 CST 2025


Dear PETSc team,

I was planning to program a custom KSP method, some modified GMRES.
We mainly use PETSc from Fortran. Therefore I wonder it is possible
to have an interface to a custom KSP solver that is written in fortran.

I thought of using KSPRegister to register my own routine, but that seems only
available in C.  Or is it possible to have a fortran/C wrapper to do that ?


Thanks, Frank Bramkamp







More information about the petsc-users mailing list