Ignore:
Timestamp:
Nov 5, 2018, 3:24:59 PM (6 years ago)
Author:
Laurent Fairhead
Message:

Undoing merge with trunk (r3356) to properly register Yann's latest modifications

Location:
LMDZ6/branches/DYNAMICO-conv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/DYNAMICO-conv

  • LMDZ6/branches/DYNAMICO-conv/libf/phylmd/transp.F90

    r3356 r3411  
    11
    2 ! $Id$
     2! $Header$
    33
    4 SUBROUTINE transp(paprs, tsol, t, q, ql, qs, u, v, geom, vtran_e, vtran_q, utran_e, &
    5     utran_q, vtran_w, utran_w)
     4SUBROUTINE transp(paprs, tsol, t, q, u, v, geom, vtran_e, vtran_q, utran_e, &
     5    utran_q)
    66
    77  USE dimphy
     
    1616
    1717  REAL paprs(klon, klev+1), tsol(klon)
    18   REAL t(klon, klev), q(klon, klev), ql(klon, klev), qs(klon, klev)
    19   REAL u(klon, klev), v(klon, klev)
     18  REAL t(klon, klev), q(klon, klev), u(klon, klev), v(klon, klev)
    2019  REAL utran_e(klon), utran_q(klon), vtran_e(klon), vtran_q(klon)
    21   REAL utran_w(klon), vtran_w(klon)
    2220
    2321  INTEGER i, l
     
    3028    vtran_e(i) = 0.0
    3129    vtran_q(i) = 0.0
    32     utran_w(i) = 0.0
    33     vtran_w(i) = 0.0
    3430  END DO
    3531
    3632  DO l = 1, klev
    3733    DO i = 1, klon
    38 !      e = rcpd*t(i, l) + rlvtt*q(i, l) + geom(i, l)
    39       e = rcpd*t(i, l) + geom(i, l)
     34      e = rcpd*t(i, l) + rlvtt*q(i, l) + geom(i, l)
    4035      utran_e(i) = utran_e(i) + u(i, l)*e*(paprs(i,l)-paprs(i,l+1))/rg
    4136      utran_q(i) = utran_q(i) + u(i, l)*q(i, l)*(paprs(i,l)-paprs(i,l+1))/rg
    42       utran_w(i) = utran_w(i) + u(i, l)*(q(i, l)+ql(i, l)+qs(i, l))           &
    43                                        *(paprs(i,l)-paprs(i,l+1))/rg
    4437      vtran_e(i) = vtran_e(i) + v(i, l)*e*(paprs(i,l)-paprs(i,l+1))/rg
    4538      vtran_q(i) = vtran_q(i) + v(i, l)*q(i, l)*(paprs(i,l)-paprs(i,l+1))/rg
    46       vtran_w(i) = vtran_w(i) + v(i, l)*(q(i, l)+ql(i, l)+qs(i, l))           &
    47                                        *(paprs(i,l)-paprs(i,l+1))/rg
    4839    END DO
    4940  END DO
Note: See TracChangeset for help on using the changeset viewer.