Changeset 2573 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Jun 15, 2016, 2:49:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/yamada4.F90
r2561 r2573 5 5 6 6 USE dimphy 7 USE ioipsl_getin_p_mod, ONLY : getin_p 8 7 9 IMPLICIT NONE 8 10 include "iniprint.h" … … 129 131 DATA ric, rifc, b1, kap/0.195, 0.191, 16.6, 0.4/ 130 132 !$OMP THREADPRIVATE(ric,rifc,b1,kap) 131 REAL seuilsm, seuilalpha, lmixmin 133 REAL seuilsm, seuilalpha 134 REAL,SAVE :: lmixmin 135 !$OMP THREADPRIVATE(lmixmin) 132 136 REAL frif, falpha, fsm 133 137 REAL rino(klon, klev+1), smyam(klon, klev), styam(klon, klev), & … … 145 149 146 150 151 IF (firstcall) THEN 152 firstcall = .FALSE. 153 lmixmin=1. 154 CALL getin_p('lmixmin',lmixmin) 155 END IF 156 157 158 147 159 !=============================================================================== 148 160 ! Flags, tests et ??valuations de constantes … … 160 172 seuilalpha=1.12 161 173 seuilsm=0.085 162 lmixmin=1.163 174 164 175 nlay = klev … … 239 250 240 251 241 CALL mixinglength(ni,nsrf,ngrid,iflag_pbl,pbl_lmixmin_alpha,lmixmin,zlay,zlev,u,v,q2,n2, firstcall,l)252 CALL mixinglength(ni,nsrf,ngrid,iflag_pbl,pbl_lmixmin_alpha,lmixmin,zlay,zlev,u,v,q2,n2, l) 242 253 243 254 … … 680 691 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 681 692 682 SUBROUTINE mixinglength(ni, nsrf, ngrid,iflag_pbl,pbl_lmixmin_alpha,lmixmin,zlay,zlev,u,v,q2,n2, firstcall,lmix)693 SUBROUTINE mixinglength(ni, nsrf, ngrid,iflag_pbl,pbl_lmixmin_alpha,lmixmin,zlay,zlev,u,v,q2,n2, lmix) 683 694 684 695 … … 746 757 !------- 747 758 748 LOGICAL firstcall ! premier appel au code 759 LOGICAL, SAVE :: firstcall = .TRUE. 760 !$OMP THREADPRIVATE(firstcall) 749 761 750 762 ! Outputs … … 970 982 971 983 END SUBROUTINE mixinglength 972 973 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Note: See TracChangeset
for help on using the changeset viewer.