Changeset 389 for trunk/NEMO/OPA_SRC/step.F90
- Timestamp:
- 2006-03-09T18:22:04+01:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/step.F90
r367 r389 118 118 USE prtctl ! Print control (prt_ctl routine) 119 119 120 #if defined key_AGRIF 121 USE agrif_opa_sponge ! Momemtum and tracers sponges 122 #endif 123 120 124 IMPLICIT NONE 121 125 PRIVATE … … 135 139 CONTAINS 136 140 137 SUBROUTINE stp( kstp ) 138 !!---------------------------------------------------------------------- 141 SUBROUTINE stp( & 142 #if !defined key_AGRIF 143 kstp & 144 #endif 145 ) !!---------------------------------------------------------------------- 139 146 !! *** ROUTINE stp *** 140 147 !! … … 165 172 !! " ! 04-08 (C. Talandier) New trends organization 166 173 !! " ! 05-01 (C. Ethe) Add the KPP closure scheme 167 !! " ! 05-11 (V. Garnier) Surface pressure gradient organization168 174 !!---------------------------------------------------------------------- 169 175 !! * Arguments 170 INTEGER, INTENT( in ) :: kstp ! ocean time-step index 176 INTEGER & 177 #if !defined key_AGRIF 178 , INTENT( in ) & 179 #endif 180 :: kstp ! ocean time-step index 171 181 172 182 !! * local declarations … … 174 184 !! --------------------------------------------------------------------- 175 185 186 #if defined key_AGRIF 187 kstp = nit000 + Agrif_Nb_Step() 188 IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 189 IF (lwp) Write(*,*) 'Grid N°',Agrif_Fixed(),' time step ',kstp 190 #endif 176 191 indic = 1 ! reset to no error condition 177 192 adatrj = adatrj + rdt/86400._wp … … 321 336 IF( l_traldf_iso_zps ) CALL tra_ldf_iso_zps( kstp ) ! partial step iso-neutral/geopot. laplacian 322 337 338 #if defined key_AGRIF 339 IF (.NOT. Agrif_Root()) CALL Agrif_Sponge_tra( kstp ) ! tracers sponge 340 #endif 323 341 ! ! vertical diffusion 324 342 IF( l_trazdf_exp ) CALL tra_zdf_exp ( kstp ) ! explicit time stepping (time splitting scheme) … … 353 371 va(:,:,:) = 0.e0 354 372 355 373 CALL dyn_keg( kstp ) ! horizontal gradient of kinetic energy 356 374 357 375 ! ! vorticity term including Coriolis … … 361 379 IF( ln_dynvor_mix ) CALL dyn_vor_mixed ( kstp ) ! mixed energy/enstrophy conserving scheme 362 380 IF( ln_dynvor_een ) CALL dyn_vor_ene_ens ( kstp ) ! combined energy/enstrophy conserving scheme 363 381 364 382 ! ! lateral mixing 365 383 IF( l_dynldf_lap ) CALL dyn_ldf_lap ( kstp ) ! iso-level laplacian … … 368 386 IF( l_dynldf_iso ) CALL dyn_ldf_iso ( kstp ) ! iso-neutral laplacian 369 387 388 #if defined key_AGRIF 389 IF (.NOT. Agrif_Root()) CALL Agrif_Sponge_dyn( kstp ) ! momemtum sponge 390 #endif 370 391 ! ! horizontal gradient of Hydrostatic pressure 371 392 IF ( lk_jki ) THEN … … 375 396 ENDIF 376 397 377 398 CALL dyn_zad ( kstp ) ! vertical advection 378 399 379 400 ! ! vertical diffusion
Note: See TracChangeset
for help on using the changeset viewer.