- Timestamp:
- 2010-08-13T11:15:17+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r2006_merge_TRA_TRC/NEMO/OPA_SRC/TRA/traadv_cen2.F90
r2034 r2052 20 20 !! area (set for orca 2 and 4 only) 21 21 !!---------------------------------------------------------------------- 22 USE oce, ONLY: t sn ! now ocean temperature and salinity22 USE oce, ONLY: tn, sn ! now ocean temperature and salinity 23 23 USE dom_oce ! ocean space and time domain 24 24 USE eosbn2 ! equation of state … … 159 159 !!gm not strickly exact : the freezing point should be computed at each ocean levels... 160 160 !!gm not a big deal since cen2 is no more used in global ice-ocean simulations 161 ztfreez(:,:) = tfreez( tsn(:,:,1,jp_sal) )161 ztfreez(:,:) = tfreez( sn(:,:,1) ) 162 162 DO jk = 1, jpk 163 163 DO jj = 1, jpj 164 164 DO ji = 1, jpi 165 165 ! ! below ice covered area (if tn < "freezing"+0.1 ) 166 IF( t sn(ji,jj,jk,jp_tem) <= ztfreez(ji,jj) + 0.1 ) THEN ; zice = 1.e0166 IF( tn(ji,jj,jk) <= ztfreez(ji,jj) + 0.1 ) THEN ; zice = 1.e0 167 167 ELSE ; zice = 0.e0 168 168 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.