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 2216 for branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2010-10-12T13:36:25+02:00 (14 years ago)
Author:
smasson
Message:

diurnal cycle in coupled mode in dev_r2174_DCY, see ticket:730

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbccpl.F90

    r2090 r2216  
    2323   USE sbc_oce         ! Surface boundary condition: ocean fields 
    2424   USE sbc_ice         ! Surface boundary condition: ice fields 
     25   USE sbcdcy          ! surface boundary condition: diurnal cycle 
    2526   USE phycst          ! physical constants 
    2627#if defined key_lim3 
     
    728729         IF( srcv(jpr_qsroce)%laction )   qsr(:,:) = frcv(:,:,jpr_qsroce)  
    729730         IF( srcv(jpr_qsrmix)%laction )   qsr(:,:) = frcv(:,:,jpr_qsrmix) 
     731         IF( ln_dm2dc )   qsr(:,:) = sbc_dcy( qsr )                           ! modify qsr to include the diurnal cycle 
    730732         ! 
    731733         !                                                       ! total freshwater fluxes over the ocean (emp, emps) 
     
    11591161            &                     + palbi         (:,:,1) * zicefr(:,:,1) ) ) 
    11601162      END SELECT 
     1163      IF( ln_dm2dc ) THEN   ! modify qsr to include the diurnal cycle 
     1164         pqsr_tot(:,:  ) = sbc_dcy( pqsr_tot(:,:  ) ) 
     1165         pqsr_ice(:,:,1) = sbc_dcy( pqsr_ice(:,:,1) ) 
     1166      ENDIF 
    11611167 
    11621168      SELECT CASE( TRIM( cn_rcv_dqnsdt ) ) 
Note: See TracChangeset for help on using the changeset viewer.