Changeset 688 for trunk/MESOSCALE
- Timestamp:
- Jun 2, 2012, 1:27:00 AM (13 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new_storm/libf/phymars/callsedim.F
r609 r688 1 link callsedim.F.modified1 link STORM_JULIEN_LAST/my_callsedim.F -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new_storm/libf/phymars/dustlift.F
r308 r688 1 link ../../../mars_lmd_new/libf/phymars/dustlift.F1 link STORM_JULIEN_LAST/my_dustlift.F -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r683 r688 262 262 REAL, DIMENSION(:,:,:,:), ALLOCATABLE, SAVE :: & 263 263 dq_save 264 #ifndef NORESTART 265 REAL, DIMENSION(:,:,:), ALLOCATABLE, SAVE :: & 266 save_tsoil_restart 267 REAL, DIMENSION(:,:), ALLOCATABLE, SAVE :: & 268 save_tsurf_restart 269 REAL, DIMENSION(:,:), ALLOCATABLE, SAVE :: & 270 save_co2ice_restart 271 REAL, DIMENSION(:,:,:), ALLOCATABLE, SAVE :: & 272 save_q2_restart 273 REAL, DIMENSION(:,:,:), ALLOCATABLE, SAVE :: & 274 save_qsurf_restart 275 #ifdef NEWPHYS 276 REAL, DIMENSION(:,:), ALLOCATABLE, SAVE :: & 277 save_wstar_restart 278 REAL, DIMENSION(:,:), ALLOCATABLE, SAVE :: & 279 save_fluxrad_restart 280 #endif 281 #endif 264 282 #else 265 283 REAL, DIMENSION(:), ALLOCATABLE, SAVE :: & … … 269 287 REAL, DIMENSION(:,:,:), ALLOCATABLE, SAVE :: & 270 288 dq_save 271 #endif 272 289 #ifndef NORESTART 273 290 !! FOR RESTART 274 291 REAL, DIMENSION(:,:), ALLOCATABLE, SAVE :: & … … 287 304 REAL, DIMENSION(:), ALLOCATABLE, SAVE :: & 288 305 save_fluxrad_restart 306 #endif 307 #endif 289 308 #endif 290 309 … … 415 434 dt_save(:,:,:)=0. 416 435 dq_save(:,:,:,:)=0. 436 #ifndef NORESTART 437 ! Restart save arrays 438 ALLOCATE(save_tsoil_restart(ngrid,nsoil,max_dom)) 439 ALLOCATE(save_co2ice_restart(ngrid,max_dom)) 440 ALLOCATE(save_q2_restart(ngrid,nlayer+1,max_dom)) 441 ALLOCATE(save_qsurf_restart(ngrid,nq,max_dom)) 442 ALLOCATE(save_tsurf_restart(ngrid,max_dom)) 443 save_tsoil_restart(:,:,:)=0. 444 save_co2ice_restart(:,:)=0. 445 save_q2_restart(:,:,:)=0. 446 save_qsurf_restart(:,:,:)=0. 447 save_tsurf_restart(:,:)=0. 448 #ifdef NEWPHYS 449 ALLOCATE(save_wstar_restart(ngrid,max_dom)) 450 ALLOCATE(save_fluxrad_restart(ngrid,max_dom)) 451 save_wstar_restart(:,:)=0. 452 save_fluxrad_restart(:,:)=0. 453 #endif 454 #endif 417 455 ENDIF 418 456 IF (id .lt. max_dom) THEN … … 433 471 dq_save(:,:,:)=0. 434 472 flag_first_restart=.false. 435 #endif 436 473 #ifndef NORESTART 437 474 ! Restart save arrays 438 475 ALLOCATE(save_tsoil_restart(ngrid,nsoil)) … … 451 488 save_wstar_restart(:)=0. 452 489 save_fluxrad_restart(:)=0. 490 #endif 491 #endif 453 492 #endif 454 493 … … 1350 1389 dt_save(:,:,id)=pdt(:,:) 1351 1390 dq_save(:,:,:,id)=pdq(:,:,:) 1391 #ifndef NORESTART 1392 save_tsoil_restart(:,:,id)=wtsoil(:,:) 1393 save_co2ice_restart(:,id)=wco2ice(:) 1394 save_q2_restart(:,:,id)=wq2(:,:) 1395 save_qsurf_restart(:,:,id)=wqsurf(:,:) 1396 save_tsurf_restart(:,id)=wtsurf(:) 1397 #ifdef NEWPHYS 1398 save_wstar_restart(:,id)=wwstar(:) 1399 save_fluxrad_restart(:,id)=wfluxrad(:) 1400 #endif 1401 #endif 1352 1402 #else 1353 1403 dp_save(:)=pdpsrf(:) … … 1356 1406 dt_save(:,:)=pdt(:,:) 1357 1407 dq_save(:,:,:)=pdq(:,:,:) 1358 # endif1408 #ifndef NORESTART 1359 1409 save_tsoil_restart(:,:)=wtsoil(:,:) 1360 1410 save_co2ice_restart(:)=wco2ice(:) … … 1362 1412 save_qsurf_restart(:,:)=wqsurf(:,:) 1363 1413 save_tsurf_restart(:)=wtsurf(:) 1414 #ifdef NEWPHYS 1415 save_wstar_restart(:)=wwstar(:) 1416 save_fluxrad_restart(:)=wfluxrad(:) 1417 #endif 1418 #endif 1419 #endif 1364 1420 DEALLOCATE(wtsoil) 1365 1421 DEALLOCATE(wco2ice) … … 1368 1424 DEALLOCATE(wtsurf) 1369 1425 #ifdef NEWPHYS 1370 save_wstar_restart(:)=wwstar(:)1371 save_fluxrad_restart(:)=wfluxrad(:)1372 1426 DEALLOCATE(wfluxrad) 1373 1427 DEALLOCATE(wwstar) … … 1456 1510 ! Save key variables for restart ! 1457 1511 !------------------------------------! 1512 #ifndef NORESTART 1513 #ifdef SPECIAL_NEST_SAVE 1514 MARS_TSOIL(i,:,j)=save_tsoil_restart(subs,:,id) 1515 MARS_CICE(i,j)=save_co2ice_restart(subs,id) 1516 MARS_Q2(i,kps:kpe+1,j)=save_q2_restart(subs,:,id) 1517 SELECT CASE (MARS_MODE) 1518 CASE (1,11,12) 1519 MARS_WICE(i,j)=save_qsurf_restart(subs,2,id) !! see above Tracer at surface 1520 END SELECT 1521 MARS_TSURF(i,j)=save_tsurf_restart(subs,id) 1522 #ifdef NEWPHYS 1523 MARS_WSTAR(i,j)=save_wstar_restart(subs,id) 1524 MARS_FLUXRAD(i,j)=save_fluxrad_restart(subs,id) 1525 #endif 1526 #else 1458 1527 MARS_TSOIL(i,:,j)=save_tsoil_restart(subs,:) 1459 1528 MARS_CICE(i,j)=save_co2ice_restart(subs) … … 1467 1536 MARS_WSTAR(i,j)=save_wstar_restart(subs) 1468 1537 MARS_FLUXRAD(i,j)=save_fluxrad_restart(subs) 1538 #endif 1539 #endif 1469 1540 #endif 1470 1541
Note: See TracChangeset
for help on using the changeset viewer.