Changeset 2375 for LMDZ5/trunk/libf
- Timestamp:
- Oct 18, 2015, 8:38:58 AM (9 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/leapfrog.F
r2302 r2375 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) -
LMDZ5/trunk/libf/dyn3dmem/call_calfis_mod.F90
r2239 r2375 137 137 138 138 jD_cur = jD_ref + day_ini - day_ref & 139 & + itau/day_step139 & + (itau+1)/day_step 140 140 141 141 IF (planet_type .eq."generic") THEN … … 145 145 146 146 jH_cur = jH_ref + start_time + & 147 & mod(itau ,day_step)/float(day_step)147 & mod(itau+1,day_step)/float(day_step) 148 148 if (jH_cur > 1.0 ) then 149 149 jD_cur = jD_cur +1. -
LMDZ5/trunk/libf/dyn3dmem/leapfrog_loc.F
r2286 r2375 308 308 309 309 1 CONTINUE ! Matsuno Forward step begins here 310 !write(*,*) 'leapfrog 298: itau=',itau 310 311 c date: (NB: date remains unchanged for Backward step) 312 c ----- 313 311 314 jD_cur = jD_ref + day_ini - day_ref + & 312 & itau/day_step315 & (itau+1)/day_step 313 316 jH_cur = jH_ref + start_time + & 314 & mod(itau ,day_step)/float(day_step)317 & mod(itau+1,day_step)/float(day_step) 315 318 if (jH_cur > 1.0 ) then 316 319 jD_cur = jD_cur +1. … … 421 424 c----------------------------------------------------------------------- 422 425 423 c date: 426 c date: (NB: only leapfrog step requires recomputing date) 424 427 c ----- 425 428 429 IF (leapf) THEN 430 jD_cur = jD_ref + day_ini - day_ref + 431 & (itau+1)/day_step 432 jH_cur = jH_ref + start_time + 433 & mod(itau+1,day_step)/float(day_step) 434 if (jH_cur > 1.0 ) then 435 jD_cur = jD_cur +1. 436 jH_cur = jH_cur -1. 437 endif 438 ENDIF 426 439 427 440 c gestion des appels de la physique et des dissipations: -
LMDZ5/trunk/libf/dyn3dpar/leapfrog_p.F
r2302 r2375 258 258 1 CONTINUE ! Matsuno Forward step begins here 259 259 260 c date: (NB: date remains unchanged for Backward step) 261 c ----- 262 260 263 jD_cur = jD_ref + day_ini - day_ref + & 261 & itau/day_step264 & (itau+1)/day_step 262 265 jH_cur = jH_ref + start_time + & 263 & mod(itau ,day_step)/float(day_step)266 & mod(itau+1,day_step)/float(day_step) 264 267 if (jH_cur > 1.0 ) then 265 268 jD_cur = jD_cur +1. … … 356 359 c----------------------------------------------------------------------- 357 360 358 c date: 361 c date: (NB: only leapfrog step requires recomputing date) 359 362 c ----- 360 363 364 IF (leapf) THEN 365 jD_cur = jD_ref + day_ini - day_ref + 366 & (itau+1)/day_step 367 jH_cur = jH_ref + start_time + 368 & mod(itau+1,day_step)/float(day_step) 369 if (jH_cur > 1.0 ) then 370 jD_cur = jD_cur +1. 371 jH_cur = jH_cur -1. 372 endif 373 ENDIF 361 374 362 375 c gestion des appels de la physique et des dissipations: … … 720 733 721 734 jD_cur = jD_ref + day_ini - day_ref 722 $ + itau/day_step735 $ + (itau+1)/day_step 723 736 724 737 IF (planet_type .eq."generic") THEN … … 728 741 729 742 jH_cur = jH_ref + start_time + & 730 & mod(itau ,day_step)/float(day_step)743 & mod(itau+1,day_step)/float(day_step) 731 744 ! call ju2ymds(jD_cur+jH_cur, an, mois, jour, secondes) 732 745 if (jH_cur > 1.0 ) then
Note: See TracChangeset
for help on using the changeset viewer.