Changeset 250 for trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2
- Timestamp:
- Aug 1, 2011, 12:27:23 PM (13 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd/libf/phymars/inifis.F
r235 r250 87 87 INTEGER ig,ierr 88 88 89 INTEGER wecri_phys, wappel_phys 89 INTEGER wecri_phys 90 REAL wappel_phys 90 91 91 92 EXTERNAL iniorbit,orbite … … 526 527 c Opportunity is taken to fill ecri_phys as well 527 528 c***************************************************** 528 dtphys=wdt* float(wappel_phys)529 dtphys=wdt*wappel_phys 529 530 print*,'Physical timestep (s) ',dtphys 530 531 ecri_phys=8.e18 !! a dummy low frequency -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r226 r250 223 223 INTEGER :: sponge_top,relax,ips,ipe,jps,jpe,kps,kpe 224 224 REAL :: elaps, ptimestep 225 INTEGER :: wappel_phys, wday_ini, test, test2 225 INTEGER :: wday_ini, test, test2 226 REAL :: wappel_phys 226 227 LOGICAL :: flag_LES 227 228 … … 327 328 !----------------------------! 328 329 wday_ini = JULDAY - 1 !! GCM convention 329 wappel_phys = int(RADT)330 ptimestep = dt* float(wappel_phys)! physical timestep (s)330 wappel_phys = RADT 331 ptimestep = dt*wappel_phys ! physical timestep (s) 331 332 ngrid=(ipe-ips+1)*(jpe-jps+1) ! size of the horizontal grid: ngridmx = wiim * wjjm 332 333 nlayer = kpe-kps+1 ! number of vertical layers: nlayermx … … 393 394 ! what is done for the other steps of simulation ! 394 395 !-------------------------------------------------! 395 IF (wappel_phys .gt. 0 ) THEN396 IF (wappel_phys .gt. 0.) THEN 396 397 firstcall = .false. 397 test = MODULO(itimestep-1,wappel_phys) ! WRF time is integrated time (itimestep=1 at the end of first step) 398 ! -- same strategy as diagfi in the LMD GCM 398 test = MODULO(itimestep-1,int(wappel_phys)) ! WRF time is integrated time (itimestep=1 at the end of first step) 399 ! -- same strategy as diagfi in the LMD GCM 400 ! -- arguments of modulo must be of the same kind (here: integers) 399 401 ELSE 400 402 firstcall = .false. … … 1086 1088 !! PHYSIQ !! 1087 1089 !!********!! 1088 call_physics : IF (wappel_phys .ne. 0 ) THEN1090 call_physics : IF (wappel_phys .ne. 0.) THEN 1089 1091 1090 1092 !-------------------------------------------------------------------------------!
Note: See TracChangeset
for help on using the changeset viewer.