[patch, libfortran] Speed up cshift for dim > 1

Dominique d'Humières dominiq@lps.ens.fr
Fri Jun 16 15:14:00 GMT 2017


Hi Thomas,

Your patch works as advertised! For the record, the following CSHIFT is still 4 times slower than the DO loop

    td(:,:) = cshift(array=t(:,:), shift=vect(:), dim=1)

Thanks for working on this issue.

Dominique



More information about the Fortran mailing list