New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3769 for branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2013-02-01T15:56:10+01:00 (11 years ago)
Author:
smasson
Message:

dev_MERGE_2012: xios+agrif+oasis compliant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/OPA_SRC/step.F90

    r3764 r3769  
    3030   !!---------------------------------------------------------------------- 
    3131   USE step_oce         ! time stepping definition modules 
    32 #if defined key_top 
    33    USE trcstp           ! passive tracer time-stepping      (trc_stp routine) 
    34 #endif 
    35 #if defined key_agrif 
    36    USE agrif_opa_sponge ! Momemtum and tracers sponges 
    37 #endif 
    38    USE restart          ! restart 
    3932 
    4033   IMPLICIT NONE 
     
    8982#endif 
    9083                             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) 
    9185      IF( kstp /= nit000 )   CALL day( kstp )         ! Calendar (day was already called at nit000 in day_init) 
    9286                             CALL iom_setkt( kstp - nit000 + 1 )   ! say to iom that we are at time step kstp 
     
    276270      IF( lk_cpl           )   CALL sbc_cpl_snd( kstp )     ! coupled mode : field exchanges 
    277271      ! 
     272#if defined key_iomput 
     273      IF( kstp == nitend   )   CALL xios_context_finalize() ! needed for XIOS+AGRIF 
     274#endif 
     275      ! 
    278276      IF( nn_timing == 1 .AND.  kstp == nit000  )   CALL timing_reset 
    279277      ! 
Note: See TracChangeset for help on using the changeset viewer.