- Timestamp:
- 2019-11-19T18:30:57+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isfcav.F90
r11852 r11931 23 23 ! 24 24 USE oce , ONLY: tsn ! ocean tracers 25 USE dom_oce , ONLY: jpi,jpj ! ocean space and time domain25 USE par_oce , ONLY: jpi,jpj ! ocean space and time domain 26 26 USE phycst , ONLY: grav,rau0,r1_rau0_rcp ! physical constants 27 27 USE eosbn2 , ONLY: l_useCT ! l_useCT … … 90 90 DO WHILE ( lit ) ! maybe just a constant number of iteration as in blk_core is fine 91 91 ! 92 ! compute gammat every 92 ! compute gammat everywhere (2d) 93 93 ! useless if melt specified 94 94 IF ( TRIM(cn_isfcav_mlt) .NE. 'spe' ) THEN … … 101 101 & zqhc , zqoce, pqfwf ) 102 102 ! 103 ! define if we need to iterate (nn_gammablk 0/1 do not need iteration)103 ! define if we need to iterate 104 104 SELECT CASE ( cn_gammablk ) 105 105 CASE ( 'spe','ad15' ) … … 123 123 END DO 124 124 ! 125 ! compute heat and water flux (change signe directly in the melt subroutine)125 ! compute heat and water flux ( > 0 out ) 126 126 pqfwf(:,:) = pqfwf(:,:) * mskisf_cav(:,:) 127 127 zqoce(:,:) = zqoce(:,:) * mskisf_cav(:,:) 128 128 zqhc (:,:) = zqhc(:,:) * mskisf_cav(:,:) 129 129 ! 130 ! compute heat content flux 131 zqlat(:,:) = - pqfwf(:,:) * rLfusisf ! 2d latent heat flux (W/m2) ( > 0 out )130 ! compute heat content flux ( > 0 out ) 131 zqlat(:,:) = - pqfwf(:,:) * rLfusisf ! 2d latent heat flux (W/m2) 132 132 ! 133 133 ! total heat flux ( >0 out ) … … 163 163 INTEGER :: ierr 164 164 !!--------------------------------------------------------------------- 165 165 ! 166 !============== 166 167 ! 0: allocation 168 !============== 167 169 ! 168 170 CALL isf_alloc_cav() 169 171 ! 172 !================== 170 173 ! 1: initialisation 174 !================== 171 175 ! 172 176 ! top and bottom level of the 'top boundary layer' … … 179 183 mskisf_cav(:,:) = (1._wp - tmask(:,:,1)) * ssmask(:,:) 180 184 ! 185 !================ 181 186 ! 2: read restart 187 !================ 182 188 ! 183 189 ! read cav variable from restart 184 190 IF ( ln_rstart ) CALL isfrst_read('cav', risf_cav_tsc, fwfisf_cav, risf_cav_tsc_b, fwfisf_cav_b) 185 191 ! 192 !========================================== 186 193 ! 3: specific allocation and initialisation (depending of scheme choice) 194 !========================================== 187 195 ! 188 196 SELECT CASE ( TRIM(cn_isfcav_mlt) )
Note: See TracChangeset
for help on using the changeset viewer.