Changeset 2932 for trunk/LMDZ.MARS/libf/phymars/nonoro_gwd_ran_mod.F90
- Timestamp:
- Apr 3, 2023, 6:17:05 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/nonoro_gwd_ran_mod.F90
r2682 r2932 47 47 use vertical_layers_mod, only : presnivs 48 48 use geometry_mod, only: cell_area 49 use write_output_mod, only: write_output 49 50 #ifdef CPP_XIOS 50 51 use xios_output_mod, only: send_xios_field … … 222 223 PH(:, 1) = 2. * PP(:, 1) - PH(:, 2) 223 224 224 call write diagfi(ngrid,'nonoro_pp','nonoro_pp', 'm',3,PP(:,1:nlayer))225 call write diagfi(ngrid,'nonoro_ph','nonoro_ph', 'm',3,PH(:,1:nlayer))225 call write_output('nonoro_pp','nonoro_pp', 'm',PP(:,:)) 226 call write_output('nonoro_ph','nonoro_ph', 'm',PH(:,:)) 226 227 227 228 ! Launching level for reproductible case … … 250 251 ZH(:, 1) = H0 * LOG(PR / (PH(:, 1) + PSEC)) 251 252 252 call write diagfi(ngrid,'nonoro_zh','nonoro_zh', 'm',3,ZH(:,2:nlayer+1))253 call write_output('nonoro_zh','nonoro_zh', 'm',ZH(:,2:nlayer+1)) 253 254 254 255 ! Winds and Brunt Vaisala frequency … … 275 276 MAX_K(II)=MAX(kmin,kstar) 276 277 ENDDO 277 call write diagfi(ngrid,'nonoro_bv','nonoro_bv', 'm',3,BV(:,2:nlayer+1))278 call write_output('nonoro_bv','nonoro_bv', 'm',BV(:,2:nlayer+1)) 278 279 279 280 !----------------------------------------------------------------------------------------------------------------------- … … 444 445 ! (upward) that should be compensated by circulation 445 446 ! and induce additional friction at the surface 446 call write diagfi(ngrid,'nonoro_u_epflux_tot','nonoro_u_epflux_tot', '',3,u_epflux_tot(:,2:nlayer+1))447 call write diagfi(ngrid,'nonoro_v_epflux_tot','nonoro_v_epflux_tot', '',3,v_epflux_tot(:,2:nlayer+1))447 call write_output('nonoro_u_epflux_tot','nonoro_u_epflux_tot', '',u_epflux_tot(:,2:nlayer+1)) 448 call write_output('nonoro_v_epflux_tot','nonoro_v_epflux_tot', '',v_epflux_tot(:,2:nlayer+1)) 448 449 449 450 ! 5.2 AR-1 RECURSIVE FORMULA (13) IN VERSION 4 … … 457 458 ENDDO 458 459 d_t(:,:) = 0. 459 call write diagfi(ngrid,'nonoro_d_u','nonoro_d_u', '',3,d_u)460 call write diagfi(ngrid,'nonoro_d_v','nonoro_d_v', '',3,d_v)460 call write_output('nonoro_d_u','nonoro_d_u', '',d_u(:,:)) 461 call write_output('nonoro_d_v','nonoro_d_v', '',d_v(:,:)) 461 462 462 463 ! 5.3 Update tendency of wind with the previous (and saved) values … … 469 470 dv_nonoro_gwd(:,:) = d_v(:,:) 470 471 471 call write diagfi(ngrid,'du_nonoro_gwd','du_nonoro_gwd', '',3,du_nonoro_gwd)472 call write diagfi(ngrid,'dv_nonoro_gwd','dv_nonoro_gwd', '',3,dv_nonoro_gwd)472 call write_output('du_nonoro_gwd','du_nonoro_gwd', '',du_nonoro_gwd(:,:)) 473 call write_output('dv_nonoro_gwd','dv_nonoro_gwd', '',dv_nonoro_gwd(:,:)) 473 474 474 475 ! Cosmetic: evaluation of the cumulated stress
Note: See TracChangeset
for help on using the changeset viewer.