- Timestamp:
- 2013-01-23T15:33:04+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/OPA_SRC/step.F90
r3701 r3764 29 29 !! stp : OPA system time-stepping 30 30 !!---------------------------------------------------------------------- 31 USE step_oce ! time stepping definition modules 31 USE step_oce ! time stepping definition modules 32 32 #if defined key_top 33 33 USE trcstp ! passive tracer time-stepping (trc_stp routine) … … 62 62 !!---------------------------------------------------------------------- 63 63 !! *** ROUTINE stp *** 64 !! 64 !! 65 65 !! ** Purpose : - Time stepping of OPA (momentum and active tracer eqs.) 66 66 !! - Time stepping of LIM (dynamic and thermodynamic eqs.) 67 67 !! - Tme stepping of TRC (passive tracer eqs.) 68 !! 69 !! ** Method : -1- Update forcings and data 70 !! -2- Update ocean physics 71 !! -3- Compute the t and s trends 72 !! -4- Update t and s 68 !! 69 !! ** Method : -1- Update forcings and data 70 !! -2- Update ocean physics 71 !! -3- Compute the t and s trends 72 !! -4- Update t and s 73 73 !! -5- Compute the momentum trends 74 74 !! -6- Update the horizontal velocity … … 86 86 # if defined key_iomput 87 87 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap 88 # endif 89 #endif 88 # endif 89 #endif 90 90 indic = 0 ! reset to no error condition 91 91 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) … … 113 113 CALL bn2( tsn, rn2 ) ! now Brunt-Vaisala frequency 114 114 ! 115 ! VERTICAL PHYSICS 115 ! VERTICAL PHYSICS 116 116 CALL zdf_bfr( kstp ) ! bottom friction 117 117 118 118 ! ! Vertical eddy viscosity and diffusivity coefficients 119 119 IF( lk_zdfric ) CALL zdf_ric( kstp ) ! Richardson number dependent Kz … … 135 135 IF( lk_zdfddm .AND. .NOT. lk_zdfkpp ) & 136 136 & CALL zdf_ddm( kstp ) ! double diffusive mixing 137 137 138 138 CALL zdf_mxl( kstp ) ! mixed layer depth 139 139 … … 142 142 IF( lrst_oce .AND. lk_zdfgls ) CALL gls_rst( kstp, 'WRITE' ) 143 143 ! 144 ! LATERAL PHYSICS 144 ! LATERAL PHYSICS 145 145 ! 146 146 IF( lk_ldfslp ) THEN ! slope of lateral mixing … … 211 211 IF( ln_zps ) CALL zps_hde( kstp, jpts, tsa, gtsu, gtsv, & ! zps: time filtered hor. derivative 212 212 & rhd, gru , grv ) ! of t, s, rd at the last ocean level 213 213 214 214 ELSE ! centered hpg (eos then time stepping) 215 215 CALL eos ( tsn, rhd, rhop ) ! now in situ density for hpg computation … … 218 218 IF( ln_zdfnpc ) CALL tra_npc( kstp ) ! update after fields by non-penetrative convection 219 219 CALL tra_nxt( kstp ) ! tracer fields at next time step 220 ENDIF 220 ENDIF 221 221 222 222 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 228 228 IF( ln_asmiau .AND. & 229 229 & ln_dyninc ) CALL dyn_asm_inc( kstp ) ! apply dynamics assimilation increment 230 IF( ln_bkgwri ) CALL asm_bkg_wri( kstp ) ! output background fields 230 231 IF( ln_neptsimp ) CALL dyn_nept_cor( kstp ) ! subtract Neptune velocities (simplified) 231 232 IF( lk_bdy ) CALL bdy_dyn3d_dmp(kstp ) ! bdy damping trends … … 238 239 #endif 239 240 CALL dyn_hpg( kstp ) ! horizontal gradient of Hydrostatic pressure 240 CALL dyn_bfr( kstp ) ! bottom friction 241 CALL dyn_bfr( kstp ) ! bottom friction 241 242 CALL dyn_zdf( kstp ) ! vertical diffusion 242 243 CALL dyn_spg( kstp, indic ) ! surface pressure gradient … … 263 264 ! Trends (ua, va, tsa used as workspace) 264 265 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 265 IF( nstop == 0 ) THEN 266 IF( lk_trddyn ) CALL trd_dwr( kstp ) ! trends: dynamics 266 IF( nstop == 0 ) THEN 267 IF( lk_trddyn ) CALL trd_dwr( kstp ) ! trends: dynamics 267 268 IF( lk_trdtra ) CALL trd_twr( kstp ) ! trends: active tracers 268 IF( lk_trdmld ) CALL trd_mld( kstp ) ! trends: Mixed-layer 269 IF( lk_trdmld ) CALL trd_mld( kstp ) ! trends: Mixed-layer 269 270 IF( lk_trdvor ) CALL trd_vor( kstp ) ! trends: vorticity budget 270 271 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.