- Timestamp:
- 2021-03-11T13:37:58+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14273_HPC-02_Daley_Tiling/src/OCE/TRA/traqsr.F90
r14537 r14607 293 293 END_2D 294 294 ! 295 ! TEMP: [tiling] This change not necessary and working array can use A2D(nn_hls) if using XIOS (subdomain support) 296 IF( .NOT. l_istiled .OR. ntile == nijtile ) THEN ! Do only for the full domain 297 IF( iom_use('qsr3d') ) THEN ! output the shortwave Radiation distribution 298 ALLOCATE( zetot(jpi,jpj,jpk) ) 299 zetot(:,:,nksr+1:jpk) = 0._wp ! below ~400m set to zero 300 DO jk = nksr, 1, -1 301 zetot(:,:,jk) = zetot(:,:,jk+1) + qsr_hc(:,:,jk) * rho0_rcp 302 END DO 303 CALL iom_put( 'qsr3d', zetot ) ! 3D distribution of shortwave Radiation 304 DEALLOCATE( zetot ) 305 ENDIF 295 IF( iom_use('qsr3d') ) THEN ! output the shortwave Radiation distribution 296 ALLOCATE( zetot(A2D(nn_hls),jpk) ) 297 zetot(:,:,nksr+1:jpk) = 0._wp ! below ~400m set to zero 298 DO_3DS(0, 0, 0, 0, nksr, 1, -1) 299 zetot(ji,jj,jk) = zetot(ji,jj,jk+1) + qsr_hc(ji,jj,jk) * rho0_rcp 300 END_3D 301 CALL iom_put( 'qsr3d', zetot ) ! 3D distribution of shortwave Radiation 302 DEALLOCATE( zetot ) 306 303 ENDIF 307 304 !
Note: See TracChangeset
for help on using the changeset viewer.