Changeset 4978 for branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/OPA_SRC
- Timestamp:
- 2014-12-08T17:03:48+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/OPA_SRC/step.F90
r4954 r4978 77 77 #if defined key_agrif 78 78 kstp = nit000 + Agrif_Nb_Step() 79 IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 80 IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp 79 IF ( lk_agrif_debug ) THEN 80 IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 81 IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp, 'int tstep',Agrif_NbStepint() 82 ENDIF 83 81 84 IF ( kstp == (nit000 + 1) ) lk_agrif_fstep = .FALSE. 85 86 IF ( Agrif_NbStepint() .EQ. (Agrif_irhot()-1)) THEN 87 lk_agrif_doupd = .TRUE. 88 ELSE 89 lk_agrif_doupd = .FALSE. 90 ENDIF 91 82 92 # if defined key_iomput 83 93 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap( "nemo" ) … … 298 308 CALL ssh_swp( kstp ) ! swap of sea surface height 299 309 IF( lk_vvl ) CALL dom_vvl_sf_swp( kstp ) ! swap of vertical scale factors 300 301 #if defined key_agrif302 ! AGRIF update303 IF (.NOT.Agrif_Root()) THEN304 CALL Agrif_Update_Tra( kstp )! Update active tracers305 CALL Agrif_Update_Dyn( kstp )! Update momentum306 ENDIF307 #endif308 310 ! 309 311 IF( ln_diahsb ) CALL dia_hsb( kstp ) ! - ML - global conservation diagnostics 310 312 IF( lk_diaobs ) CALL dia_obs( kstp ) ! obs-minus-model (assimilation) diagnostics (call after dynamics update) 313 314 #if defined key_agrif 315 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 316 ! AGRIF update (TWO WAY) 317 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 318 IF ( Agrif_Level().EQ.Agrif_MaxLevel() ) THEN 319 CALL Agrif_Update_Tra() ! Update active tracers 320 CALL Agrif_Update_Dyn() ! Update momentum 321 ENDIF 322 #endif 311 323 312 324 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 348 360 ! 349 361 IF( nn_timing == 1 .AND. kstp == nit000 ) CALL timing_reset 350 ! 351 #if defined key_agrif 352 CALL Agrif_Integrate_ChildGrids( stp )353 #endif 362 ! 363 #if defined key_agrif 364 CALL Agrif_Integrate_ChildGrids( stp ) 365 #endif 354 366 ! 355 367 END SUBROUTINE stp
Note: See TracChangeset
for help on using the changeset viewer.