Changeset 11180 for NEMO/branches/UKMO/NEMO_4.0_surge/src/OCE/step.F90
- Timestamp:
- 2019-06-25T18:50:27+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0_surge/src/OCE/step.F90
r10888 r11180 125 125 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 126 126 ! THERMODYNAMICS 127 IF ( .NOT. ln_2d ) THEN 127 128 CALL eos_rab( tsb, rab_b ) ! before local thermal/haline expension ratio at T-points 128 129 CALL eos_rab( tsn, rab_n ) ! now local thermal/haline expension ratio at T-points 129 130 CALL bn2 ( tsb, rab_b, rn2b ) ! before Brunt-Vaisala frequency 130 131 CALL bn2 ( tsn, rab_n, rn2 ) ! now Brunt-Vaisala frequency 131 132 ENDIF 133 132 134 ! VERTICAL PHYSICS 133 135 CALL zdf_phy( kstp ) ! vertical physics update (top/bot drag, avt, avs, avm + MLD) … … 163 165 CALL wzv ( kstp ) ! now cross-level velocity 164 166 IF( ln_zad_Aimp ) CALL wAimp ( kstp ) ! Adaptive-implicit vertical advection partitioning 165 167 IF( .NOT. ln_2d ) CALL eos ( tsn, rhd, rhop, gdept_n(:,:,:) ) ! now in situ density for hpg computation 166 168 167 169 !!jc: fs simplification … … 202 204 ENDIF 203 205 204 206 IF( .NOT. ln_2d ) CALL dyn_zdf ( kstp ) ! vertical diffusion 205 207 206 208 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 232 234 ! Active tracers 233 235 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 236 IF (.NOT. ln_2d) THEN ! No tracers in 2D mode 234 237 tsa(:,:,:,:) = 0._wp ! set tracer trends to zero 235 238 … … 257 260 CALL tra_zdf ( kstp ) ! vertical mixing and after tracer fields 258 261 IF( ln_zdfnpc ) CALL tra_npc ( kstp ) ! update after fields by non-penetrative convection 259 262 ENDIF ! not ln_2d 263 260 264 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 261 265 ! Set boundary conditions and Swap … … 275 279 !! 276 280 !!jc2: dynnxt must be the latest call. e3t_b are indeed updated in that routine 277 281 IF (.NOT. ln_2d) CALL tra_nxt ( kstp ) ! finalize (bcs) tracer fields at next time step and swap 278 282 CALL dyn_nxt ( kstp ) ! finalize (bcs) velocities at next time step and swap (always called after tra_nxt) 279 283 CALL ssh_swp ( kstp ) ! swap of sea surface height
Note: See TracChangeset
for help on using the changeset viewer.