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 7134 for branches/UKMO/r5936_hadgem3_cplseq/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2016-10-27T13:30:10+02:00 (7 years ago)
Author:
jcastill
Message:

Version as in UKMO/dev_r5107_hadgem3_cplseq@5646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r5936_hadgem3_cplseq/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r7131 r7134  
    7070   USE icbini          ! handle bergs, initialisation 
    7171   USE icbstp          ! handle bergs, calving, themodynamics and transport 
     72   USE sbccpl 
    7273   USE cpl_oasis3      ! OASIS3 coupling 
    7374   USE c1d             ! 1D configuration 
     
    171172            CALL stp                         ! AGRIF: time stepping 
    172173#else 
    173             CALL stp( istp )                 ! standard time stepping 
     174         IF (lk_oasis) CALL sbc_cpl_snd( istp )  ! Coupling to atmos  
     175         CALL stp( istp )  
     176         ! We don't couple on the final timestep because  
     177         ! our restart file has already been written  
     178         ! and contains all the necessary data for a  
     179         ! restart. sbc_cpl_snd could be called here  
     180         ! but it would require  
     181         ! a) A test to ensure it was not performed  
     182         !    on the very last time-step  
     183         ! b) the presence of another call to  
     184         !    sbc_cpl_snd call prior to the main DO loop  
     185         ! This solution produces identical results  
     186         ! with fewer lines of code.   
    174187#endif 
    175188            istp = istp + 1 
Note: See TracChangeset for help on using the changeset viewer.