--- trunk/Sources/filtrez/filtreg_scal.f 2015/06/05 18:58:06 140 +++ trunk/Sources/filtrez/filtreg_scal.f 2015/06/05 19:21:08 141 @@ -27,7 +27,7 @@ ! champ intensif ou extensif (pond\'er\'e par les aires) ! Local: - REAL sdd1(iim), sdd2(iim) + REAL sdd(iim) !----------------------------------------------------------- @@ -35,19 +35,17 @@ call assert(size(champ, 2) == jjm + 1, "filtreg_scal jjm + 1") IF (intensive) THEN - sdd1 = sddv - sdd2 = unsddv + sdd = sddv ELSE - sdd1 = unsddv - sdd2 = sddv + sdd = unsddv END IF if (direct) then - call filtreg_hemisph(champ(:, 2:jfiltnu, :), sdd1, sdd2, matriceun) - call filtreg_hemisph(champ(:, jfiltsu:jjm, :), sdd1, sdd2, matriceus) + call filtreg_hemisph(champ(:, 2:jfiltnu, :), sdd, matriceun) + call filtreg_hemisph(champ(:, jfiltsu:jjm, :), sdd, matriceus) else - call filtreg_hemisph(champ(:, 2:jfiltnu, :), sdd1, sdd2, - matrinvn) - call filtreg_hemisph(champ(:, jfiltsu:jjm, :), sdd1, sdd2, - matrinvs) + call filtreg_hemisph(champ(:, 2:jfiltnu, :), sdd, - matrinvn) + call filtreg_hemisph(champ(:, jfiltsu:jjm, :), sdd, - matrinvs) end if END SUBROUTINE filtreg_scal