- Timestamp:
- 2017-04-13T16:21:08+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/LIM_SRC_2/limthd_2.F90
r7646 r7910 31 31 USE lbclnk ! 32 32 USE lib_mpp ! 33 USE wrk_nemo ! work arrays34 33 USE iom ! IOM library 35 34 USE prtctl ! Print control … … 94 93 REAL(wp) :: zrhoij, zrhoijm1 ! temporary scalars 95 94 REAL(wp) :: zztmp ! temporary scalars within a loop 96 REAL(wp), POINTER, DIMENSION(:,:) :: ztmp ! 2D workspace97 REAL(wp), POINTER, DIMENSION(:,:) :: zqlbsbq ! link with lead energy budget qldif98 REAL(wp), POINTER, DIMENSION(:,:) :: zlicegr ! link with lateral ice growth95 REAL(wp), DIMENSION(jpi,jpj) :: ztmp ! 2D workspace 96 REAL(wp), DIMENSION(jpi,jpj) :: zqlbsbq ! link with lead energy budget qldif 97 REAL(wp), DIMENSION(jpi,jpj) :: zlicegr ! link with lateral ice growth 99 98 !!$ REAL(wp), DIMENSION(:,:) :: firic ! IR flux over the ice (outputs only) 100 99 !!$ REAL(wp), DIMENSION(:,:) :: fcsic ! Sensible heat flux over the ice (outputs only) 101 100 !!$ REAL(wp), DIMENSION(:,:) :: fleic ! Latent heat flux over the ice (outputs only) 102 101 !!$ REAL(wp), DIMENSION(:,:) :: qlatic ! latent flux (outputs only) 103 REAL(wp), POINTER, DIMENSION(:,:) :: zdvosif ! Variation of volume at surface (outputs only)104 REAL(wp), POINTER, DIMENSION(:,:) :: zdvobif ! Variation of ice volume at the bottom ice (outputs only)105 REAL(wp), POINTER, DIMENSION(:,:) :: zdvolif ! Total variation of ice volume (outputs only)106 REAL(wp), POINTER, DIMENSION(:,:) :: zdvonif ! Surface accretion Snow to Ice transformation (outputs only)107 REAL(wp), POINTER, DIMENSION(:,:) :: zdvomif ! Bottom variation of ice volume due to melting (outputs only)108 REAL(wp), POINTER, DIMENSION(:,:) :: zu_imasstr ! Sea-ice transport along i-axis at U-point (outputs only)109 REAL(wp), POINTER, DIMENSION(:,:) :: zv_imasstr ! Sea-ice transport along j-axis at V-point (outputs only)110 REAL(wp), POINTER, DIMENSION(:,:,:) :: zmsk ! 3D workspace102 REAL(wp), DIMENSION(jpi,jpj) :: zdvosif ! Variation of volume at surface (outputs only) 103 REAL(wp), DIMENSION(jpi,jpj) :: zdvobif ! Variation of ice volume at the bottom ice (outputs only) 104 REAL(wp), DIMENSION(jpi,jpj) :: zdvolif ! Total variation of ice volume (outputs only) 105 REAL(wp), DIMENSION(jpi,jpj) :: zdvonif ! Surface accretion Snow to Ice transformation (outputs only) 106 REAL(wp), DIMENSION(jpi,jpj) :: zdvomif ! Bottom variation of ice volume due to melting (outputs only) 107 REAL(wp), DIMENSION(jpi,jpj) :: zu_imasstr ! Sea-ice transport along i-axis at U-point (outputs only) 108 REAL(wp), DIMENSION(jpi,jpj) :: zv_imasstr ! Sea-ice transport along j-axis at V-point (outputs only) 109 REAL(wp), DIMENSION(jpi,jpj,jpk) :: zmsk ! 3D workspace 111 110 !!------------------------------------------------------------------- 112 111 113 CALL wrk_alloc( jpi, jpj, ztmp, zqlbsbq, zlicegr, zdvosif, zdvobif, zdvolif, zdvonif, zdvomif, zu_imasstr, zv_imasstr )114 CALL wrk_alloc( jpi, jpj, jpk, zmsk )115 112 116 113 IF( kt == nit000 ) CALL lim_thd_init_2 ! Initialization (first time-step only) … … 522 519 ENDIF 523 520 ! 524 CALL wrk_dealloc( jpi, jpj, ztmp, zqlbsbq, zlicegr, zdvosif, zdvobif, zdvolif, zdvonif, zdvomif, zu_imasstr, zv_imasstr )525 CALL wrk_dealloc( jpi, jpj, jpk, zmsk )526 521 ! 527 522 END SUBROUTINE lim_thd_2
Note: See TracChangeset
for help on using the changeset viewer.