Changeset 700 for trunk/MESOSCALE/LMD_MM_MARS/SRC
- Timestamp:
- Jun 7, 2012, 11:12:36 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r688 r700 460 460 ENDIF 461 461 #else 462 IF( .NOT. ALLOCATED( dp_save ) ) THEN 462 463 ALLOCATE(dp_save(ngrid)) !! here are the arrays that would be useful to save physics tendencies 463 464 ALLOCATE(du_save(ngrid,nlayer)) … … 465 466 ALLOCATE(dt_save(ngrid,nlayer)) 466 467 ALLOCATE(dq_save(ngrid,nlayer,nq)) 468 ENDIF 467 469 dp_save(:)=0. !! initialize these arrays ... 468 470 du_save(:,:)=0. … … 473 475 #ifndef NORESTART 474 476 ! Restart save arrays 477 IF( .NOT. ALLOCATED( save_tsoil_restart ) ) THEN 475 478 ALLOCATE(save_tsoil_restart(ngrid,nsoil)) 476 479 ALLOCATE(save_co2ice_restart(ngrid)) … … 478 481 ALLOCATE(save_qsurf_restart(ngrid,nq)) 479 482 ALLOCATE(save_tsurf_restart(ngrid)) 483 ENDIF 480 484 save_tsoil_restart(:,:)=0. 481 485 save_co2ice_restart(:)=0. … … 484 488 save_tsurf_restart(:)=0. 485 489 #ifdef NEWPHYS 490 IF( .NOT. ALLOCATED( save_wstar_restart ) ) THEN 486 491 ALLOCATE(save_wstar_restart(ngrid)) 487 492 ALLOCATE(save_fluxrad_restart(ngrid)) 493 ENDIF 488 494 save_wstar_restart(:)=0. 489 495 save_fluxrad_restart(:)=0. … … 1138 1144 !-------------------------! 1139 1145 IF (.not. restart) THEN 1140 q2_val(:)= 0.!PBL wind variance1146 q2_val(:)=1.E-6 !PBL wind variance 1141 1147 #ifdef NEWPHYS 1142 1148 fluxrad_val=0.
Note: See TracChangeset
for help on using the changeset viewer.