Changeset 2408 for LMDZ5/branches/testing/libf/phylmd/wake.F90
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/wake.F90
r2220 r2408 2 2 ! $Id$ 3 3 4 SUBROUTINE wake(p, ph, pi, dtime, sigd_con, te0, qe0, omgb, dtdwn, dqdwn, & 5 amdwn, amup, dta, dqa, wdtpbl, wdqpbl, udtpbl, udqpbl, deltatw, deltaqw, & 6 dth, hw, sigmaw, wape, fip, gfl, dtls, dqls, ktopw, omgbdth, dp_omgb, & 7 wdens, tu, qu, dtke, dqke, dtpbl, dqpbl, omg, dp_deltomg, spread, cstar, & 8 d_deltat_gw, d_deltatw2, d_deltaqw2) 4 SUBROUTINE wake(p, ph, pi, dtime, sigd_con, & 5 te0, qe0, omgb, & 6 dtdwn, dqdwn, amdwn, amup, dta, dqa, & 7 wdtpbl, wdqpbl, udtpbl, udqpbl, & 8 deltatw, deltaqw, dth, hw, sigmaw, wape, fip, gfl, & 9 dtls, dqls, ktopw, omgbdth, dp_omgb, wdens, tu, qu, & 10 dtke, dqke, dtpbl, dqpbl, omg, dp_deltomg, spread, cstar, & 11 d_deltat_gw, d_deltatw2, d_deltaqw2) 9 12 10 13 … … 20 23 USE dimphy 21 24 use mod_phys_lmdz_para 25 USE print_control_mod, ONLY: prt_level 22 26 IMPLICIT NONE 23 27 ! ============================================================================ … … 110 114 ! ------------------------------------------------------------------------- 111 115 112 include "dimensions.h"113 116 include "YOMCST.h" 114 117 include "cvthermo.h" 115 include "iniprint.h"116 118 117 119 ! Arguments en entree 118 120 ! -------------------- 119 121 120 REAL, DIMENSION (klon, klev) :: p, pi 121 REAL, DIMENSION (klon, klev+1) :: ph, omgb 122 REAL dtime 123 REAL, DIMENSION (klon, klev) :: te0, qe0 124 REAL, DIMENSION (klon, klev) :: dtdwn, dqdwn 125 REAL, DIMENSION (klon, klev) :: wdtpbl, wdqpbl 126 REAL, DIMENSION (klon, klev) :: udtpbl, udqpbl 127 REAL, DIMENSION (klon, klev) :: amdwn, amup 128 REAL, DIMENSION (klon, klev) :: dta, dqa 129 REAL, DIMENSION (klon) :: sigd_con 122 REAL, DIMENSION (klon, klev), INTENT(IN) :: p, pi 123 REAL, DIMENSION (klon, klev+1), INTENT(IN) :: ph, omgb 124 REAL, INTENT(IN) :: dtime 125 REAL, DIMENSION (klon, klev), INTENT(IN) :: te0, qe0 126 REAL, DIMENSION (klon, klev), INTENT(IN) :: dtdwn, dqdwn 127 REAL, DIMENSION (klon, klev), INTENT(IN) :: wdtpbl, wdqpbl, udtpbl, udqpbl ! UNUSED 128 REAL, DIMENSION (klon, klev), INTENT(IN) :: amdwn, amup 129 REAL, DIMENSION (klon, klev), INTENT(IN) :: dta, dqa 130 REAL, DIMENSION (klon), INTENT(IN) :: sigd_con 131 132 ! 133 ! Input/Output 134 REAL, DIMENSION (klon, klev), INTENT(INOUT) :: deltatw, deltaqw 135 REAL, DIMENSION (klon), INTENT(INOUT) :: sigmaw 130 136 131 137 ! Sorties 132 138 ! -------- 133 139 134 REAL, DIMENSION (klon, klev) :: deltatw, deltaqw, dth 135 REAL, DIMENSION (klon, klev) :: tu, qu 136 REAL, DIMENSION (klon, klev) :: dtls, dqls 137 REAL, DIMENSION (klon, klev) :: dtke, dqke 138 REAL, DIMENSION (klon, klev) :: dtpbl, dqpbl 139 REAL, DIMENSION (klon, klev) :: spread 140 REAL, DIMENSION (klon, klev) :: d_deltatgw 141 REAL, DIMENSION (klon, klev) :: d_deltatw2, d_deltaqw2 142 REAL, DIMENSION (klon, klev+1) :: omgbdth, omg 143 REAL, DIMENSION (klon, klev) :: dp_omgb, dp_deltomg 144 REAL, DIMENSION (klon, klev) :: d_deltat_gw 145 REAL, DIMENSION (klon) :: hw, sigmaw, wape, fip, gfl, cstar 146 REAL, DIMENSION (klon) :: wdens 147 INTEGER, DIMENSION (klon) :: ktopw 140 REAL, DIMENSION (klon, klev), INTENT(OUT) :: dth 141 REAL, DIMENSION (klon, klev), INTENT(OUT) :: tu, qu 142 REAL, DIMENSION (klon, klev), INTENT(OUT) :: dtls, dqls 143 REAL, DIMENSION (klon, klev), INTENT(OUT) :: dtke, dqke 144 REAL, DIMENSION (klon, klev), INTENT(OUT) :: dtpbl, dqpbl 145 REAL, DIMENSION (klon, klev), INTENT(OUT) :: spread 146 REAL, DIMENSION (klon, klev), INTENT(OUT) :: d_deltatw2, d_deltaqw2 147 REAL, DIMENSION (klon, klev+1), INTENT(OUT) :: omgbdth, omg 148 REAL, DIMENSION (klon, klev), INTENT(OUT) :: dp_omgb, dp_deltomg 149 REAL, DIMENSION (klon, klev), INTENT(OUT) :: d_deltat_gw 150 REAL, DIMENSION (klon), INTENT(OUT) :: hw, wape, fip, gfl, cstar 151 REAL, DIMENSION (klon), INTENT(OUT) :: wdens 152 INTEGER, DIMENSION (klon), INTENT(OUT) :: ktopw 148 153 149 154 ! Variables internes … … 1734 1739 wape(i) = 0. 1735 1740 cstar(i) = 0. 1736 hw(i) = hwmin 1737 sigmaw(i) = sigmad 1741 !!jyg Outside subroutine "Wake" hw and sigmaw are zero when there are no wakes 1742 !! hw(i) = hwmin !jyg 1743 !! sigmaw(i) = sigmad !jyg 1744 hw(i) = 0. !jyg 1745 sigmaw(i) = 0. !jyg 1738 1746 fip(i) = 0. 1739 1747 ELSE
Note: See TracChangeset
for help on using the changeset viewer.