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 3858 for branches/2013/dev_r3856_MERCATOR3_QSRMEAN24H/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90 – NEMO

Ignore:
Timestamp:
2013-04-03T11:59:02+02:00 (11 years ago)
Author:
cbricaud
Message:

commit first draft of MERCATOR3_QSRMEAN24H

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3856_MERCATOR3_QSRMEAN24H/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90

    r3772 r3858  
    186186      CALL fld_read( kt, nn_fsbc, sf )             ! input fields provided at the current time-step 
    187187 
     188      ! If diurnal cycle is activated, compute a daily mean short waves flux for biogeochemistery  
     189#if defined key_top 
     190      IF( ltrcdm2dc )CALL blk_bio_meanqsr 
     191#endif 
     192 
    188193      !                                            ! compute the surface ocean fluxes using CORE bulk formulea 
    189194      IF( MOD( kt - 1, nn_fsbc ) == 0 )   CALL blk_oce_core( kt, sf, sst_m, ssu_m, ssv_m ) 
     
    423428      ! 
    424429   END SUBROUTINE blk_oce_core 
    425     
     430   
     431   SUBROUTINE blk_bio_meanqsr 
     432      !!--------------------------------------------------------------------- 
     433      !!                     ***  ROUTINE blk_bio_meanqsr 
     434      !!                      
     435      !! ** Purpose :   provide daily qsr_mean for PISCES when 
     436      !!                analytic diurnal cycle is applied in physic 
     437      !!                 
     438      !! ** Method  :   add part where there is no ice 
     439      !!  
     440      !!--------------------------------------------------------------------- 
     441      INTEGER  :: ji,jj 
     442      REAL(wp) :: zfrld 
     443      !!--------------------------------------------------------------------- 
     444      IF( nn_timing == 1 )  CALL timing_start('blk_bio_meanqsr') 
     445 
     446      qsr_mean(:,:) = (1. - albo ) *  sf(jp_qsr)%fnow(:,:,1) 
     447 
     448      IF( nn_timing == 1 )  CALL timing_stop('blk_bio_meanqsr') 
     449 
     450   END SUBROUTINE blk_bio_meanqsr 
     451  
    426452    
    427453   SUBROUTINE blk_ice_core(  pst   , pui   , pvi   , palb ,   & 
Note: See TracChangeset for help on using the changeset viewer.