- Timestamp:
- Jul 4, 2014, 12:44:45 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cv3_routines.F90
r2039 r2078 5 5 6 6 SUBROUTINE cv3_param(nd, delt) 7 8 use mod_phys_lmdz_para 7 9 IMPLICIT NONE 8 10 … … 91 93 betad = 10.0 ! original value (from convect 4.3) 92 94 95 !$OMP MASTER 93 96 OPEN (99, FILE='conv_param.data', STATUS='old', FORM='formatted', ERR=9999) 94 97 READ (99, *, END=9998) dpbase … … 124 127 WRITE (*, *) 'tlcrit=', tlcrit 125 128 ! IM end: ajout fis. reglage ep 129 !$OMP END MASTER 130 131 CALL bcast(dpbase) 132 CALL bcast(pbcrit) 133 CALL bcast(ptcrit) 134 CALL bcast(sigdz) 135 CALL bcast(spfac) 136 CALL bcast(tau) 137 CALL bcast(flag_wb) 138 CALL bcast(wbmax) 139 140 CALL bcast(flag_epkeorig) 141 CALL bcast(elcrit) 142 CALL bcast(tlcrit) 126 143 127 144 first = .FALSE. … … 129 146 END IF ! (first) 130 147 131 ! print*,'tau=',tau132 148 beta = 1.0 - delt/tau 133 149 alpha1 = 1.5E-3 -
LMDZ5/trunk/libf/phylmd/wake.F90
r1992 r2078 19 19 20 20 USE dimphy 21 use mod_phys_lmdz_para 21 22 IMPLICIT NONE 22 23 ! ============================================================================ … … 151 152 ! Variables à fixer 152 153 REAL alon 153 REAL coefgw154 REAL :: wdens_ref155 REAL stark156 REAL alpk154 LOGICAL, SAVE :: first = .TRUE. 155 !$OMP THREADPRIVATE(first) 156 REAL, SAVE :: stark, wdens_ref, coefgw, alpk, crep_upper, crep_sol 157 !$OMP THREADPRIVATE(stark, wdens_ref, coefgw, alpk, crep_upper, crep_sol) 157 158 REAL delta_t_min 158 159 INTEGER nsub … … 232 233 233 234 REAL, DIMENSION (klon, klev) :: crep 234 REAL crep_upper, crep_sol235 235 236 236 REAL, DIMENSION (klon, klev) :: ppi … … 280 280 ! alpk = 0.05 281 281 282 if (first) then 282 283 stark = 0.33 283 284 alpk = 0.25 … … 288 289 289 290 ! cc nrlmd Lecture du fichier wake_param.data 291 !$OMP MASTER 290 292 OPEN (99, FILE='wake_param.data', STATUS='old', FORM='formatted', ERR=9999) 291 293 READ (99, *, END=9998) stark … … 296 298 CLOSE (99) 297 299 9999 CONTINUE 300 !$OMP END MASTER 301 CALL bcast(stark) 302 CALL bcast(alpk) 303 CALL bcast(wdens_ref) 304 CALL bcast(coefgw) 305 306 first=.false. 307 endif 298 308 299 309 ! Initialisation de toutes des densites a wdens_ref.
Note: See TracChangeset
for help on using the changeset viewer.