/[lmdze]/trunk/dyn3d/exner_hyb.f
ViewVC logotype

Diff of /trunk/dyn3d/exner_hyb.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 88 by guez, Tue Mar 11 15:09:02 2014 UTC revision 91 by guez, Wed Mar 26 17:18:58 2014 UTC
# Line 28  contains Line 28  contains
28      ! haut des couches, "pk(:, :, l)" donné par la relation (2), pour      ! haut des couches, "pk(:, :, l)" donné par la relation (2), pour
29      ! l = 2 ŕ l = llm.      ! l = 2 ŕ l = llm.
30    
31      use dimens_m, only: iim, jjm, llm      use dimens_m, only: llm
32      use comconst, only: kappa, cpp      use comconst, only: kappa, cpp
33      use disvert_m, only: preff      use disvert_m, only: preff
34      use filtreg_m, only: filtreg      use filtreg_m, only: filtreg
35    
36      REAL, intent(in):: ps(iim + 1, jjm + 1)      REAL, intent(in):: ps(:, :) ! (longitude, latitude)
37      REAL, intent(in):: p(iim + 1, jjm + 1, llm + 1)      REAL, intent(in):: p(:, :, :) ! (longitude, latitude, llm + 1)
38    
39      real, intent(out):: pks(iim + 1, jjm + 1)      real, intent(out):: pks(:, :) ! (longitude, latitude)
40      real, intent(out):: pk(iim + 1, jjm + 1, llm)      real, intent(out):: pk(:, :, :) ! (longitude, latitude, llm)
41      real, intent(out), optional:: pkf(iim + 1, jjm + 1, llm)      real, intent(out), optional:: pkf(:, :, :) ! (longitude, latitude, llm)
42    
43      ! Variables locales :      ! Variables locales :
44      real beta(iim + 1, jjm + 1, 2:llm)      real beta(size(ps, 1), size(ps, 2), 2:llm)
45      INTEGER l      INTEGER l
46      REAL unpl2k      REAL unpl2k
47    
# Line 64  contains Line 64  contains
64    
65      if (present(pkf)) then      if (present(pkf)) then
66         pkf = pk         pkf = pk
67         CALL filtreg(pkf, jjm + 1, llm, 2, 1, .TRUE.)         CALL filtreg(pkf, size(pkf, 2), llm, 2, 1, .TRUE.)
68      end if      end if
69    
70    END SUBROUTINE exner_hyb    END SUBROUTINE exner_hyb

Legend:
Removed from v.88  
changed lines
  Added in v.91

  ViewVC Help
Powered by ViewVC 1.1.21