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