Changeset 4537 for LMDZ6/trunk
- Timestamp:
- May 15, 2023, 1:03:18 AM (19 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/clesphys.h
r4523 r4537 18 18 REAL co2_ppm, co2_ppm0, solaire 19 19 INTEGER iflag_thermals,nsplit_thermals 20 INTEGER iflag_physiq 20 21 REAL tau_thermals 21 22 … … 152 153 & , ok_daily_climoz, ok_all_xml, ok_lwoff & 153 154 & , iflag_phytrac, ok_new_lscp, ok_bs, ok_rad_bs & 154 & , iflag_thermals,nsplit_thermals, tau_thermals 155 & , iflag_thermals,nsplit_thermals, tau_thermals & 156 & , iflag_physiq 155 157 save /clesphys/ 156 158 !$OMP THREADPRIVATE(/clesphys/) -
LMDZ6/trunk/libf/phylmd/conf_phys_m.F90
r4535 r4537 189 189 REAL, SAVE :: fmagic_omp, pmagic_omp 190 190 INTEGER,SAVE :: iflag_pbl_omp,lev_histhf_omp,lev_histday_omp,lev_histmth_omp 191 INTEGER,SAVE :: iflag_pbl_split_omp 191 INTEGER,SAVE :: iflag_pbl_split_omp,iflag_physiq_omp 192 192 !FC 193 193 INTEGER,SAVE :: ifl_pbltree_omp … … 1484 1484 CALL getin('iflag_pbl',iflag_pbl_omp) 1485 1485 1486 iflag_physiq_omp = 1 ! 1: std, 0 for physiqex 1487 CALL getin('iflag_physiq',iflag_physiq_omp) 1488 1486 1489 !FC 1487 1490 !Config Key = ifl_pbltree … … 1533 1536 nsplit_thermals_omp = 1 1534 1537 CALL getin('nsplit_thermals',nsplit_thermals_omp) 1535 1536 !Config Key = alp_bl_k 1537 !Config Desc = 1538 !Config Def = 0. 1539 !Config Help = 1540 ! 1538 ! 1539 !Config Key = nsplit_thermals 1540 !Config Desc = 1541 !Config Def = 0 1542 !Config Help = 1541 1543 alp_bl_k_omp = 1. 1542 1544 CALL getin('alp_bl_k',alp_bl_k_omp) … … 2321 2323 pmagic = pmagic_omp 2322 2324 iflag_pbl = iflag_pbl_omp 2325 iflag_physiq = iflag_physiq_omp 2323 2326 iflag_pbl_split = iflag_pbl_split_omp 2324 2327 !FC … … 2756 2759 WRITE(lunout,*) ' freq_calNMC = ',freq_calNMC 2757 2760 WRITE(lunout,*) ' iflag_pbl = ', iflag_pbl 2761 WRITE(lunout,*) ' iflag_physiq = ', iflag_physiq 2758 2762 !FC 2759 2763 WRITE(lunout,*) ' ifl_pbltree = ', ifl_pbltree -
LMDZ6/trunk/libf/phylmd/dyn1d/old_lmdz1d.F90
r4536 r4537 946 946 !------------------------------------------------------------------------ 947 947 !Al1 =============== restart option ========================== 948 iflag_physiq=1 949 call getin('iflag_physiq',iflag_physiq) 950 948 951 if (.not.restart) then 949 952 iflag_pbl = 5 -
LMDZ6/trunk/libf/phylmd/dyn1d/scm.F90
r4536 r4537 704 704 !------------------------------------------------------------------------ 705 705 !Al1 =============== restart option ====================================== 706 iflag_physiq=1 707 call getin('iflag_physiq',iflag_physiq) 708 706 709 if (.not.restart) then 707 710 iflag_pbl = 5 -
LMDZ6/trunk/libf/phylmd/phyetat0_mod.F90
r4389 r4537 300 300 301 301 !=================================================================== 302 ! Lecture dans le cas iflag_pbl_surface =1 303 !=================================================================== 304 305 if ( iflag_physiq == 1 ) then 306 !=================================================================== 302 307 ! Lecture des temperatures du sol profond: 303 308 !=================================================================== … … 373 378 treedrg(:,:,:) = 0.0 374 379 ENDIF 380 381 endif ! iflag_physiq == 1 375 382 376 383 ! Lecture de l'age de la neige: … … 591 598 ! Initialize module pbl_surface_mod 592 599 600 if ( iflag_physiq == 1 ) then 593 601 CALL pbl_surface_init(fder, snow, qsurf, tsoil) 602 endif 594 603 595 604 ! Initialize module ocean_cpl_mod for the case of coupled ocean -
LMDZ6/trunk/libf/phylmd/phyredem.F90
r4523 r4537 76 76 ! Get variables which will be written to restart file from module 77 77 ! pbl_surface_mod 78 CALL pbl_surface_final(fder, snow, qsurf, tsoil) 78 if ( iflag_physiq == 1 ) then 79 CALL pbl_surface_final(fder, snow, qsurf, tsoil) 80 endif 79 81 80 82 ! Get a variable calculated in module fonte_neige_mod -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r4535 r4537 142 142 !!!!!!!!!!!!!!!!!! END "USE" for CPP keys !!!!!!!!!!!!!!!!!!!!!! 143 143 144 USE physiqex_mod, ONLY : physiqex 144 145 USE phys_local_var_mod, ONLY: phys_local_var_init, phys_local_var_end, & 145 146 ! [Variables internes non sauvegardees de la physique] … … 1229 1230 REAL pi 1230 1231 1232 1233 !======================================================================! 1234 ! Bifurcation vers un nouveau moniteur physique pour experimenter ! 1235 ! des solutions et préparer le couplage avec la physique de MesoNH ! 1236 ! 14 mai 2023 ! 1237 !======================================================================! 1238 if (debut) then ! 1239 iflag_physiq=1 ! 1240 call getin_p('iflag_physiq', iflag_physiq) ! 1241 endif ! 1242 if ( iflag_physiq == 2 ) then ! 1243 call physiqex (nlon,nlev, & ! 1244 debut,lafin,pdtphys_, & ! 1245 paprs,pplay,pphi,pphis,presnivs, & ! 1246 u,v,rot,t,qx, & ! 1247 flxmass_w, & ! 1248 d_u, d_v, d_t, d_qx, d_ps) ! 1249 return ! 1250 endif ! 1251 !======================================================================! 1252 1253 1231 1254 pi = 4. * ATAN(1.) 1232 1255 … … 1255 1278 ! Utilise notamment en 1D mais peut etre active egalement en 3D 1256 1279 ! en imposant la valeur de igout. 1257 !====================================================================== d1280 !====================================================================== 1258 1281 IF (prt_level.ge.1) THEN 1259 1282 igout=klon/2+1/klon
Note: See TracChangeset
for help on using the changeset viewer.