[petsc-users] missing routines in the Fortran interfaces

Barry Smith bsmith at petsc.dev
Mon Jun 23 13:56:52 CDT 2025


 
   VecSetValue should now have an interface (generated automatically in the main branch), I'll check the others.

    BTW: Since you are working on this you should switch to the main branch (until the next release), we are busying with a Summer of Code project improving the Fortran bindings and have lots of new stuff in main that is not in release.

  Barry


> On Jun 23, 2025, at 1:37 PM, Randall Mackie <rlmackie862 at gmail.com> wrote:
> 
> After discovery of the implicit none (type, external) statement for disabling implicit procedures (thanks to Barry for the suggestion), I used that in my code to good effect.
> 
> However, it also showed that were some routines I call that did not have explicit Fortran interfaces, and maybe they exist but I just didn’t include the right modules.
> 
> Here are the ones I’m missing:
> 
> MatShellSetOperation
> PetscOptionGetString
> PetscViewerASCIIPrintF
> VecSetValue
> KSPMonitorSet
> 
> Do the Fortran interfaces exist for these? If not can they be added?
> 
> 
> Thanks, Randy
> 



More information about the petsc-users mailing list