Changeset 28 for trunk/mesoscale
- Timestamp:
- Jan 25, 2011, 4:18:50 PM (14 years ago)
- Location:
- trunk/mesoscale/LMD_MM_MARS
- Files:
-
- 2 added
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/LMD_MM_MARS/SIMU/runmeso
r11 r28 61 61 #echo '***********************' 62 62 echo '** Simulation directory >>> '${simu_folder} 63 ######## NEWPHYS 64 ## if [[ ! ( -f "run.def" ) ]] 65 ## then 66 ## echo 'new physics: you got to have run.def !' 67 ## exit 68 ## fi 63 69 if [[ ! ( -f "namelist.input" ) ]] 64 70 then -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/Registry/Registry.EM
r11 r28 184 184 state real hi_gc igj dyn_em 1 Z i1 "HI" "water ice" "kg/kg" 185 185 state real tsoil_gc igj dyn_em 1 Z i1 "TSOIL" "soil temperatures" "K" 186 state real isoil_gc igj dyn_em 1 Z i1 "ISOIL" "soil thermal inertia" "tiu" 187 state real dsoil_gc igj dyn_em 1 Z i1 "DSOIL" "soil depths" "m" 186 188 #### 187 189 #### variables dans wrf … … 194 196 state real mars_cice ij misc 1 - i012rd "MARS_CICE" "co2 ice" "kg" 195 197 state real mars_tsoil ilj misc 1 - i012rd "MARS_TSOIL" "soil temperatures" "K" 198 state real mars_isoil ilj misc 1 - i012rd "MARS_ISOIL" "soil thermal inertia" "tiu" 199 state real mars_dsoil ilj misc 1 - i012rd "MARS_DSOIL" "soil depths" "m" 196 200 state real mars_gw ilj misc 1 - i012rd "MARS_GW" "gwparam" " " 197 201 #### -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis.inc
r11 r28 14 14 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 15 15 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 16 walbedodat, winertiedat,wphisfi, &16 walbedodat,,wphisfi, & 17 17 wzmea,wzstd,wzsig,wzgam,wzthe, & 18 wtheta,wpsi )18 wtheta,wpsi,wvolcapa) 19 19 -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis1.inc
r11 r28 14 14 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 15 15 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 16 walbedodat,winertiedat,wphisfi, & 16 #ifdef NEWPHYS 17 walbedodat, wphisfi, wvolcapa, & 18 #else 19 walbedodat, winertiedat, wphisfi, & 20 #endif 17 21 wzmea,wzstd,wzsig,wzgam,wzthe, & 18 wtheta,wpsi) 19 22 wtheta, wpsi) -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis2.inc
r11 r28 17 17 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 18 18 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 19 walbedodat,winertiedat,wphisfi, & 19 #ifdef NEWPHYS 20 walbedodat, wphisfi, wvolcapa, & 21 #else 22 walbedodat, winertiedat, wphisfi, & 23 #endif 20 24 wzmea,wzstd,wzsig,wzgam,wzthe, & 21 wtheta,wpsi) 25 wtheta, wpsi) 26 22 27 23 28 CASE(2) … … 31 36 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 32 37 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 33 walbedodat,winertiedat,wphisfi, & 38 #ifdef NEWPHYS 39 walbedodat, wphisfi, wvolcapa, & 40 #else 41 walbedodat, winertiedat, wphisfi, & 42 #endif 34 43 wzmea,wzstd,wzsig,wzgam,wzthe, & 35 wtheta,wpsi) 44 wtheta, wpsi) 45 36 46 ! 37 47 ! CASE(3:) -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis3.inc
r11 r28 17 17 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 18 18 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 19 walbedodat,winertiedat,wphisfi, & 19 #ifdef NEWPHYS 20 walbedodat, wphisfi, wvolcapa, & 21 #else 22 walbedodat, winertiedat, wphisfi, & 23 #endif 20 24 wzmea,wzstd,wzsig,wzgam,wzthe, & 21 wtheta, wpsi)25 wtheta, wpsi) 22 26 23 27 CASE(2) … … 31 35 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 32 36 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 33 walbedodat,winertiedat,wphisfi, & 37 #ifdef NEWPHYS 38 walbedodat, wphisfi, wvolcapa, & 39 #else 40 walbedodat, winertiedat, wphisfi, & 41 #endif 34 42 wzmea,wzstd,wzsig,wzgam,wzthe, & 35 wtheta, wpsi)43 wtheta, wpsi) 36 44 37 45 CASE(3) … … 45 53 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 46 54 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 47 walbedodat,winertiedat,wphisfi, & 55 #ifdef NEWPHYS 56 walbedodat, wphisfi, wvolcapa, & 57 #else 58 walbedodat, winertiedat, wphisfi, & 59 #endif 48 60 wzmea,wzstd,wzsig,wzgam,wzthe, & 49 wtheta, wpsi)61 wtheta, wpsi) 50 62 51 63 -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis4.inc
r11 r28 17 17 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 18 18 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 19 walbedodat,winertiedat,wphisfi, & 19 #ifdef NEWPHYS 20 walbedodat, wphisfi, wvolcapa, & 21 #else 22 walbedodat, winertiedat, wphisfi, & 23 #endif 20 24 wzmea,wzstd,wzsig,wzgam,wzthe, & 21 wtheta, wpsi)25 wtheta, wpsi) 22 26 23 27 CASE(2) … … 31 35 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 32 36 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 33 walbedodat,winertiedat,wphisfi, & 37 #ifdef NEWPHYS 38 walbedodat, wphisfi, wvolcapa, & 39 #else 40 walbedodat, winertiedat, wphisfi, & 41 #endif 34 42 wzmea,wzstd,wzsig,wzgam,wzthe, & 35 wtheta, wpsi)43 wtheta, wpsi) 36 44 37 45 CASE(3) … … 45 53 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 46 54 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 47 walbedodat,winertiedat,wphisfi, & 55 #ifdef NEWPHYS 56 walbedodat, wphisfi, wvolcapa, & 57 #else 58 walbedodat, winertiedat, wphisfi, & 59 #endif 48 60 wzmea,wzstd,wzsig,wzgam,wzthe, & 49 wtheta, wpsi)61 wtheta, wpsi) 50 62 51 63 CASE(4) … … 59 71 wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & 60 72 wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & 61 walbedodat,winertiedat,wphisfi, & 62 wzmea,wzstd,wzsig,wzgam,wzthe, & 63 wtheta,wpsi) 73 #ifdef NEWPHYS 74 walbedodat, wphisfi, wvolcapa, & 75 #else 76 walbedodat, winertiedat, wphisfi, & 77 #endif 78 wzmea,wzstd,wzsig,wzgam,wzthe, & 79 wtheta, wpsi) 64 80 65 81 ! -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_physiq.inc
r11 r28 10 10 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 11 11 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 12 wisoil, wdsoil, & 12 13 wecri_phys_sec, & 13 14 output_tab2d, output_tab3d, flag_LES) -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_physiq1.inc
r11 r28 10 10 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 11 11 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 12 #ifdef NEWPHYS 13 wisoil, wdsoil, & 14 #endif 12 15 wecri_phys_sec, & 13 16 output_tab2d, output_tab3d, flag_LES) -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_physiq2.inc
r11 r28 13 13 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 14 14 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 15 #ifdef NEWPHYS 16 wisoil, wdsoil, & 17 #endif 15 18 wecri_phys_sec, & 16 19 output_tab2d, output_tab3d, flag_LES) … … 22 25 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 23 26 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 27 #ifdef NEWPHYS 28 wisoil, wdsoil, & 29 #endif 24 30 wecri_phys_sec, & 25 31 output_tab2d, output_tab3d, flag_LES) -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_physiq3.inc
r11 r28 13 13 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 14 14 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 15 #ifdef NEWPHYS 16 wisoil, wdsoil, & 17 #endif 15 18 wecri_phys_sec, & 16 19 output_tab2d, output_tab3d, flag_LES) … … 22 25 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 23 26 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 27 #ifdef NEWPHYS 28 wisoil, wdsoil, & 29 #endif 24 30 wecri_phys_sec, & 25 31 output_tab2d, output_tab3d, flag_LES) … … 31 37 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 32 38 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 39 #ifdef NEWPHYS 40 wisoil, wdsoil, & 41 #endif 33 42 wecri_phys_sec, & 34 43 output_tab2d, output_tab3d, flag_LES) -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/call_meso_physiq4.inc
r11 r28 13 13 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 14 14 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 15 #ifdef NEWPHYS 16 wisoil, wdsoil, & 17 #endif 15 18 wecri_phys_sec, & 16 19 output_tab2d, output_tab3d, flag_LES) … … 22 25 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 23 26 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 27 #ifdef NEWPHYS 28 wisoil, wdsoil, & 29 #endif 24 30 wecri_phys_sec, & 25 31 output_tab2d, output_tab3d, flag_LES) … … 31 37 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 32 38 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 39 #ifdef NEWPHYS 40 wisoil, wdsoil, & 41 #endif 33 42 wecri_phys_sec, & 34 43 output_tab2d, output_tab3d, flag_LES) … … 40 49 pdu, pdv, pdt, pdq, pdpsrf, tracerdyn, & 41 50 wtsurf,wtsoil,wemis,wq2,wqsurf,wco2ice, & 51 #ifdef NEWPHYS 52 wisoil, wdsoil, & 53 #endif 42 54 wecri_phys_sec, & 43 55 output_tab2d, output_tab3d, flag_LES) -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/dyn_em/module_initialize_real.F
r11 r28 284 284 ENDDO 285 285 286 287 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 288 #ifdef NEWPHYS 289 ! here, that bit is necessary for new soil model ! 290 IF (config_flags%init_TI .ne. 0.) THEN 291 grid%therm_inert = grid%therm_inert*0. + config_flags%init_TI 292 print *, 'constant thermal inertia ', config_flags%init_TI 293 ENDIF 294 295 DO k = 1, config_flags%num_soil_layers 296 grid%mars_isoil(i,k,j)=grid%em_isoil_gc(i,k+1,j) 297 grid%mars_dsoil(i,k,j)=grid%em_dsoil_gc(i,k+1,j) 298 ENDDO 299 300 DO k = 1, config_flags%num_soil_layers 301 !!!!!!!!!!!!!!!!! DONE in soil_setting.F 302 IF (grid%mars_dsoil(i,k,j) == -999.) THEN !! old soil depths (or) no info in files 303 grid%mars_dsoil(i,k,j) = sqrt(887.75/3.14)*((2.**(k-0.5))-1.) * grid%therm_inert(i,j) / wvolcapa 304 !!! ATTENTION il faut interpoler si le nombre de niveaux change 305 !!! voir soil_setting.F (olddepthdef=.true. ; interpol=.true.) 306 !!! mais: en meso-echelle on a juste a prendre le mm nombre de niveaux que le GCM 307 ENDIF 308 IF (grid%mars_isoil(i,k,j) == -999.) THEN !! old soil model (or) no 3D thermal inertia 309 grid%mars_isoil(i,k,j) = grid%therm_inert(i,j) 310 ELSE 311 IF (grid%mars_dsoil(i,k,j) .le. sqrt(88775./3.14) * grid%therm_inert(i,j) / wvolcapa) THEN 312 grid%mars_isoil(i,k,j) = grid%therm_inert(i,j) !! if depth < skin depth, we use hi-res TI 313 ELSE !! if depth > skin depth, we use low-res (GCM) TI 314 !! except for a transition layer 315 !! EM: and, well, it would be wrong to sum up TI values 316 !! EM: (cf. last page of soil model technical document) 317 IF (grid%mars_dsoil(i,k-1,j) .le. sqrt(88775./3.14) * grid%therm_inert(i,j) / wvolcapa) THEN 318 grid%mars_isoil(i,k,j) = & 319 sqrt( & 320 ( grid%mars_dsoil(i,k+1,j) - grid%mars_dsoil(i,k-1,j) ) & 321 / & 322 ( ( (grid%mars_dsoil(i,k,j) - grid%mars_dsoil(i,k-1,j)) & 323 / (grid%mars_isoil(i,k-1,j)*grid%mars_isoil(i,k-1,j)) ) & 324 + & 325 ( (grid%mars_dsoil(i,k+1,j) - grid%mars_dsoil(i,k,j)) & 326 / (grid%mars_isoil(i,k+1,j)*grid%mars_isoil(i,k+1,j)) ) & 327 ) & 328 ) 329 ENDIF !! grid%mars_isoil(i,k-1,j) was changed at previous step to value grid%therm_inert(i,j) 330 !! grid%mars_isoil(i,k+1,j) is defined to large-scale value grid%em_isoil_gc 331 ENDIF 332 ENDIF 333 !!!!!!!!!!!!!!!!! DONE in soil_setting.F 334 335 ENDDO 336 #endif 337 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 338 286 339 grid%mars_gw(i,1,j)=grid%st040100(i,j) !!ZMEA 287 340 grid%mars_gw(i,2,j)=grid%st100200(i,j) !!ZSTD … … 362 415 DO j = jts, MIN(jte,jde-1) 363 416 DO i = its, MIN(ite,ide-1) 364 grid%em_u_gc(i,:,j)=grid%em_u_gc(config_flags%init_WX,:,config_flags%init_WY)! zonal wind365 grid%em_v_gc(i,:,j)=grid%em_v_gc(config_flags%init_WX,:,config_flags%init_WY)! meridional wind417 grid%em_u_gc(i,:,j)=grid%em_u_gc(config_flags%init_WX,:,config_flags%init_WY) ! zonal wind 418 grid%em_v_gc(i,:,j)=grid%em_v_gc(config_flags%init_WX,:,config_flags%init_WY) ! meridional wind 366 419 ENDDO 367 420 ENDDO 368 421 !! FIX for the STAGGERED SPECIFICITY 369 422 grid%em_u_gc(MIN(ite,ide-1)+1,:,:)=grid%em_u_gc(MIN(ite,ide-1),:,:) 370 grid%em_v_gc(:,:,MIN(jte,jde-1)+1)=grid%em_v_gc(:,:,MIN(jte,jde-1)) 423 grid%em_v_gc(:,:,MIN(jte,jde-1)+1)=grid%em_v_gc(:,:,MIN(jte,jde-1)) 371 424 372 425 !! CHECK … … 396 449 IF (config_flags%init_LES) THEN 397 450 398 399 451 print *, '*** LES MODE ***' 452 print *, 'setting uniform values and profiles' 400 453 print *, 'u', grid%em_u_gc(its+1,:,jts+1) 401 454 print *, 'v', grid%em_v_gc(its+1,:,jts+1) … … 430 483 grid%mars_tsoil(i,:,j)=grid%mars_tsoil(its+1,:,jts+1) 431 484 485 !!! 486 grid%mars_isoil(i,:,j)=grid%mars_isoil(its+1,:,jts+1) 487 grid%mars_dsoil(i,:,j)=grid%mars_dsoil(its+1,:,jts+1) 432 488 433 489 !! T.Michaels trick to break symmetry -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/dyn_em/solve_em.F
r11 r28 854 854 & ,MARS_CICE=grid%mars_cice,MARS_EMISS=grid%mars_emiss & 855 855 & ,MARS_TSOIL=grid%mars_tsoil & 856 #ifdef NEWPHYS 857 & ,MARS_ISOIL=grid%mars_isoil & 858 & ,MARS_DSOIL=grid%mars_dsoil & 859 #endif 856 860 & ,MARS_GW=grid%mars_gw & 857 861 & ,NUM_SOIL_LAYERS=config_flags%num_soil_layers & -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r11 r28 10 10 ! - general cleaning of code and comments - October 2008 11 11 ! - additions for idealized cases - January 2009 12 ! - additions for new soil model in physics - January 2010 12 13 !******************************************************************************* 13 14 MODULE module_lmd_driver … … 29 30 MARS_ALB,MARS_TI,MARS_CICE,MARS_EMISS, & 30 31 MARS_TSOIL, & 32 #ifdef NEWPHYS 33 MARS_ISOIL, & 34 MARS_DSOIL, & 35 #endif 31 36 MARS_GW, & 32 37 NUM_SOIL_LAYERS, & … … 105 110 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 106 111 REAL, DIMENSION( ims:ime, NUM_SOIL_LAYERS, jms:jme ), INTENT(IN ) :: & 107 MARS_TSOIL 112 MARS_TSOIL 113 #ifdef NEWPHYS 114 REAL, DIMENSION( ims:ime, NUM_SOIL_LAYERS, jms:jme ), INTENT(IN ) :: & 115 MARS_ISOIL, MARS_DSOIL 116 #endif 108 117 REAL, DIMENSION( ims:ime, 5, jms:jme ), INTENT(IN ) :: & 109 118 MARS_GW … … 147 156 LOGICAL :: firstcall,lastcall,tracerdyn 148 157 REAL,DIMENSION(:),ALLOCATABLE :: q2_val, qsurf_val, tsoil_val 158 #ifdef NEWPHYS 159 REAL,DIMENSION(:),ALLOCATABLE :: isoil_val, dsoil_val 160 #endif 149 161 REAL,DIMENSION(:),ALLOCATABLE :: aire_vec,lat_vec,lon_vec 150 162 REAL,DIMENSION(:),ALLOCATABLE :: walbedodat,winertiedat,wphisfi … … 153 165 ! v--- can they be modified ? 154 166 REAL,DIMENSION(:),ALLOCATABLE :: wtsurf,wco2ice,wemis 155 REAL,DIMENSION(:,:),ALLOCATABLE :: wq2,wqsurf,wtsoil 167 REAL,DIMENSION(:,:),ALLOCATABLE :: wq2,wqsurf,wtsoil 168 #ifdef NEWPHYS 169 REAL,DIMENSION(:,:),ALLOCATABLE :: wisoil,wdsoil 170 #endif 156 171 ! ---------- 157 172 REAL,DIMENSION(:,:),ALLOCATABLE :: pplev,pplay,pphi,pu,pv,pt,pw … … 451 466 ALLOCATE(qsurf_val(nq)) 452 467 ALLOCATE(tsoil_val(nsoil)) 468 #ifdef NEWPHYS 469 ALLOCATE(isoil_val(nsoil)) 470 ALLOCATE(dsoil_val(nsoil)) 471 #endif 453 472 ALLOCATE(wq2(ngrid,nlayer+1)) 454 473 ALLOCATE(wqsurf(ngrid,nq)) 455 474 ALLOCATE(wtsoil(ngrid,nsoil)) 475 #ifdef NEWPHYS 476 ALLOCATE(wisoil(ngrid,nsoil)) 477 ALLOCATE(wdsoil(ngrid,nsoil)) 478 #endif 456 479 ALLOCATE(pplev(ngrid,nlayer+1)) 457 480 ALLOCATE(pplay(ngrid,nlayer)) … … 594 617 tsoil_val = tsoil_val*0. + tsurf_val 595 618 ENDIF 619 #ifdef NEWPHYS 620 isoil_val(:)=MARS_ISOIL(i,:,j) 621 dsoil_val(:)=MARS_DSOIL(i,:,j) 622 #endif 596 623 597 624 !-------------------! … … 630 657 PRINT *,'v_prof ',v_prof 631 658 PRINT *,'tsoil ',tsoil_val 659 #ifdef NEWPHYS 660 PRINT *,'isoil ',isoil_val 661 PRINT *,'dsoil ',dsoil_val 662 #endif 632 663 ENDIF 633 664 … … 660 691 wqsurf(subs,:) = qsurf_val(:) 661 692 wtsoil(subs,:) = tsoil_val(:) 693 #ifdef NEWPHYS 694 wisoil(subs,:) = isoil_val(:) 695 wdsoil(subs,:) = dsoil_val(:) 696 #endif 662 697 wtheta(subs) = theta_val 663 698 wpsi(subs) = psi_val … … 680 715 pplev(subs,1:nlayer) = p8w_prof(1:nlayer) !! NB: last level: no data 681 716 pplay(subs,:) = p_prof(:) 682 pt(subs,:) = t_prof(:) ! temperature717 pt(subs,:) = t_prof(:) 683 718 pu(subs,:) = u_prof(:) 684 719 pv(subs,:) = v_prof(:) … … 711 746 DEALLOCATE(qsurf_val) 712 747 DEALLOCATE(tsoil_val) 748 #ifdef NEWPHYS 749 DEALLOCATE(isoil_val) 750 DEALLOCATE(dsoil_val) 751 #endif 713 752 DEALLOCATE(dz8w_prof) 714 753 DEALLOCATE(z_prof) … … 738 777 IF (firstcall .EQV. .true.) THEN 739 778 print *, '** Mars ** LMD INITIALIZATION' 740 include "../call_meso_inifis.inc" 779 #include "../call_meso_inifis.inc" 780 !!! le # est important pour newphys 741 781 DEALLOCATE(aire_vec) 742 782 DEALLOCATE(lat_vec) … … 777 817 pdt(:,:)=0. 778 818 pdq(:,:,:)=0. 779 include "../call_meso_physiq.inc" 819 #include "../call_meso_physiq.inc" 820 !!! le # est important pour newphys 780 821 DEALLOCATE(pplev) 781 822 DEALLOCATE(pplay) … … 792 833 DEALLOCATE(wqsurf) 793 834 DEALLOCATE(wtsoil) 835 #ifdef NEWPHYS 836 DEALLOCATE(wisoil) 837 DEALLOCATE(wdsoil) 838 #endif 794 839 795 840 -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/share/module_model_constants.F
r11 r28 72 72 REAL , PARAMETER :: wdtemisiceN = 0.4 ! time scale for snow metamorphism (north) !2 73 73 REAL , PARAMETER :: wdtemisiceS = 0.4 ! time scale for snow metamorphism (south) !2 74 #ifdef NEWPHYS 75 REAL , PARAMETER :: wvolcapa = 1.e6 ! volumetric capacity of soil (new soil model) 76 #endif 74 77 ! 75 78 !------------------------------- -
trunk/mesoscale/LMD_MM_MARS/makemeso
r24 r28 299 299 sed s+"mpif90"+"${WHERE_MPI}/mpif90"+g configure.wrf | sed s+"mpicc"+"${WHERE_MPI}/mpicc"+g | sed s+"mpicc"+"mpicc -DMPI2_SUPPORT"+g > yeah 300 300 #| sed s+"fastsse"+"fast"+g > yeah 301 mv -f yeah configure.wrf ;; 301 mv -f yeah configure.wrf ;; 302 #sed s+"-fastsse"+"-O2 -Munroll -Mcache_align"+g configure.wrf > yeah 303 ##sed s+"-fastsse"+"-O2 -fpic"+g configure.wrf > yeah ## marche pas, ILM problem 304 ##sed s+"-fastsse"+"-mcmodel=medium -Mlarge_arrays"+g configure.wrf > yeah ## marche pas, ILM problem 305 #mv -f yeah configure.wrf ;; 302 306 # MPICH, 64 bits, OK with periodic BC but no positive definite 303 307 mpi_64_test) cd arch ; ln -sf ../configure.defaults.fix64nest configure.defaults ; cd .. … … 372 376 # -- default is 10 373 377 soilsize=10 378 #soilsize=18 ## nouvelle physique 374 379 375 380 # GCM environment variables
Note: See TracChangeset
for help on using the changeset viewer.