--- trunk/dyn3d/tourpot.f 2014/09/04 10:05:52 104 +++ trunk/dyn3d/tourpot.f 2018/02/05 10:39:38 254 @@ -6,14 +6,14 @@ SUBROUTINE tourpot(vcov, ucov, massebxy, vorpot) - ! From LMDZ4/libf/dyn3d/tourpot.F, version 1.1.1.1 2004/05/19 12:53:06 + ! From LMDZ4/libf/dyn3d/tourpot.F, version 1.1.1.1, 2004/05/19 12:53:06 ! Author: P. Le Van ! Objet : calcul du tourbillon potentiel USE comgeom, ONLY: fext_2d USE dimens_m, ONLY: iim, jjm, llm - use filtreg_m, only: filtreg + use filtreg_v_m, only: filtreg_v REAL, intent(in):: vcov(:, :, :) ! (iim + 1, jjm, llm) REAL, intent(in):: ucov(:, :, :) ! (iim + 1, jjm + 1, llm) @@ -37,7 +37,7 @@ = vcov(i + 1, j, :) - vcov(i, j, :) + ucov(i, j + 1, :) - ucov(i, j, :) rot(iim + 1, :, :) = rot(1, :, :) - CALL filtreg(rot, jjm, llm, 2, 1, .FALSE.) + CALL filtreg_v(rot, intensive = .true.) forall (l = 1: llm) vorpot(:iim, :, l) & = (rot(:iim, :, l) + fext_2d(:iim, :)) / massebxy(:iim, :, l)