1 | One passes "assumed-shape" arrays from calling to callee routines using INTERFACE syntax |
2 |
INTERFACE
|
3 | END INTERFACE is called by |
4 | call residual (r,u,f) or |
5 | call residual ( r(0:nx:2, 0:ny:2) , u(0:nx:2, 0:ny:2) , f(0:nx:2, 0:ny:2) ) |
6 | where latter example just processes every other element of arrays |