Changeset 2382 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/step.F90
- Timestamp:
- 2010-11-13T14:08:12+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/step.F90
r2370 r2382 32 32 USE trcstp ! passive tracer time-stepping (trc_stp routine) 33 33 #endif 34 #if defined key_agrif 35 USE agrif_opa_sponge ! Momemtum and tracers sponges 36 #endif 34 37 USE asminc ! assimilation increments (tra_asm_inc, dyn_asm_inc routines) 35 USE stpctl ! time stepping control (stp_ctl routine)36 USE restart ! ocean restart (rst_wri routine)37 USE prtctl ! Print control (prt_ctl routine)38 39 #if defined key_agrif40 USE agrif_opa_sponge ! Momemtum and tracers sponges41 #endif42 38 43 39 IMPLICIT NONE … … 116 112 ! VERTICAL PHYSICS 117 113 CALL zdf_bfr( kstp ) ! bottom friction 114 118 115 ! ! Vertical eddy viscosity and diffusivity coefficients 119 IF( lk_zdfric ) CALL zdf_ric ( kstp )! Richardson number dependent Kz120 IF( lk_zdftke ) CALL zdf_tke ( kstp )! TKE closure scheme for Kz121 IF( lk_zdfgls ) CALL zdf_gls ( kstp )! GLS closure scheme for Kz122 IF( lk_zdfkpp ) CALL zdf_kpp ( kstp )! KPP closure scheme for Kz123 IF( lk_zdfcst ) THEN! Constant Kz (reset avt, avm[uv] to the background value)116 IF( lk_zdfric ) CALL zdf_ric( kstp ) ! Richardson number dependent Kz 117 IF( lk_zdftke ) CALL zdf_tke( kstp ) ! TKE closure scheme for Kz 118 IF( lk_zdfgls ) CALL zdf_gls( kstp ) ! GLS closure scheme for Kz 119 IF( lk_zdfkpp ) CALL zdf_kpp( kstp ) ! KPP closure scheme for Kz 120 IF( lk_zdfcst ) THEN ! Constant Kz (reset avt, avm[uv] to the background value) 124 121 avt (:,:,:) = rn_avt0 * tmask(:,:,:) 125 122 avmu(:,:,:) = rn_avm0 * umask(:,:,:) … … 135 132 IF( lk_zdfddm .AND. .NOT. lk_zdfkpp ) & 136 133 & CALL zdf_ddm( kstp ) ! double diffusive mixing 134 137 135 CALL zdf_mxl( kstp ) ! mixed layer depth 138 136 139 ! write tkeinformation in the restart file137 ! write TKE or GLS information in the restart file 140 138 IF( lrst_oce .AND. lk_zdftke ) CALL tke_rst( kstp, 'WRITE' ) 141 ! write gls information in the restart file142 139 IF( lrst_oce .AND. lk_zdfgls ) CALL gls_rst( kstp, 'WRITE' ) 143 140 ! … … 156 153 #if defined key_traldf_c2d 157 154 IF( lk_traldf_eiv ) CALL ldf_eiv( kstp ) ! eddy induced velocity coefficient 158 # 155 #endif 159 156 160 157 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 179 176 ! Active tracers (ua, va used as workspace) 180 177 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 181 tsa(:,:,:,:) = 0.e0 178 tsa(:,:,:,:) = 0.e0 ! set tracer trends to zero 182 179 183 180 IF( ln_asmiau .AND. & … … 190 187 CALL tra_adv ( kstp ) ! horizontal & vertical advection 191 188 IF( n_cla == 1 ) CALL tra_cla ( kstp ) ! Cross Land Advection (Update Hor. advection) 192 IF( lk_zdfkpp )CALL tra_kpp ( kstp ) ! KPP non-local tracer fluxes189 IF( lk_zdfkpp ) CALL tra_kpp ( kstp ) ! KPP non-local tracer fluxes 193 190 CALL tra_ldf ( kstp ) ! lateral mixing 194 191 #if defined key_agrif … … 213 210 CALL tra_nxt ( kstp ) ! tracer fields at next time step 214 211 ENDIF 215 CALL tra_unswap 212 CALL tra_unswap ! udate T & S 3D arrays (to be suppressed) 216 213 217 214 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 222 219 223 220 IF( ln_asmiau .AND. & 224 & ln_dyninc ) CALL dyn_asm_inc( kstp )! apply dynamics assimilation increment221 & ln_dyninc ) CALL dyn_asm_inc( kstp ) ! apply dynamics assimilation increment 225 222 CALL dyn_adv( kstp ) ! advection (vector or flux form) 226 223 CALL dyn_vor( kstp ) ! vorticity term including Coriolis … … 230 227 #endif 231 228 CALL dyn_hpg( kstp ) ! horizontal gradient of Hydrostatic pressure 232 CALL dyn_bfr( kstp ) 229 CALL dyn_bfr( kstp ) ! bottom friction 233 230 CALL dyn_zdf( kstp ) ! vertical diffusion 234 231 CALL dyn_spg( kstp, indic ) ! surface pressure gradient
Note: See TracChangeset
for help on using the changeset viewer.