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 12193 for NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2019-12-11T17:15:54+01:00 (5 years ago)
Author:
davestorkey
Message:

2019/dev_r11943_MERGE_2019: Merge in dev_r12072_TOP-01_ENHANCE-11_cethe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcmod.F90

    r12182 r12193  
    246246#endif 
    247247      ! 
     248      ! 
     249      IF( sbc_ssr_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'sbc_init : unable to allocate sbc_ssr arrays' ) 
     250      IF( .NOT.ln_ssr ) THEN               !* Initialize qrp and erp if no restoring  
     251         qrp(:,:) = 0._wp 
     252         erp(:,:) = 0._wp 
     253      ENDIF 
     254      ! 
     255 
    248256      IF( nn_ice == 0 ) THEN        !* No sea-ice in the domain : ice fraction is always zero 
    249257         IF( nn_components /= jp_iam_opa )   fr_i(:,:) = 0._wp    ! except for OPA in SAS-OPA coupled case 
     
    559567         CALL iom_put( "taum"  , taum       )                   ! wind stress module 
    560568         CALL iom_put( "wspd"  , wndm       )                   ! wind speed  module over free ocean or leads in presence of sea-ice 
     569         CALL iom_put( "qrp", qrp )                             ! heat flux damping 
     570         CALL iom_put( "erp", erp )                             ! freshwater flux damping 
    561571      ENDIF 
    562572      ! 
Note: See TracChangeset for help on using the changeset viewer.