Changeset 2408 for LMDZ5/branches/testing/libf/dyn3d
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 deleted
- 3 edited
- 3 copied
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/dyn3d/gcm.F90
r2298 r2408 22 22 USE infotrac 23 23 USE control_mod 24 25 #ifdef INCA 26 ! Only INCA needs these informations (from the Earth's physics) 27 USE indice_sol_mod 28 USE mod_phys_lmdz_para, ONLY : klon_mpi_para_nb 29 #endif 24 USE mod_const_mpi, ONLY: COMM_LMDZ 25 30 26 31 27 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 34 30 ! dynamique -> physique pour l'initialisation 35 31 #ifdef CPP_PHYS 36 ! USE dimphy 37 ! USE comgeomphy 32 USE iniphysiq_mod, ONLY: iniphysiq 38 33 #endif 39 34 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 86 81 include "iniprint.h" 87 82 include "tracstoke.h" 88 #ifdef INCA89 ! Only INCA needs these informations (from the Earth's physics)90 !include "indicesol.h"91 #endif92 83 93 84 REAL zdtvr … … 182 173 ! A nettoyer. On ne veut qu'une ou deux routines d'interface 183 174 ! dynamique -> physique pour l'initialisation 184 #ifdef CPP_PHYS185 CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))186 ! call InitComgeomphy ! now done in iniphysiq187 #endif175 !#ifdef CPP_PHYS 176 ! CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) 177 ! ! call InitComgeomphy ! now done in iniphysiq 178 !#endif 188 179 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 189 180 !----------------------------------------------------------------------- … … 209 200 #endif 210 201 !----------------------------------------------------------------------- 211 212 IF (type_trac == 'inca') THEN213 #ifdef INCA214 call init_const_lmdz(nbtr,anneeref,dayref,iphysiq,day_step,nday, &215 nbsrf, is_oce,is_sic,is_ter,is_lic)216 call init_inca_para(iim,jjm+1,klon,1,klon_mpi_para_nb,0)217 #endif218 END IF219 202 ! 220 203 ! … … 260 243 261 244 endif ! of if (read_start) 262 263 IF (type_trac == 'inca') THEN264 #ifdef INCA265 call init_inca_dim(klon,llm,iim,jjm, &266 rlonu,rlatu,rlonv,rlatv)267 #endif268 END IF269 245 270 246 … … 416 392 ! Physics: 417 393 #ifdef CPP_PHYS 418 CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, & 419 rlatu,rlonv,aire,cu,cv,rad,g,r,cpp, & 394 CALL iniphysiq(iim,jjm,llm, & 395 (jjm-1)*iim+2,comm_lmdz, & 396 daysec,day_ini,dtphys/nsplit_phys, & 397 rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, & 420 398 iflag_phys) 421 399 #endif -
LMDZ5/branches/testing/libf/dyn3d/leapfrog.F
r2298 r2408 228 228 1 CONTINUE ! Matsuno Forward step begins here 229 229 230 c date: (NB: date remains unchanged for Backward step) 231 c ----- 232 230 233 jD_cur = jD_ref + day_ini - day_ref + & 231 & itau/day_step234 & (itau+1)/day_step 232 235 jH_cur = jH_ref + start_time + & 233 & mod(itau ,day_step)/float(day_step)236 & mod(itau+1,day_step)/float(day_step) 234 237 jD_cur = jD_cur + int(jH_cur) 235 238 jH_cur = jH_cur - int(jH_cur) … … 277 280 c----------------------------------------------------------------------- 278 281 279 c date: 282 c date: (NB: only leapfrog step requires recomputing date) 280 283 c ----- 284 285 IF (leapf) THEN 286 jD_cur = jD_ref + day_ini - day_ref + 287 & (itau+1)/day_step 288 jH_cur = jH_ref + start_time + 289 & mod(itau+1,day_step)/float(day_step) 290 jD_cur = jD_cur + int(jH_cur) 291 jH_cur = jH_cur - int(jH_cur) 292 ENDIF 281 293 282 294 … … 416 428 ! & (itau * dtvr / daysec - int(itau * dtvr / daysec)) 417 429 jD_cur = jD_ref + day_ini - day_ref + & 418 & itau/day_step430 & (itau+1)/day_step 419 431 420 432 IF (planet_type .eq."generic") THEN … … 424 436 425 437 jH_cur = jH_ref + start_time + & 426 & mod(itau ,day_step)/float(day_step)438 & mod(itau+1,day_step)/float(day_step) 427 439 jD_cur = jD_cur + int(jH_cur) 428 440 jH_cur = jH_cur - int(jH_cur) … … 443 455 IF (ip_ebil_dyn.ge.1 ) THEN 444 456 ztit='bil dyn' 445 ! Ehouarn: be careful, diagedyn is Earth-specific (includes ../phylmd/..)!457 ! Ehouarn: be careful, diagedyn is Earth-specific! 446 458 IF (planet_type.eq."earth") THEN 447 #ifdef CPP_EARTH448 459 CALL diagedyn(ztit,2,1,1,dtphys 449 460 & , ucov , vcov , ps, p ,pk , teta , q(:,:,1), q(:,:,2)) 450 #endif451 461 ENDIF 452 462 ENDIF ! of IF (ip_ebil_dyn.ge.1 )
Note: See TracChangeset
for help on using the changeset viewer.