tags:

views:

12

answers:

1

With FORTRAN 77 is it possible to perform a swap on two arrays, in the same way swap works in c++?

I have two large arrays, e.g. v1 and v2, and would like to swap v1 and v2 at the end of each iteration such that v2 is always the last iteration and v1 is the working array. How does one do this in F77?