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

Ignore:
Timestamp:
2019-07-17T15:29:15+02:00 (5 years ago)
Author:
kingr
Message:

Merged Juan's changes for running AMM15 woth wave coupling.
Corrected minor logic error to allow AMM7-uncoupled to reproduce earlier results.
Few line spacing changes to allow merging with OBS br and trunk rvn 5518.

File:
1 edited

Legend:

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

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