f90wrap
f90wrap copied to clipboard
Add support for Fortran 2003 "extends" keyword
trafficstars
Reported by Bob Fischer. OO-style Fortran extension derived types don't work. In this case, I have a Fortran derived type:
type :: DebugType
.....
end type DebugType
Then I extend it:
type, extends(DebugType) :: Debug_heat_eq
....
end type Debug_heat_eq
In the .py file that gets generated, the corresponding Python class Debug_Heat_Eq needs to extend the Python class Debugtype. Instead, it just extends f90wrap.runtime.FortranDerviedType, which messes things up
Partially supported by commit 0deeac9242edc7c