- Timestamp:
- Aug 27, 2017, 9:41:59 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F.new
r1759 r1777 159 159 REAL :: wappel_phys 160 160 LOGICAL, SAVE :: flag_first_restart 161 INTEGER, SAVE :: previous_id = 0 161 162 !************************************************** 162 163 ! IMPORTANT: pour travailler avec grid nesting … … 188 189 189 190 REAL :: tk1,tk2 191 190 192 !================================================================== 191 193 ! CODE 192 194 !================================================================== 193 195 196 print *, '** ',planet_type,'** ENTER WRF-LMD DRIVER' 197 198 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 194 199 !! determine here if this is turbulence-resolving or not 195 200 IF (JULYR .ne. 9999) THEN … … 214 219 ENDIF 215 220 ENDIF 216 217 218 print *,'** ',planet_type,' ** DOMAIN',id 221 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 219 222 220 223 !-------------------------! … … 280 283 ENDIF 281 284 282 IF ((elaps .eq. 0.).or.flag_first_restart) THEN285 is_first_step: IF ((elaps .eq. 0.).or.flag_first_restart) THEN 283 286 firstcall=.true. !! for continuity with GCM, physics are always called at the first WRF timestep 284 287 !firstcall=.false. !! just in case you'd want to get rid of the physics … … 324 327 flag_first_restart=.false. 325 328 #endif 326 327 !! put here some general information you'd like to print just once328 print *, 'TILES: ', i_start,i_end, j_start, j_end ! numbers for simple runs, arrays for parallel runs329 print *, 'DOMAIN: ', ids, ide, jds, jde330 print *, 'MEMORY: ', ims, ime, jms, jme331 print *, 'ADVECTED TRACERS: ', num_3d_s-1332 print *, 'PHYSICS IS CALLED EACH...',wappel_phys333 !! put here some general information you'd like to print just once334 329 ELSE 335 330 !-------------------------------------------------! … … 345 340 test = 9999 346 341 ENDIF 347 ENDIF 342 ENDIF is_first_step 343 344 !------------------------------------! 345 ! print info about domain initially ! 346 ! ... and whenever domain is changed ! 347 !------------------------------------! 348 print *,'** ',planet_type,' ** DOMAIN',id 349 IF (previousid .ne. id) THEN 350 print *, '** ',planet_type,' ** ... INITIALIZE DOMAIN',id 351 print *, '** ',planet_type,' ** ... PREVIOUS DOMAIN was',previousid 352 print *, 'ITIMESTEP: ',itimestep 353 print *, 'TILES: ', i_start,i_end, j_start, j_end ! numbers for simple runs, arrays for parallel runs 354 print *, 'DOMAIN: ', ids, ide, jds, jde 355 print *, 'MEMORY: ', ims, ime, jms, jme 356 print *, 'COMPUT: ', ips, ipe, jps, jpe 357 print *, 'SIZE OF PHYSICS GRID for this process: ',ngrid 358 print *, 'ADVECTED TRACERS: ', num_3d_s-1 359 print *, 'PHYSICS IS CALLED EACH...',wappel_phys 360 print *, '-- means: PHYSICAL TIMESTEP=',zdt_split 361 ENDIF 362 348 363 349 364 !!!***********!! … … 722 737 RDUST,VMR_ICE,RICE) 723 738 !!! 724 print*,"update_outputs_physiq_diag" 725 739 print *, '** ',planet_type,'** OUTPUT PHYSICS DONE' 726 740 727 741 ENDIF call_physics … … 790 804 !!*****!! 791 805 print *,'** ',planet_type,'** END LMD PHYSICS' 806 previous_id = id 792 807 !----------------------------------------------------------------! 793 808 ! use debug (see solve_em) if you wanna display some message ... !
Note: See TracChangeset
for help on using the changeset viewer.