# Type incompatibility between Python and Fortran. Suppose you implement the gridloop1 F77 function…

Type incompatibility between Python and Fortran. Suppose you implement the gridloop1 F77 function from Chapter 9.3.3 as subroutine gridloop1(a, xcoor, ycoor, nx, ny, func1) integer nx, ny real*4 a(0:nx-1,0:ny-1), xcoor(0:nx-1), ycoor(0:ny-1), func1 Cf2py intent(inout) a Cf2py intent(in) xcoor Cf2py intent(in) ycoor Cf2py depend(nx, ny) a That is, the array elements are now real*4 (single precision) floating-point numbers. Demonstrate that if a is created with float […]