Hello,

as a preparation for the Google Summer of Code, Tapashree and I started
to work on https://gitlab.com/petsc/petsc/-/issues/194 (interfaces for
PetscViewerHDF5Write/ReadAttribute()). Preliminary work is in
https://gitlab.com/petsc/petsc/-/commits/MarDiehl/194-add-f90-bindings-for-petscviewerhdf5write-readattribute

When working on it, I realized that my understanding how Fortran
interfaces are defined in PETSc faded, so I would need some
clarifications on the different components.

Is our understanding about the content of the ftn-custom folders
correct: Do they only exist in the repository, C-code for functions
that are not 1-1 translated to Fortran are defined. This includes for
example functions having arrays or strings in their arguments.

What are the purposes of the files in the ftn-mod folders? Some seem to
combine autogenerated modules (e.g. ksp/ftn-mod/petsckspmod.F90),
others make overloaded functions available under a common name (e.g.
sys/ftn-mod/petscviewer.h90). But what is "/ksp/ftn-mod/petscksp.h90"
doing?

best regards,
Martin and Tapashree

-- 
KU Leuven
Department of Computer Science
Department of Materials Engineering
Celestijnenlaan 200a
3001 Leuven, Belgium

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to