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

Diff of /trunk/dyn3d/calfis.f

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

revision 139 by guez, Tue May 26 17:46:03 2015 UTC revision 154 by guez, Tue Jul 7 17:49:23 2015 UTC
# Line 4  module calfis_m Line 4  module calfis_m
4    
5  contains  contains
6    
7    SUBROUTINE calfis(dayvrai, time, ucov, vcov, teta, q, pk, phis, phi, w, &    SUBROUTINE calfis(ucov, vcov, teta, q, pk, phis, phi, w, dufi, dvfi, &
8         dufi, dvfi, dtetafi, dqfi, lafin)         dtetafi, dqfi, dayvrai, time, lafin)
9    
10      ! From dyn3d/calfis.F, version 1.3, 2005/05/25 13:10:09      ! From dyn3d/calfis.F, version 1.3, 2005/05/25 13:10:09
11      ! Authors: P. Le Van, F. Hourdin      ! Authors: P. Le Van, F. Hourdin
# Line 30  contains Line 30  contains
30      ! rayonnement) et l'aire de la maille (quand on veut int\'egrer une      ! rayonnement) et l'aire de la maille (quand on veut int\'egrer une
31      ! grandeur horizontalement).      ! grandeur horizontalement).
32    
33      use comconst, only: kappa, cpp, dtphys, g      use comconst, only: kappa, cpp, g
34      use comgeom, only: apoln, cu_2d, cv_2d, unsaire_2d, apols      use comgeom, only: apoln, cu_2d, cv_2d, unsaire_2d, apols
35      use dimens_m, only: iim, jjm, llm, nqmx      use dimens_m, only: iim, jjm, llm, nqmx
36      use dimphy, only: klon      use dimphy, only: klon
# Line 41  contains Line 41  contains
41      use physiq_m, only: physiq      use physiq_m, only: physiq
42      use pressure_var, only: p3d, pls      use pressure_var, only: p3d, pls
43    
     integer, intent(in):: dayvrai  
     ! current day number, based at value 1 on January 1st of annee_ref  
   
     REAL, intent(in):: time ! time of day, as a fraction of day length  
   
44      REAL, intent(in):: ucov(:, :, :) ! (iim + 1, jjm + 1, llm)      REAL, intent(in):: ucov(:, :, :) ! (iim + 1, jjm + 1, llm)
45      ! covariant zonal velocity      ! covariant zonal velocity
46    
# Line 75  contains Line 70  contains
70      ! tendency for the potential temperature      ! tendency for the potential temperature
71    
72      REAL, intent(out):: dqfi(:, :, :, :) ! (iim + 1, jjm + 1, llm, nqmx)      REAL, intent(out):: dqfi(:, :, :, :) ! (iim + 1, jjm + 1, llm, nqmx)
73    
74        integer, intent(in):: dayvrai
75        ! current day number, based at value 1 on January 1st of annee_ref
76    
77        REAL, intent(in):: time ! time of day, as a fraction of day length
78      LOGICAL, intent(in):: lafin      LOGICAL, intent(in):: lafin
79    
80      ! Local:      ! Local:
# Line 179  contains Line 179  contains
179      forall(l = 1: llm) v(:, l) = pack(zvfi(:, :, l), dyn_phy)      forall(l = 1: llm) v(:, l) = pack(zvfi(:, :, l), dyn_phy)
180    
181      ! Appel de la physique :      ! Appel de la physique :
182      CALL physiq(lafin, dayvrai, time, dtphys, paprs, play, pphi, pphis, u, &      CALL physiq(lafin, dayvrai, time, paprs, play, pphi, pphis, u, v, t, qx, &
183           v, t, qx, omega, d_u, d_v, d_t, d_qx)           omega, d_u, d_v, d_t, d_qx)
184    
185      ! transformation des tendances physiques en tendances dynamiques:      ! transformation des tendances physiques en tendances dynamiques:
186    

Legend:
Removed from v.139  
changed lines
  Added in v.154

  ViewVC Help
Powered by ViewVC 1.1.21