- Timestamp:
- 2017-12-01T05:41:32+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/ROMS_WAD_7832/NEMOGCM/NEMO/OPA_SRC/TRA/trasbc.F90
r7788 r8865 34 34 USE wrk_nemo ! Memory Allocation 35 35 USE timing ! Timing 36 USE wet_dry 36 37 37 38 IMPLICIT NONE … … 122 123 DO jj = 2, jpj 123 124 DO ji = fs_2, fs_jpim1 ! vector opt. 124 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) ! non solar heat flux 125 IF ( ln_rwd_rmp ) THEN ! If near WAD point limite the flux for now 126 IF ( sshn(ji,jj) + ht_0(ji,jj) > 2._wp * rn_wdmin1 ) THEN 127 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) ! non solar heat flux 128 ELSE IF ( sshn(ji,jj) + ht_0(ji,jj) > rn_wdmin1 ) THEN 129 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) * (tanh(5._wp*( ( sshn(ji,jj) + ht_0(ji,jj) - rn_wdmin1 )/rn_wdmin1)) ) 130 ELSE 131 sbc_tsc(ji,jj,jp_tem) = 0._wp 132 ENDIF 133 ELSE 134 sbc_tsc(ji,jj,jp_tem) = r1_rau0_rcp * qns(ji,jj) ! non solar heat flux 135 ENDIF 136 125 137 sbc_tsc(ji,jj,jp_sal) = r1_rau0 * sfx(ji,jj) ! salt flux due to freezing/melting 126 138 END DO
Note: See TracChangeset
for help on using the changeset viewer.