Changeset 10499 for NEMO/trunk/src/OCE/TRA
- Timestamp:
- 2019-01-10T16:12:24+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/TRA/trasbc.F90
r10068 r10499 27 27 USE trd_oce ! trends: ocean variables 28 28 USE trdtra ! trends manager: tracers 29 USE wet_dry, ONLY : ll_wd, rn_wdmin1, r_rn_wdmin1 ! Wetting and drying30 29 #if defined key_asminc 31 30 USE asminc ! Assimilation increment … … 125 124 DO jj = 2, jpj 126 125 DO ji = fs_2, fs_jpim1 ! vector opt. 127 IF ( ll_wd ) THEN ! If near WAD point limit the flux for now 128 IF ( sshn(ji,jj) + ht_0(ji,jj) > 2._wp * rn_wdmin1 ) THEN 129 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) ! non solar heat flux 130 ELSE IF ( sshn(ji,jj) + ht_0(ji,jj) > rn_wdmin1 ) THEN 131 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) & 132 & * tanh ( 5._wp * ( ( sshn(ji,jj) + ht_0(ji,jj) - rn_wdmin1 ) * r_rn_wdmin1 ) ) 133 ELSE 134 sbc_tsc(ji,jj,jp_tem) = 0._wp 135 ENDIF 136 ELSE 137 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) ! non solar heat flux 138 ENDIF 139 126 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) ! non solar heat flux 140 127 sbc_tsc(ji,jj,jp_sal) = r1_rau0 * sfx(ji,jj) ! salt flux due to freezing/melting 141 128 END DO
Note: See TracChangeset
for help on using the changeset viewer.