Changeset 2375 for LMDZ5/trunk/libf/dyn3dmem/leapfrog_loc.F
- Timestamp:
- Oct 18, 2015, 8:38:58 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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:
Note: See TracChangeset
for help on using the changeset viewer.