Changeset 5407 for trunk/NEMOGCM/NEMO/OPA_SRC/step.F90
- Timestamp:
- 2015-06-11T21:13:22+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/step.F90
r5329 r5407 83 83 IF ( kstp == (nit000 + 1) ) lk_agrif_fstep = .FALSE. 84 84 # if defined key_iomput 85 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap( "nemo")85 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap( cxios_context ) 86 86 # endif 87 87 #endif 88 88 indic = 0 ! reset to no error condition 89 89 IF( kstp == nit000 ) THEN 90 CALL iom_init( "nemo" ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 91 IF( ln_crs ) CALL iom_init( "nemo_crs" ) ! initialize context for coarse grid 90 ! must be done after nemo_init for AGRIF+XIOS+OASIS 91 CALL iom_init( cxios_context ) ! iom_put initialization 92 IF( ln_crs ) CALL iom_init( TRIM(cxios_context)//"_crs" ) ! initialize context for coarse grid 92 93 ENDIF 93 94 94 95 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) 95 CALL iom_setkt( kstp - nit000 + 1, "nemo" ) ! say to iom thatwe are at time step kstp96 IF( ln_crs ) CALL iom_setkt( kstp - nit000 + 1, "nemo_crs" ) ! say to iom thatwe are at time step kstp96 CALL iom_setkt( kstp - nit000 + 1, cxios_context ) ! tell iom we are at time step kstp 97 IF( ln_crs ) CALL iom_setkt( kstp - nit000 + 1, TRIM(cxios_context)//"_crs" ) ! tell iom we are at time step kstp 97 98 98 99 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 168 169 IF( lk_traldf_eiv ) CALL ldf_eiv( kstp ) ! eddy induced velocity coefficient 169 170 #endif 170 #if defined key_traldf_c3d && key_traldf_smag171 #if defined key_traldf_c3d && defined key_traldf_smag 171 172 CALL ldf_tra_smag( kstp ) ! eddy induced velocity coefficient 172 173 # endif 173 #if defined key_dynldf_c3d && key_dynldf_smag174 #if defined key_dynldf_c3d && defined key_dynldf_smag 174 175 CALL ldf_dyn_smag( kstp ) ! eddy induced velocity coefficient 175 176 # endif … … 225 226 IF( lk_floats ) CALL flo_stp( kstp ) ! drifting Floats 226 227 IF( lk_diahth ) CALL dia_hth( kstp ) ! Thermocline depth (20 degres isotherm depth) 227 IF( .NOT. l k_cpl ) CALL dia_fwb( kstp ) ! Fresh water budget diagnostics228 IF( .NOT. ln_cpl ) CALL dia_fwb( kstp ) ! Fresh water budget diagnostics 228 229 IF( lk_diadct ) CALL dia_dct( kstp ) ! Transports 229 230 IF( lk_diaar5 ) CALL dia_ar5( kstp ) ! ar5 diag … … 355 356 ! Coupled mode 356 357 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 357 IF( lk_ cpl) CALL sbc_cpl_snd( kstp ) ! coupled mode : field exchanges358 IF( lk_oasis ) CALL sbc_cpl_snd( kstp ) ! coupled mode : field exchanges 358 359 ! 359 360 #if defined key_iomput 360 361 IF( kstp == nitend .OR. indic < 0 ) THEN 361 CALL iom_context_finalize( "nemo") ! needed for XIOS+AGRIF362 IF( ln_crs ) CALL iom_context_finalize( "nemo_crs" ) !362 CALL iom_context_finalize( cxios_context ) ! needed for XIOS+AGRIF 363 IF( ln_crs ) CALL iom_context_finalize( trim(cxios_context)//"_crs" ) ! 363 364 ENDIF 364 365 #endif
Note: See TracChangeset
for help on using the changeset viewer.