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 1226 for trunk/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2008-11-27T18:41:45+01:00 (15 years ago)
Author:
smasson
Message:

bugfix of the coupling interface (commited during changeset:1218), see ticket:155

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcmod.F90

    r1218 r1226  
    2828   USE sbcice_lim_2    ! surface boundary condition: LIM 2.0 sea-ice model 
    2929   USE sbccpl          ! surface boundary condition: coupled florulation 
     30   USE cpl_oasis3, ONLY:lk_cpl      ! are we in coupled mode? 
    3031   USE sbcssr          ! surface boundary condition: sea surface restoring 
    3132   USE sbcrnf          ! surface boundary condition: runoffs 
     
    130131         &  CALL ctl_warn( 'nn_fsbc is NOT a multiple of the number of time steps in a day' ) 
    131132      ! 
    132       IF( nn_ice == 2 .AND. .NOT.( ln_blk_clio .OR. ln_blk_core ) )   & 
    133          &   CALL ctl_stop( 'sea-ice model requires a bulk formulation' ) 
     133      IF( nn_ice == 2 .AND. .NOT.( ln_blk_clio .OR. ln_blk_core .OR. lk_cpl ) )   & 
     134         &   CALL ctl_stop( 'sea-ice model requires a bulk formulation or coupled configuration' ) 
    134135       
    135136      ! Choice of the Surface Boudary Condition (set nsbc) 
     
    201202      CASE(  5 )   ;   CALL sbc_cpl_rcv ( kt, nn_fsbc, nn_ice )   ! coupled formulation 
    202203      CASE( -1 )                                 
    203                        CALL sbc_ana     ( kt )                     ! ESOPA, test ALL the formulations 
    204                        CALL sbc_gyre    ( kt )                     ! 
    205                        CALL sbc_flx     ( kt )                     ! 
    206                        CALL sbc_blk_clio( kt )                     ! 
    207                        CALL sbc_blk_core( kt )                     ! 
    208                        CALL sbc_cpl_rcv ( kt,  nn_fsbc, nn_ice )   ! 
     204                       CALL sbc_ana     ( kt )                    ! ESOPA, test ALL the formulations 
     205                       CALL sbc_gyre    ( kt )                    ! 
     206                       CALL sbc_flx     ( kt )                    ! 
     207                       CALL sbc_blk_clio( kt )                    ! 
     208                       CALL sbc_blk_core( kt )                    ! 
     209                       CALL sbc_cpl_rcv ( kt, nn_fsbc, nn_ice )   ! 
    209210      END SELECT 
    210211 
Note: See TracChangeset for help on using the changeset viewer.