Changeset 4215
- Timestamp:
- 2013-11-15T11:40:36+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/step.F90
r4161 r4215 115 115 ! 116 116 ! VERTICAL PHYSICS 117 ! bg jchanut tschanges118 ! One need bottom friction parameter in ssh_wzv routine with time splitting.119 ! The idea could be to move the call below before ssh_wzv. However, "now" scale factors120 ! at U-V points (which are set thanks to sshu_n, sshv_n) are actually available in sshwzv.121 ! These are needed for log bottom friction...122 #if ! defined key_dynspg_ts123 117 CALL zdf_bfr( kstp ) ! bottom friction 124 #endif125 ! end jchanut tschanges126 118 127 119 ! ! Vertical eddy viscosity and diffusivity coefficients … … 224 216 & rhd, gru , grv ) ! of t, s, rd at the last ocean level 225 217 226 ELSE 227 ! centered hpg (eos then time stepping) 228 ! bg jchanut tschanges 229 #if ! defined key_dynspg_ts 230 ! eos already called 218 ELSE ! centered hpg (eos then time stepping) 231 219 CALL eos ( tsn, rhd, rhop ) ! now in situ density for hpg computation 232 220 IF( ln_zps ) CALL zps_hde( kstp, jpts, tsn, gtsu, gtsv, & ! zps: now hor. derivative 233 221 & rhd, gru , grv ) ! of t, s, rd at the last ocean level 234 #endif235 ! end jchanut tschanges236 222 IF( ln_zdfnpc ) CALL tra_npc( kstp ) ! update after fields by non-penetrative convection 237 223 CALL tra_nxt( kstp ) ! tracer fields at next time step … … 241 227 ! Dynamics (tsa used as workspace) 242 228 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 243 ! bg jchanut tschanges244 #if defined key_dynspg_ts245 ! revert to previously computed tendencies:246 ! (not using ua, va as temporary arrays during tracers' update could avoid that)247 ua(:,:,:) = ua_bak(:,:,:)248 va(:,:,:) = va_bak(:,:,:)249 CALL dyn_bfr( kstp ) ! bottom friction250 CALL dyn_zdf( kstp ) ! vertical diffusion251 #else252 ! end jchanut tschanges253 229 ua(:,:,:) = 0.e0 ! set dynamics trends to zero 254 230 va(:,:,:) = 0.e0 … … 270 246 CALL dyn_zdf( kstp ) ! vertical diffusion 271 247 CALL dyn_spg( kstp, indic ) ! surface pressure gradient 272 ! bg jchanut tschanges273 #endif274 ! end jchanut tschanges275 248 CALL dyn_nxt( kstp ) ! lateral velocity at next time step 276 249
Note: See TracChangeset
for help on using the changeset viewer.