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 4205 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2013-11-14T18:02:06+01:00 (10 years ago)
Author:
clem
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r4161 r4205  
    136136      ENDIF 
    137137 
    138       !   Flux handling over ice categories  
     138      !   Flux handling over ice categories 
     139#if defined key_coupled  
    139140      SELECT CASE ( TRIM (cn_iceflx)) 
    140141      CASE ('ave') 
     
    150151      IF(lwp) WRITE(numout,*) '              Fluxes averaged over all ice categories         ln_iceflx_ave    = ', ln_iceflx_ave 
    151152      IF(lwp) WRITE(numout,*) '              Fluxes distributed linearly over ice categories ln_iceflx_linear = ', ln_iceflx_linear 
     153#endif 
    152154      ! 
    153155      !                              ! allocate sbc arrays 
     
    189191      IF( ( nn_ice == 3 .OR. nn_ice == 4 ) .AND. nn_ice_embd == 0 )   & 
    190192         &   CALL ctl_stop( 'LIM3 and CICE sea-ice models require nn_ice_embd = 1 or 2' ) 
    191  
     193#if defined key_coupled 
    192194      IF( ln_iceflx_ave .AND. ln_iceflx_linear ) & 
    193195         &   CALL ctl_stop( ' ln_iceflx_ave and ln_iceflx_linear options are not compatible' ) 
    194  
    195196      IF( ( nn_ice ==3 .AND. lk_cpl) .AND. .NOT. ( ln_iceflx_ave .OR. ln_iceflx_linear ) ) & 
    196197         &   CALL ctl_stop( ' With lim3 coupled, either ln_iceflx_ave or ln_iceflx_linear must be set to .TRUE.' ) 
    197        
     198#endif       
    198199      IF( ln_dm2dc )   nday_qsr = -1   ! initialisation flag 
    199200 
     
    247248         IF( nsbc ==  6 )   WRITE(numout,*) '              MFS Bulk formulation' 
    248249      ENDIF 
    249  
    250250      ! 
    251251                          CALL sbc_ssm_init               ! Sea-surface mean fields initialisation 
     
    255255      IF( nn_ice == 4 )   CALL cice_sbc_init( nsbc )      ! CICE initialisation 
    256256      ! 
    257  
    258257   END SUBROUTINE sbc_init 
    259258 
     
    329328      CASE(  3 )   ;         CALL sbc_ice_lim  ( kt, nsbc )          ! LIM-3 ice model 
    330329      !is it useful? 
    331       !CASE(  4 )   ;         CALL sbc_ice_cice ( kt, nsbc )          ! CICE ice model 
     330      CASE(  4 )   ;         CALL sbc_ice_cice ( kt, nsbc )          ! CICE ice model 
    332331      END SELECT                                               
    333332 
Note: See TracChangeset for help on using the changeset viewer.