Changeset 5965 for branches/2014/dev_r4650_UKMO14.5_SST_BIAS_CORRECTION/NEMOGCM/NEMO/OPA_SRC/DYN/divcur.F90
- Timestamp:
- 2015-12-01T16:35:30+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4650_UKMO14.5_SST_BIAS_CORRECTION/NEMOGCM/NEMO/OPA_SRC/DYN/divcur.F90
r4147 r5965 17 17 !! 3.3 ! 2010-09 (D.Storkey and E.O'Dea) bug fixes for BDY module 18 18 !! - ! 2010-10 (R. Furner, G. Madec) runoff and cla added directly here 19 !! 3.6 ! 2014-11 (P. Mathiot) isf added directly here 19 20 !!---------------------------------------------------------------------- 20 21 … … 25 26 USE oce ! ocean dynamics and tracers 26 27 USE dom_oce ! ocean space and time domain 27 USE sbc_oce, ONLY : ln_rnf 28 USE sbc_oce, ONLY : ln_rnf, nn_isf ! surface boundary condition: ocean 28 29 USE sbcrnf ! river runoff 30 USE sbcisf ! ice shelf 29 31 USE cla ! cross land advection (cla_div routine) 30 32 USE in_out_manager ! I/O manager … … 66 68 !! - compute the now divergence given by : 67 69 !! hdivn = 1/(e1t*e2t*e3t) ( di[e2u*e3u un] + dj[e1v*e3v vn] ) 68 !! correct hdiv with runoff inflow (div_rnf) and cross land flow (div_cla) 70 !! correct hdiv with runoff inflow (div_rnf), ice shelf melting (div_isf) 71 !! and cross land flow (div_cla) 69 72 !! II. vorticity : 70 73 !! - save the curl computed at the previous time-step … … 95 98 ! 96 99 CALL wrk_alloc( jpi , jpj+2, zwu ) 97 CALL wrk_alloc( jpi+4, jpj , zwv, k jstart = -1 )100 CALL wrk_alloc( jpi+4, jpj , zwv, kistart = -1 ) 98 101 ! 99 102 IF( kt == nit000 ) THEN … … 225 228 ! ! =============== 226 229 227 IF( ln_rnf ) CALL sbc_rnf_div( hdivn ) ! runoffs (update hdivn field) 228 IF( nn_cla == 1 .AND. cp_cfg == 'orca' .AND. jp_cfg == 2 ) CALL cla_div ( kt ) ! Cross Land Advection (Update Hor. divergence) 230 IF( ln_rnf ) CALL sbc_rnf_div( hdivn ) ! runoffs (update hdivn field) 231 IF( ln_divisf .AND. (nn_isf /= 0) ) CALL sbc_isf_div( hdivn ) ! ice shelf (update hdivn field) 232 IF( nn_cla == 1 ) CALL cla_div ( kt ) ! Cross Land Advection (Update Hor. divergence) 229 233 230 234 ! 4. Lateral boundary conditions on hdivn and rotn … … 233 237 ! 234 238 CALL wrk_dealloc( jpi , jpj+2, zwu ) 235 CALL wrk_dealloc( jpi+4, jpj , zwv, k jstart = -1 )239 CALL wrk_dealloc( jpi+4, jpj , zwv, kistart = -1 ) 236 240 ! 237 241 IF( nn_timing == 1 ) CALL timing_stop('div_cur') … … 323 327 ! ! =============== 324 328 325 IF( ln_rnf ) CALL sbc_rnf_div( hdivn ) ! runoffs (update hdivn field) 329 IF( ln_rnf ) CALL sbc_rnf_div( hdivn ) ! runoffs (update hdivn field) 330 IF( ln_divisf .AND. (nn_isf .GT. 0) ) CALL sbc_isf_div( hdivn ) ! ice shelf (update hdivn field) 326 331 IF( nn_cla == 1 ) CALL cla_div ( kt ) ! Cross Land Advection (update hdivn field) 327 332 !
Note: See TracChangeset
for help on using the changeset viewer.