Changeset 2078 for LMDZ5/trunk/libf/phylmd/wake.F90
- Timestamp:
- Jul 4, 2014, 12:44:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.