Changeset 2115
- Timestamp:
- 2010-09-23T18:52:39+02:00 (13 years ago)
- Location:
- branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/TRP/trcsbc.F90
r2052 r2115 82 82 #if ! defined key_offline 83 83 ! Concentration dilution effect on tracer due to evaporation, precipitation, and river runoff 84 IF( lk_vvl ) THEN ; zemps(:,:) = emps(:,:) - emp(:,:) ! volume variable 85 ELSE ; zemps(:,:) = emps(:,:) - rnf(:,:) ! linear free surface 84 IF( lk_vvl ) THEN ! volume variable 85 zemps(:,:) = emps(:,:) - emp(:,:) 86 ELSE ! linear free surface 87 IF( ln_rnf ) THEN ; zemps(:,:) = emps(:,:) - rnf(:,:) ! E-P-R 88 ELSE ; zemps(:,:) = emps(:,:) 89 ENDIF 86 90 ENDIF 87 91 #else … … 91 95 ENDIF 92 96 #endif 97 93 98 ! 0. initialization 94 99 zsrau = 1. / rau0 95 #if defined key_zco96 zse3t = 1. / e3t_0(1)97 #endif98 99 100 DO jn = 1, jptra 100 101 ! 101 102 IF( l_trdtrc ) ztrtrd(:,:,:) = tra(:,:,:,jn) ! save trends 102 103 ! ! add the trend to the general tracer trend 103 104 DO jj = 2, jpj 104 105 DO ji = fs_2, fs_jpim1 ! vector opt. 105 #if ! defined key_zco106 106 zse3t = 1. / fse3t(ji,jj,1) 107 #endif 108 ! add the trend to the general tracer trend 109 ztra = zemps(ji,jj) * zsrau * trn(ji,jj,1,jn) * zse3t 110 tra(ji,jj,1,jn) = tra(ji,jj,1,jn) + ztra 107 tra(ji,jj,1,jn) = tra(ji,jj,1,jn) + zemps(ji,jj) * zsrau * trn(ji,jj,1,jn) * zse3t 111 108 END DO 112 109 END DO -
branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/oce_trc.F90
r2104 r2115 201 201 USE sbc_oce , ONLY : emps => emps !: freshwater budget: concentration/dillution [Kg/m2/s] 202 202 USE sbc_oce , ONLY : rnf => rnf !: river runoff [Kg/m2/s] 203 USE sbc_oce , ONLY : ln_rnf => ln_rnf !: runoffs / runoff mouths 203 204 USE sbc_oce , ONLY : fr_i => fr_i !: ice fraction (between 0 to 1) 204 205 USE traqsr , ONLY : rn_abs => rn_abs !: fraction absorbed in the very near surface
Note: See TracChangeset
for help on using the changeset viewer.