Changeset 3995 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Jan 5, 2026, 5:00:27 PM (8 weeks ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 added
- 4 edited
-
dyn1d/mod_const_mpi.F90 (added)
-
dyn1d/parallel_lmdz.F90 (added)
-
dyn1d/rcm1d.F (modified) (2 diffs)
-
turbdiff_mod.F90 (modified) (2 diffs)
-
writediagfi.F (modified) (6 diffs)
-
wstats_mod.F90 (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r3893 r3995 46 46 !use inichim_1D_mod, only: inichim_1D 47 47 !use initracer_1D_mod, only: initracer_1D 48 #ifdef CPP_XIOS 49 use mod_const_mpi, only: init_const_mpi 50 use parallel_lmdz, only: init_parallel 51 #endif 48 52 49 53 implicit none … … 202 206 call system("echo 'INCLUDEDEF=rcm1d.def' >> run.def") 203 207 endif 208 209 #ifdef CPP_XIOS 210 CALL init_const_mpi 211 CALL init_parallel 212 #endif 204 213 205 214 ! Check restart -
trunk/LMDZ.GENERIC/libf/phystd/turbdiff_mod.F90
r3236 r3995 20 20 use callkeys_mod, only: water,tracer,nosurf,kmixmin 21 21 use turb_mod, only : ustar 22 use write_output_mod, only: write_output 22 23 #ifdef MESOSCALE 23 24 use comm_wrf, only : comm_LATENT_HF … … 744 745 if(water)then 745 746 #ifndef MESOSCALE 746 call write diagfi(ngrid,'beta','Dryness coefficient',' ',2,dryness)747 call write_output('beta','Dryness coefficient',' ',dryness) 747 748 #endif 748 749 if (tracer) then 749 750 #ifndef MESOSCALE 750 call write diagfi(ngrid,'evap_surf_flux','surface latent heat flux','W.m-2',2,RLVTT*dqsdif_total/ptimestep)751 call write diagfi(ngrid,'fluxsurf_rad','total IR and VIS surface flux','W.m-2',2,pfluxsrf)752 call write diagfi(ngrid,'dqevap','evaporated water vapor specific concentration','s-1',3,pdqevap)751 call write_output('evap_surf_flux','surface latent heat flux','W.m-2',RLVTT*dqsdif_total/ptimestep) 752 call write_output('fluxsurf_rad','total IR and VIS surface flux','W.m-2',pfluxsrf) 753 call write_output('dqevap','evaporated water vapor specific concentration','s-1',pdqevap) 753 754 #else 754 755 comm_LATENT_HF(:)=0.0 -
trunk/LMDZ.GENERIC/libf/phystd/writediagfi.F
r3928 r3995 334 334 if (dim.eq.3) then 335 335 336 IF (klon_glo>1) THEN ! General case 336 337 #ifdef CPP_PARA 337 338 ! Gather field on a "global" (without redundant longitude) array … … 349 350 ! Passage variable physique --> variable dynamique 350 351 ! recast (copy) variable from physics grid to dynamics grid 351 IF (klon_glo>1) THEN ! General case352 352 DO l=1,nbp_lev 353 353 DO i=1,nbp_lon+1 … … 363 363 ENDDO 364 364 ENDDO 365 #endif 365 366 ELSE ! 1D model case 366 367 dx3_1d(1,1:nbp_lev)=px(1,1:nbp_lev) 367 368 ENDIF 368 #endif369 369 ! Ecriture du champs 370 370 … … 438 438 else if (dim.eq.2) then 439 439 440 IF (klon_glo>1) THEN ! General case 440 441 #ifdef CPP_PARA 441 442 ! Gather field on a "global" (without redundant longitude) array … … 455 456 ! Passage variable physique --> physique dynamique 456 457 ! recast (copy) variable from physics grid to dynamics grid 457 IF (klon_glo>1) THEN ! General case458 458 DO i=1,nbp_lon+1 459 459 dx2(i,1)=px(1,1) … … 467 467 dx2(nbp_lon+1,j)=dx2(1,j) 468 468 ENDDO 469 #endif 469 470 ELSE ! 1D model case 470 471 dx2_1d=px(1,1) 471 472 ENDIF 472 #endif473 473 474 474 if (is_master) then -
trunk/LMDZ.GENERIC/libf/phystd/wstats_mod.F90
r2958 r3995 174 174 if (is_mpi_root) then 175 175 call Grid1Dto2D_glo(px3_glop,px3_glo) 176 ! copy dx3_glo() to dx3(:) and add redundant longitude 177 dx3(1:nbp_lon,:,:)=px3_glo(1:nbp_lon,:,:) 178 dx3(nbp_lon+1,:,:)=dx3(1,:,:) 176 if (klon_glo>1) then ! general case (unless in 1D) 177 ! copy dx3_glo() to dx3(:) and add redundant longitude 178 dx3(1:nbp_lon,:,:)=px3_glo(1:nbp_lon,:,:) 179 dx3(nbp_lon+1,:,:)=dx3(1,:,:) 180 endif 179 181 endif 180 182 !$OMP END MASTER … … 187 189 if (is_mpi_root) then 188 190 call Grid1Dto2D_glo(px2_glop,px2_glo) 189 ! copy px2_glo() to dx2(:) and add redundant longitude 190 dx2(1:nbp_lon,:)=px2_glo(1:nbp_lon,:) 191 dx2(nbp_lon+1,:)=dx2(1,:) 191 if (klon_glo>1) then ! general case (unless in 1D) 192 ! copy px2_glo() to dx2(:) and add redundant longitude 193 dx2(1:nbp_lon,:)=px2_glo(1:nbp_lon,:) 194 dx2(nbp_lon+1,:)=dx2(1,:) 195 endif 192 196 endif 193 197 !$OMP END MASTER
Note: See TracChangeset
for help on using the changeset viewer.
