Changeset 1494 for trunk/NEMO
- Timestamp:
- 2009-07-20T11:27:56+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/SBC/sbcssr.F90
r1482 r1494 164 164 ! 165 165 IF( nn_sssr == 1 ) THEN ! Salinity damping term (salt flux, emps only) 166 zsrp = deds / rday ! from [mm/day] to [kg/m2/s] 166 167 !CDIR COLLAPSE 167 168 ! use zerp scalar to optimize memory access (speedup the loop) 168 169 DO jj = 1, jpj 169 170 DO ji = 1, jpi 170 zsrp = deds / rday ! from [mm/day] to [kg/m2/s]171 171 zerp = zsrp * ( 1. - 2.*rnfmsk(ji,jj) ) & ! No damping in vicinity of river mouths 172 172 & * ( sss_m(ji,jj) - sf_sss(1)%fnow(ji,jj) ) & … … 178 178 CALL iom_put( "erp", erp ) ! freshwater flux damping 179 179 ELSEIF( nn_sssr == 2 ) THEN ! Salinity damping term (volume flux, emp and emps) 180 zsrp = deds / rday ! from [mm/day] to [kg/m2/s] 180 181 !CDIR COLLAPSE 181 182 ! use zerp scalar to optimize memory access (speedup the loop) 182 183 DO jj = 1, jpj 183 184 DO ji = 1, jpi 184 zsrp = deds / rday ! from [mm/day] to [kg/m2/s]185 185 zerp = zsrp * ( 1. - 2.*rnfmsk(ji,jj) ) & ! No damping in vicinity of river mouths 186 186 & * ( sss_m(ji,jj) - sf_sss(1)%fnow(ji,jj) ) &
Note: See TracChangeset
for help on using the changeset viewer.