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 12276 for NEMO/trunk/src/OCE/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2019-12-20T12:14:26+01:00 (4 years ago)
Author:
cetlod
Message:

trunk : merge in some cmip6 diagnostics into the trunk before copying it to release-4.0.2(-head). SETTE tests are OK and the is no difference with the revision 12248

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/SBC/sbcmod.F90

    r11993 r12276  
    244244         fwfisf_b(:,:)   = 0._wp   ;   risf_tsc_b(:,:,:) = 0._wp 
    245245      END IF 
     246      ! 
     247      IF( sbc_ssr_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'sbc_init : unable to allocate sbc_ssr arrays' ) 
     248      IF( .NOT.ln_ssr ) THEN               !* Initialize qrp and erp if no restoring  
     249         qrp(:,:) = 0._wp 
     250         erp(:,:) = 0._wp 
     251      ENDIF 
     252      ! 
     253 
    246254      IF( nn_ice == 0 ) THEN        !* No sea-ice in the domain : ice fraction is always zero 
    247255         IF( nn_components /= jp_iam_opa )   fr_i(:,:) = 0._wp    ! except for OPA in SAS-OPA coupled case 
     
    552560         CALL iom_put( "taum"  , taum       )                   ! wind stress module 
    553561         CALL iom_put( "wspd"  , wndm       )                   ! wind speed  module over free ocean or leads in presence of sea-ice 
     562         CALL iom_put( "qrp", qrp )                             ! heat flux damping 
     563         CALL iom_put( "erp", erp )                             ! freshwater flux damping 
    554564      ENDIF 
    555565      ! 
Note: See TracChangeset for help on using the changeset viewer.