/[lmdze]/trunk/Sources/filtrez/filtreg_hemisph.f
ViewVC logotype

Contents of /trunk/Sources/filtrez/filtreg_hemisph.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142 - (show annotations)
Fri Jun 5 19:31:37 2015 UTC (8 years, 11 months ago) by guez
File size: 690 byte(s)
This revision changes results.

1 module filtreg_hemisph_m
2
3 implicit none
4
5 contains
6
7 subroutine filtreg_hemisph(champ, sdd, matri)
8
9 USE dimens_m, ONLY: iim
10
11 REAL, intent(inout):: champ(:, :, :) ! (iim + 1, :, :)
12 REAL, intent(in):: sdd(:) ! (iim)
13 real, intent(in), dimension(:, :, :):: matri ! (iim, iim, :)
14
15 ! Local:
16 integer l, j
17
18 !-----------------------------------------------------------------
19
20 forall (j = 1:size(champ, 2), l = 1:size(champ, 3))
21 champ(:iim, j, l) = champ(:iim, j, l) &
22 + matmul(matri(:, :, j), champ(:iim, j, l) * sdd) / sdd
23 END forall
24
25 champ(iim + 1, :, :) = champ(1, :, :)
26
27 end subroutine filtreg_hemisph
28
29 end module filtreg_hemisph_m

  ViewVC Help
Powered by ViewVC 1.1.21