![]() | Output arrays are returned and are not part of the argument list, as seen from Python |
![]() | Need depend(nx,ny) a to specify that a is to be created with size nx, ny in the wrapper |
![]() | Array dimensions are optional arguments (!)
class Grid2Deff(Grid2D): ... def ext_gridloop2(self, f): a = ext_gridloop.gridloop2(self.xcoor, self.ycoor, f) return a |
![]() | The modified interface is well documented in the doc strings generated by F2PY |