Changeset 15446
- Timestamp:
- 2021-10-26T16:34:38+02:00 (2 years ago)
- Location:
- NEMO/trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OFF/nemogcm.F90
r15267 r15446 122 122 ! 123 123 DO WHILE ( istp <= nitend .AND. nstop == 0 ) !== OFF time-stepping ==! 124 125 124 IF( ln_timing ) THEN 126 125 zstptiming = MPI_Wtime() … … 152 151 Naa = Nrhs 153 152 ! 154 # if ! defined key_qco153 # if ! defined key_qco 155 154 IF( .NOT.ln_linssh ) CALL dta_dyn_sf_interp( istp, Nnn ) ! calculate now grid parameters 156 # endif155 # endif 157 156 158 157 #else 159 158 CALL dta_dyn_sed( istp, Nnn ) ! Interpolation of the dynamical fields 160 159 CALL trc_stp ( istp, Nbb, Nnn, Nrhs, Naa ) ! time-stepping 160 ! Swap time levels 161 Nnn = Nbb 162 Naa = Nbb 161 163 #endif 162 164 CALL stp_ctl ( istp ) ! Time loop: control and print -
NEMO/trunk/src/TOP/trcais.F90
r15090 r15446 70 70 ENDIF 71 71 ! 72 IF (.NOT. ln_rnf_icb) THEN72 IF( .NOT. ln_rnf_icb ) THEN 73 73 CALL ctl_stop( 'trc_ais_ini: no iceberg freswater flux in runoff file' ) ; RETURN 74 74 ENDIF -
NEMO/trunk/src/TOP/trcbc.F90
r14215 r15446 439 439 IF( l_offline ) rn_rfact = 1._wp 440 440 jl = n_trc_indcbc(jn) 441 sf_trccbc(jl)%fnow(:,:,1) = MAX( rtrn, sf_trccbc(jl)%fnow(:,:,1) ) ! avoid nedgative value due to interpolation 441 442 DO_2D( 0, 0, 0, 1 ) 442 443 DO jk = 1, nk_rnf(ji,jj) 443 zfact = rn_rfact / ( e1e2t(ji,jj) * h_rnf(ji,jj) * rn_cbc_time ) * tmask(ji,jj,1)444 zfact = rn_rfact / ( e1e2t(ji,jj) * h_rnf(ji,jj) * rn_cbc_time ) 444 445 ptr(ji,jj,jk,jn,Krhs) = ptr(ji,jj,jk,jn,Krhs) + rf_trcfac(jl) * sf_trccbc(jl)%fnow(ji,jj,1) * zfact 445 446 END DO -
NEMO/trunk/src/TOP/trcdta.F90
r14834 r15446 189 189 ptrcdta(:,:,:) = sf_trcdta(kjl)%fnow(:,:,:) * tmask(:,:,:) 190 190 ! 191 #if ! defined key_sed_off 191 192 IF( ln_sco ) THEN !== s- or mixed s-zps-coordinate ==! 192 193 ! … … 220 221 ! zps-coordinate (partial steps) interpolation at the last ocean level 221 222 IF( ln_zps ) THEN 222 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 223 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 223 224 ik = mbkt(ji,jj) 224 IF( ik > 1 ) THEN225 IF( ik > 1 .AND. gdept_0(ji,jj,ik) < gdept_1d(ik) ) THEN 225 226 zl = ( gdept_1d(ik) - gdept_0(ji,jj,ik) ) / ( gdept_1d(ik) - gdept_1d(ik-1) ) 226 227 ptrcdta(ji,jj,ik) = (1.-zl) * ptrcdta(ji,jj,ik) + zl * ptrcdta(ji,jj,ik-1) … … 235 236 ! 236 237 ENDIF 238 #endif 237 239 ! Scale by multiplicative factor 238 240 ptrcdta(:,:,:) = ptrcdta(:,:,:) * rf_trfac(kjl) -
NEMO/trunk/src/TOP/trcini.F90
r14227 r15446 244 244 ! 245 245 IF( ln_trcdta ) CALL trc_dta_ini( jptra ) ! set initial tracers values 246 !247 IF( ln_trcbc .AND. lltrcbc ) THEN248 CALL trc_bc_ini ( jptra, Kmm ) ! set tracers Boundary Conditions249 CALL trc_bc ( nit000, Kmm, tr, Kaa ) ! tracers: surface and lateral Boundary Conditions250 ENDIF251 !252 IF( ln_trcais ) CALL trc_ais_ini ! set tracers from Antarctic Ice Sheet253 246 ! 254 247 IF( ln_rsttr ) THEN ! restart from a file … … 273 266 ! 274 267 tr(:,:,:,:,Kaa) = 0._wp 268 ! 269 IF( ln_trcbc .AND. lltrcbc ) THEN 270 CALL trc_bc_ini ( jptra, Kmm ) ! set tracers Boundary Conditions 271 CALL trc_bc ( nit000, Kmm, tr, Kaa ) ! tracers: surface and lateral Boundary Conditions 272 ENDIF 273 ! 274 IF( ln_trcais ) CALL trc_ais_ini ! set tracers from Antarctic Ice Sheet 275 275 ! ! Partial top/bottom cell: GRADh(tr(Kmm)) 276 276 END SUBROUTINE trc_ini_state -
NEMO/trunk/src/TOP/trcstp.F90
r14086 r15446 102 102 CALL trc_wri ( kt, Kmm ) ! output of passive tracers with iom I/O manager 103 103 CALL trc_sms ( kt, Kbb, Kmm, Krhs ) ! tracers: sinks and sources 104 #if ! defined key_sed_off 104 105 CALL trc_trp ( kt, Kbb, Kmm, Krhs, Kaa ) ! transport of passive tracers 106 #endif 105 107 ! 106 108 ! Note passive tracers have been time-filtered in trc_trp but the time level
Note: See TracChangeset
for help on using the changeset viewer.