Changeset 1559 for trunk/NEMO/LIM_SRC_2
- Timestamp:
- 2009-07-29T16:03:14+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/LIM_SRC_2/limthd_2.F90
r1482 r1559 4 4 !! LIM thermo ice model : ice thermodynamic 5 5 !!====================================================================== 6 !! History : 1.0 ! 7 !! 2.0 ! 8 !! 2.0 ! 9 !! - ! 6 !! History : 1.0 ! 2000-01 (LIM) 7 !! 2.0 ! 2002-07 (C. Ethe, G. Madec) F90 8 !! 2.0 ! 2003-08 (C. Ethe) add lim_thd_init 9 !! - ! 2008-2008 (A. Caubel, G. Madec, E. Maisonnave, S. Masson ) generic coupled interface 10 10 !!--------------------------------------------------------------------- 11 11 #if defined key_lim2 … … 47 47 # include "vectopt_loop_substitute.h90" 48 48 !!-------- ------------------------------------------------------------- 49 !! NEMO/LIM 2.0, UCL-LOCEAN-IPSL (2008)49 !! NEMO/LIM 3.2, UCL-LOCEAN-IPSL (2009) 50 50 !! $Id$ 51 51 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) … … 82 82 REAL(wp) :: zinda ! switch for test. the val. of concen. 83 83 REAL(wp) :: zindb, zindg ! switches for test. the val of arg 84 REAL(wp) :: zfricp ! temporary scalar 84 85 REAL(wp) :: za , zh, zthsnice ! 85 86 REAL(wp) :: zfric_u ! friction velocity … … 87 88 REAL(wp) :: zfontn ! heat flux from snow thickness 88 89 REAL(wp) :: zfntlat, zpareff ! test. the val. of lead heat budget 89 REAL(wp) :: zfi ! temporary scalar 90 REAL(wp), DIMENSION(jpi,jpj) :: ztmp ! working array 90 REAL(wp), DIMENSION(jpi,jpj) :: ztmp ! 2D workspace 91 91 REAL(wp), DIMENSION(jpi,jpj) :: zqlbsbq ! link with lead energy budget qldif 92 REAL(wp), DIMENSION(jpi,jpj,jpk) :: zmsk ! working array92 REAL(wp), DIMENSION(jpi,jpj,jpk) :: zmsk ! 3D workspace 93 93 !!------------------------------------------------------------------- 94 94 … … 179 179 zindb = tms(ji,jj) * ( 1.0 - MAX( rzero , SIGN( rone , - zthsnice ) ) ) 180 180 pfrld(ji,jj) = frld(ji,jj) 181 zinda = 1.0 - MAX( rzero , SIGN( rone , - ( 1.0 - pfrld(ji,jj) ) ) ) 181 zfricp = 1.0 - frld(ji,jj) 182 zinda = 1.0 - MAX( rzero , SIGN( rone , - zfricp ) ) 182 183 183 184 ! solar irradiance transmission at the mixed layer bottom and used in the lead heat budget … … 192 193 ! partial computation of the lead energy budget (qldif) 193 194 #if defined key_coupled 194 zfi = 1.0 - pfrld(ji,jj)195 195 qldif(ji,jj) = tms(ji,jj) * rdt_ice & 196 & * ( ( qsr_tot(ji,jj) - qsr_ice(ji,jj,1) * zf i) * ( 1.0 - thcm(ji,jj) ) &197 & + ( qns_tot(ji,jj) - qns_ice(ji,jj,1) * zf i) &196 & * ( ( qsr_tot(ji,jj) - qsr_ice(ji,jj,1) * zfricp ) * ( 1.0 - thcm(ji,jj) ) & 197 & + ( qns_tot(ji,jj) - qns_ice(ji,jj,1) * zfricp ) & 198 198 & + frld(ji,jj) * ( fdtcn(ji,jj) + ( 1.0 - zindb ) * fsbbq(ji,jj) ) ) 199 199 #else
Note: See TracChangeset
for help on using the changeset viewer.