Changeset 1549 for trunk/LMDZ.COMMON/libf/dyn3dpar
- Timestamp:
- May 6, 2016, 12:30:29 PM (9 years ago)
- Location:
- trunk/LMDZ.COMMON/libf/dyn3dpar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LMDZ.COMMON/libf/dyn3dpar/gcm.F ¶
r1543 r1549 28 28 29 29 30 #ifdef INCA31 ! Only INCA needs these informations (from the Earth's physics)32 USE indice_sol_mod33 #endif34 35 30 ! Ehouarn: the following are needed with (parallel) physics: 36 31 #ifdef CPP_PHYS … … 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 … … 258 249 endif 259 250 #endif 260 c-----------------------------------------------------------------------261 262 IF (type_trac == 'inca') THEN263 #ifdef INCA264 call init_const_lmdz(265 $ nbtr,anneeref,dayref,266 $ iphysiq,day_step,nday,267 $ nbsrf, is_oce,is_sic,268 $ is_ter,is_lic, calend)269 270 call init_inca_para(271 $ iim,jjm+1,llm,klon_glo,mpi_size,272 $ distrib_phys,COMM_LMDZ)273 #endif274 END IF275 276 251 c----------------------------------------------------------------------- 277 252 c Initialisation des traceurs … … 507 482 508 483 c----------------------------------------------------------------------- 509 c Initialisation des dimensions d'INCA :510 c --------------------------------------511 IF (type_trac == 'inca') THEN512 #ifdef INCA513 !$OMP PARALLEL514 CALL init_inca_dim(klon_omp,llm,iim,jjm,515 $ rlonu,rlatu,rlonv,rlatv)516 !$OMP END PARALLEL517 #endif518 END IF519 520 c-----------------------------------------------------------------------521 484 c Initialisation des I/O : 522 485 c ------------------------ -
TabularUnified trunk/LMDZ.COMMON/libf/dyn3dpar/leapfrog_p.F ¶
r1508 r1549 313 313 1 CONTINUE ! Matsuno Forward step begins here 314 314 315 c date: (NB: date remains unchanged for Backward step) 316 c ----- 317 315 318 jD_cur = jD_ref + day_ini - day_ref + & 316 & itau/day_step319 & (itau+1)/day_step 317 320 jH_cur = jH_ref + start_time + & 318 & mod(itau ,day_step)/float(day_step)321 & mod(itau+1,day_step)/float(day_step) 319 322 if (jH_cur > 1.0 ) then 320 323 jD_cur = jD_cur +1. … … 414 417 c----------------------------------------------------------------------- 415 418 416 c date: 419 c date: (NB: only leapfrog step requires recomputing date) 417 420 c ----- 421 422 IF (leapf) THEN 423 jD_cur = jD_ref + day_ini - day_ref + 424 & (itau+1)/day_step 425 jH_cur = jH_ref + start_time + 426 & mod(itau+1,day_step)/float(day_step) 427 if (jH_cur > 1.0 ) then 428 jD_cur = jD_cur +1. 429 jH_cur = jH_cur -1. 430 endif 431 ENDIF 418 432 419 433 … … 858 872 859 873 jD_cur = jD_ref + day_ini - day_ref 860 $ + itau/day_step874 $ + (itau+1)/day_step 861 875 862 876 IF ((planet_type .eq."generic").or. … … 867 881 868 882 jH_cur = jH_ref + start_time + & 869 & mod(itau,day_step)/float(day_step) 870 ! call ju2ymds(jD_cur+jH_cur, an, mois, jour, secondes) 883 & mod(itau+1,day_step)/float(day_step) 884 IF ((planet_type .eq."generic").or. 885 & (planet_type .eq."mars")) THEN 886 jH_cur = jH_ref + start_time + & 887 & mod(itau,day_step)/float(day_step) 888 ENDIF 871 889 if (jH_cur > 1.0 ) then 872 890 jD_cur = jD_cur +1.
Note: See TracChangeset
for help on using the changeset viewer.