Changeset 1578
- Timestamp:
- Aug 22, 2016, 11:56:58 AM (8 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/SCRIPTS/copy_model
r1249 r1578 133 133 mkdir mars_lmd/libf/phymars 134 134 ln -sf $WRFSRC/WRFV2/mars_lmd/libf/phymars/* mars_lmd/libf/phymars/ 135 ln -sf $WRFSRC/WRFV2/mars_lmd/libf/phy_common/* mars_lmd/libf/phymars/ 135 136 mkdir mars_lmd/libf/dyn3d 136 137 ln -sf $WRFSRC/WRFV2/mars_lmd/libf/dyn3d/* mars_lmd/libf/dyn3d/ -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F.new
r1577 r1578 62 62 USE update_outputs_physiq_mod !! to get outputs from physiq 63 63 USE comm_wrf !! to get fields to be written from physiq 64 USE physiq_mod, only : physiq 65 USE phys_state_var_init_mod, only : phys_state_var_init 66 !!! ajouter init_time (voir iniphysiq. ne plus le faire dans la physiq) 64 67 #endif 65 68 … … 139 142 REAL :: pday,ptime,MY 140 143 REAL :: phisfi_val 141 LOGICAL :: firstcall,lastcall ,tracerdyn144 LOGICAL :: firstcall,lastcall 142 145 ! ---------- 143 146 REAL,DIMENSION(:,:),ALLOCATABLE :: pplev,pplay,pphi,pu,pv,pt,pw … … 375 378 ! pdq(ngrid,nlayermx) / ! 376 379 ! pdpsrf(ngrid) / ! 377 ! tracerdyn call tracer in dynamical part of GCM ? !378 380 !-------------------------------------------------------------------------------! 379 381 ALLOCATE(pdpsrf(ngrid)) … … 446 448 !! parameters are defined in the module_model_constants.F WRF routine 447 449 PRINT *,'** Mars ** INITIALIZE ARRAYS FOR PHYSICS' 450 !! need to get initial time first 451 CALL update_inputs_physiq_time(& 452 JULYR,JULDAY,GMT,& 453 elaps,& 454 lct_input,lon_input,ls_input,& 455 ptime,pday,MY) 456 !! 448 457 CALL phys_state_var_init(ngrid,nlayer,nq,& 458 floor(pday),ptime,& 449 459 wdaysec,ptimestep,1/reradius,g,r_d,cp) 450 460 !! Fill planetary parameters in modules … … 653 663 firstcall,lastcall,pday,ptime,ptimestep, & 654 664 pplev,pplay,pphi,pu,pv,pt,pq,pw, & 655 pdu,pdv,pdt,pdq,pdpsrf ,tracerdyn)665 pdu,pdv,pdt,pdq,pdpsrf) 656 666 #endif 657 667 -
trunk/MESOSCALE/LMD_MM_MARS/makemeso
r1489 r1578 76 76 # makemeso -f ## fresh start [clean -a] 77 77 # 78 # makemeso -e ## a completely new recompile with erasing ALLcompiling folder78 # makemeso -e ## a completely new recompile with erasing the WHOLE compiling folder 79 79 # 80 80 # makemeso -s DUSTSTORM ## a specific scenario (with precompiling flags) … … 250 250 cd .. 251 251 252 # remove files adapted to parallel GCM and useless for mesoscale253 cd mars_lmd254 cd libf/phymars255 \rm tabfi* soil_settings* phyetat0* phyredem* iostart* writediagfi* mkstat* writediagsoil* eofdump* wstats* inistats* mod_*256 \rm iniphysiq* init_phys_lmdz* comgeomphy* planetwide_mod*257 mv ../dyn3d/control_mod.F90 .258 cd ../..259 cd ..252 ## remove files adapted to parallel GCM and useless for mesoscale 253 #cd mars_lmd 254 #cd libf/phymars 255 #\rm tabfi* soil_settings* phyetat0* phyredem* iostart* writediagfi* mkstat* writediagsoil* eofdump* wstats* inistats* mod_* 256 #\rm iniphysiq* init_phys_lmdz* comgeomphy* planetwide_mod* 257 #mv ../dyn3d/control_mod.F90 . 258 #cd ../.. 259 #cd .. 260 260 261 261 else … … 687 687 cd libf/phymars 688 688 \rm dimphys.h 2> /dev/null 689 if [[ "${phys}" == "newphys_" ]] 690 then 691 ln -sf ../../meso_dimphys.h_ref . ## ne sert plus !! 692 else 689 # if [[ "${phys}" == "newphys_" ]] 690 # then 691 # ln -sf ../../meso_dimphys.h_ref . ## ne sert plus !! 692 # else 693 if [[ "${phys}" != "newphys_" ]] 694 then 693 695 physize=$(expr ${physx} \* ${physy}) 694 696 sed s/--xsize--/${physx}/g meso_dimphys.h_ref | sed s/--ysize--/${physy}/g | sed s/--physize--/${physize}/g | sed s/--zsize--/${physz}/g | sed s/--soilsize--/${soilsize}/g > dimphys.h 695 697 head -15 dimphys.h 696 698 fi 697 ### TEST new new phys698 if [[ "${phys}" == "newphys_" ]]699 then700 touch gr_fi_dyn.F.lien701 ln -sf ../dyn3d/gr_fi_dyn.F . ## dommage, a corriger702 ############################### 703 ############################### 704 ############################### 705 fi706 ### 707 ### 699 #### TEST new new phys 700 #if [[ "${phys}" == "newphys_" ]] 701 #then 702 # touch gr_fi_dyn.F.lien 703 # ln -sf ../dyn3d/gr_fi_dyn.F . ## dommage, a corriger 704 ################################ 705 ################################ 706 ################################ 707 #fi 708 #### 709 #### 708 710 cd ../.. 709 711
Note: See TracChangeset
for help on using the changeset viewer.