- Timestamp:
- 2017-12-19T09:47:17+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRD/trdmxl.F90
r9101 r9125 37 37 USE restart ! for lrst_oce 38 38 USE lib_mpp ! MPP library 39 USE wrk_nemo ! Memory allocation40 39 USE iom 41 40 … … 253 252 ! 254 253 INTEGER :: ji, jj, jk, isum 255 REAL(wp), POINTER, DIMENSION(:,:) :: zvlmsk 256 !!---------------------------------------------------------------------- 257 258 CALL wrk_alloc( jpi, jpj, zvlmsk ) 254 REAL(wp), DIMENSION(jpi,jpj) :: zvlmsk 255 !!---------------------------------------------------------------------- 259 256 260 257 ! I. Definition of control surface and associated fields … … 280 277 281 278 END IF 282 !283 CALL wrk_dealloc( jpi, jpj, zvlmsk )284 279 ! 285 280 END SUBROUTINE trd_mxl_zint … … 339 334 ! ! z(ts)mltot : dT/dt over the anlysis window (including Asselin) 340 335 ! ! z(ts)mlres : residual = dh/dt entrainment term 341 REAL(wp), POINTER, DIMENSION(:,: ):: ztmltot , zsmltot , ztmlres , zsmlres , ztmlatf , zsmlatf342 REAL(wp), POINTER, DIMENSION(:,: ):: ztmltot2, zsmltot2, ztmlres2, zsmlres2, ztmlatf2, zsmlatf2, ztmltrdm2, zsmltrdm2343 REAL(wp), POINTER, DIMENSION(:,:,:) :: ztmltrd2, zsmltrd2 ! only needed for mean diagnostics336 REAL(wp), DIMENSION(jpi,jpj ) :: ztmltot , zsmltot , ztmlres , zsmlres , ztmlatf , zsmlatf 337 REAL(wp), DIMENSION(jpi,jpj ) :: ztmltot2, zsmltot2, ztmlres2, zsmlres2, ztmlatf2, zsmlatf2, ztmltrdm2, zsmltrdm2 338 REAL(wp), DIMENSION(jpi,jpj,jpk) :: ztmltrd2, zsmltrd2 ! only needed for mean diagnostics 344 339 !!---------------------------------------------------------------------- 345 340 346 CALL wrk_alloc( jpi, jpj, ztmltot , zsmltot , ztmlres , zsmlres , ztmlatf , zsmlatf )347 CALL wrk_alloc( jpi, jpj, ztmltot2, zsmltot2, ztmlres2, zsmlres2, ztmlatf2, zsmlatf2, ztmltrdm2, zsmltrdm2 )348 CALL wrk_alloc( jpi, jpj, jpltrd, ztmltrd2, zsmltrd2 )349 350 341 ! ====================================================================== 351 342 ! II. Cumulate the trends over the analysis window … … 719 710 IF( lrst_oce ) CALL trd_mxl_rst_write( kt ) 720 711 721 CALL wrk_dealloc( jpi, jpj, ztmltot , zsmltot , ztmlres , zsmlres , ztmlatf , zsmlatf )722 CALL wrk_dealloc( jpi, jpj, ztmltot2, zsmltot2, ztmlres2, zsmlres2, ztmlatf2, zsmlatf2, ztmltrdm2, zsmltrdm2 )723 CALL wrk_dealloc( jpi, jpj, jpltrd, ztmltrd2, zsmltrd2 )724 712 ! 725 713 END SUBROUTINE trd_mxl
Note: See TracChangeset
for help on using the changeset viewer.