- Timestamp:
- 2013-09-09T12:13:17+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3940_CNRS4_IOCRS/NEMOGCM/NEMO/OPA_SRC/step.F90
r3769 r4015 24 24 !! - ! 2010-10 (C. Ethe, G. Madec) reorganisation of initialisation phase + merge TRC-TRA 25 25 !! 3.4 ! 2011-04 (G. Madec, C. Ethe) Merge of dtatem and dtasal 26 !! ! 2012-07 (J. Simeon, G. Madec. C. Ethe) Online coarsening of outputs 26 27 !!---------------------------------------------------------------------- 27 28 … … 78 79 ! IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp 79 80 # if defined key_iomput 80 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap 81 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap( "nemo" ) 81 82 # endif 82 83 #endif 83 indic = 0 ! reset to no error condition 84 IF( kstp == nit000 ) CALL iom_init ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 84 indic = 0 ! reset to no error condition 85 IF( kstp == nit000 ) THEN 86 CALL iom_init( "nemo" ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 87 IF( ln_crs ) CALL iom_init( "nemo_crs" ) ! initialize context for coarse grid 88 ENDIF 85 89 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) 86 CALL iom_setkt( kstp - nit000 + 1 ) ! say to iom that we are at time step kstp 90 CALL iom_setkt( kstp - nit000 + 1, "nemo" ) ! say to iom that we are at time step kstp 91 IF( ln_crs ) CALL iom_setkt( kstp - nit000 + 1, "nemo_crs" ) ! say to iom that we are at time step kstp 87 92 88 93 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 170 175 IF( lk_diaharm ) CALL dia_harm( kstp ) ! Tidal harmonic analysis 171 176 CALL dia_wri( kstp ) ! ocean model: outputs 177 ! 178 IF( ln_crs ) CALL crs_fld( kstp ) ! ocean model: online field coarsening & output 179 172 180 173 181 #if defined key_top … … 270 278 IF( lk_cpl ) CALL sbc_cpl_snd( kstp ) ! coupled mode : field exchanges 271 279 ! 272 #if defined key_iomput 273 IF( kstp == nitend ) CALL xios_context_finalize() ! needed for XIOS+AGRIF 274 #endif 280 IF( kstp == nitend ) THEN 281 CALL iom_context_finalize( "nemo" ) ! needed for XIOS+AGRIF 282 IF( ln_crs ) CALL iom_context_finalize( "nemo_crs" ) ! 283 ENDIF 275 284 ! 276 285 IF( nn_timing == 1 .AND. kstp == nit000 ) CALL timing_reset
Note: See TracChangeset
for help on using the changeset viewer.