![]() | What if we really want to send a as argument and let F77 modify it?
def ext_gridloop1(self, f): lx = size(self.xcoor); ly = size(self.ycoor) a = zeros((lx,ly)) ext_gridloop.gridloop1(a, self.xcoor, self.ycoor, f) return a |
![]() | This is not Pythonic code, but it can be realized |
![]() | 1. the array must have Fortran storage |
![]() | 2. the array argument must be intent(inout) (in general not recommended) |