- Timestamp:
- 2019-12-11T12:02:38+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/src/OCE/step.F90
r11142 r12178 101 101 IF( kstp == nit000 ) THEN ! initialize IOM context (must be done after nemo_init for AGRIF+XIOS+OASIS) 102 102 CALL iom_init( cxios_context ) ! for model grid (including passible AGRIF zoom) 103 IF( ln_crs ) CALL iom_init( TRIM(cxios_context)//"_crs" ) ! for coarse grid 104 CALL dia_hth_init ! extra ML depth diagnostics, thermocline depths 103 IF( ln_crs ) CALL iom_init( TRIM(cxios_context)//"_crs" ) ! for coarse grid 105 104 ENDIF 106 105 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) … … 113 112 IF( ln_tide ) CALL sbc_tide( kstp ) ! update tide potential 114 113 IF( ln_apr_dyn ) CALL sbc_apr ( kstp ) ! atmospheric pressure (NB: call before bdy_dta which needs ssh_ib) 115 IF( ln_bdy ) CALL bdy_dta ( kstp, time_offset=+1 ) ! update dynamic & tracer data at open boundaries114 IF( ln_bdy ) CALL bdy_dta ( kstp, kt_offset = +1 ) ! update dynamic & tracer data at open boundaries 116 115 CALL sbc ( kstp ) ! Sea Boundary Condition (including sea-ice) 117 116 … … 166 165 CALL eos ( tsn, rhd, rhop, gdept_n(:,:,:) ) ! now in situ density for hpg computation 167 166 168 !!jc: fs simplification169 !!jc: lines below are useless if ln_linssh=F. Keep them here (which maintains a bug if ln_linssh=T and ln_zps=T, cf ticket #1636)170 !! but ensures reproductible results171 !! with previous versions using split-explicit free surface172 IF( ln_zps .AND. .NOT. ln_isfcav ) &173 & CALL zps_hde ( kstp, jpts, tsn, gtsu, gtsv, & ! Partial steps: before horizontal gradient174 & rhd, gru , grv ) ! of t, s, rd at the last ocean level175 IF( ln_zps .AND. ln_isfcav ) &176 & CALL zps_hde_isf( kstp, jpts, tsn, gtsu, gtsv, gtui, gtvi, & ! Partial steps for top cell (ISF)177 & rhd, gru , grv , grui, grvi ) ! of t, s, rd at the first ocean level178 !!jc: fs simplification179 167 180 168 ua(:,:,:) = 0._wp ! set dynamics trends to zero … … 199 187 CALL div_hor ( kstp ) ! Horizontal divergence (2nd call in time-split case) 200 188 IF(.NOT.ln_linssh) CALL dom_vvl_sf_nxt( kstp, kcall=2 ) ! after vertical scale factors (update depth average component) 189 ENDIF 190 CALL dyn_zdf ( kstp ) ! vertical diffusion 191 192 IF( ln_dynspg_ts ) THEN 201 193 CALL wzv ( kstp ) ! now cross-level velocity 202 194 IF( ln_zad_Aimp ) CALL wAimp ( kstp ) ! Adaptive-implicit vertical advection partitioning 203 195 ENDIF 204 205 CALL dyn_zdf ( kstp ) ! vertical diffusion206 196 207 197 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 213 203 ! diagnostics and outputs 214 204 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 215 IF( l k_floats ) CALL flo_stp( kstp )! drifting Floats216 IF( ln_diacfl ) CALL dia_cfl ( kstp )! Courant number diagnostics217 IF( l l_diahth ) CALL dia_hth( kstp )! Thermocline depth (20 degres isotherm depth)218 IF( l k_diadct ) CALL dia_dct( kstp )! Transports219 CALL dia_ar5 ( kstp )! ar5 diag220 IF( l k_diaharm ) CALL dia_harm( kstp ) ! Tidal harmonic analysis205 IF( ln_floats ) CALL flo_stp ( kstp ) ! drifting Floats 206 IF( ln_diacfl ) CALL dia_cfl ( kstp ) ! Courant number diagnostics 207 IF( lk_diahth ) CALL dia_hth ( kstp ) ! Thermocline depth (20 degres isotherm depth) 208 IF( ln_diadct ) CALL dia_dct ( kstp ) ! Transports 209 CALL dia_ar5 ( kstp ) ! ar5 diag 210 IF( ln_diaharm ) CALL dia_harm( kstp ) ! Tidal harmonic analysis 221 211 CALL dia_wri ( kstp ) ! ocean model: outputs 222 212 !
Note: See TracChangeset
for help on using the changeset viewer.