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 5989 for branches/2014/dev_r4650_UKMO10_Tidally_Meaned_Diagnostics/NEMOGCM/NEMO/LIM_SRC_2/limsbc_2.F90 – NEMO

Ignore:
Timestamp:
2015-12-03T09:10:32+01:00 (8 years ago)
Author:
deazer
Message:

Merging TMB and 25h diagnostics to head of trunk
added brief documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO10_Tidally_Meaned_Diagnostics/NEMOGCM/NEMO/LIM_SRC_2/limsbc_2.F90

    r5260 r5989  
    4646   PUBLIC   lim_sbc_flx_2      ! called by sbc_ice_lim_2 
    4747   PUBLIC   lim_sbc_tau_2      ! called by sbc_ice_lim_2 
    48    PUBLIC   lim_bio_meanqsr_2  ! called by sbc_ice_lim_2 
    4948 
    5049   REAL(wp)  ::   r1_rdtice            ! = 1. / rdt_ice  
     
    9796      !!              - fr_i    : ice fraction 
    9897      !!              - tn_ice  : sea-ice surface temperature 
    99       !!              - alb_ice : sea-ice albedo (lk_cpl=T) 
     98      !!              - alb_ice : sea-ice albedo (ln_cpl=T) 
    10099      !! 
    101100      !! References : Goosse, H. et al. 1996, Bul. Soc. Roy. Sc. Liege, 65, 87-90. 
     
    179178 
    180179            !   computation the solar flux at ocean surface 
    181             IF( lk_cpl ) THEN 
     180            IF( ln_cpl ) THEN 
    182181               zqsr = qsr_tot(ji,jj) + ( fstric(ji,jj) - qsr_ice(ji,jj,1) ) * ( 1.0 - pfrld(ji,jj) ) 
    183182            ELSE 
     
    203202            ! mass flux at the ocean-atmosphere interface (open ocean fraction = leads area) 
    204203            !                                                  ! coupled mode:  
    205             IF( lk_cpl ) THEN 
     204            IF( ln_cpl ) THEN 
    206205               zemp = + emp_tot(ji,jj)                            &     ! net mass flux over the grid cell (ice+ocean area) 
    207206                  &   - emp_ice(ji,jj) * ( 1. - pfrld(ji,jj) )          ! minus the mass flux intercepted by sea-ice 
     
    253252      !-----------------------------------------------! 
    254253 
    255       IF( lk_cpl) THEN 
     254      IF( ln_cpl) THEN 
    256255         tn_ice(:,:,1) = sist(:,:)          ! sea-ice surface temperature        
    257256         ht_i(:,:,1) = hicif(:,:) 
     
    320319         ! 
    321320         IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN     !==  Ice time-step only  ==! (i.e. surface module time-step) 
    322 !CDIR NOVERRCHK 
     321            ! 
    323322            DO jj = 1, jpj                               !* modulus of ice-ocean relative velocity at I-point 
    324 !CDIR NOVERRCHK 
    325323               DO ji = 1, jpi 
    326324                  zu_i  = u_ice(ji,jj) - u_oce(ji,jj)                   ! ice-ocean relative velocity at I-point 
     
    329327               END DO 
    330328            END DO 
    331 !CDIR NOVERRCHK 
    332329            DO jj = 1, jpjm1                             !* update the modulus of stress at ocean surface (T-point) 
    333 !CDIR NOVERRCHK 
    334330               DO ji = 1, jpim1   ! NO vector opt. 
    335331                  !                                               ! modulus of U_ice-U_oce at T-point 
     
    384380         ! 
    385381         IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN     !==  Ice time-step only  ==! (i.e. surface module time-step) 
    386 !CDIR NOVERRCHK 
     382            ! 
    387383            DO jj = 2, jpjm1                          !* modulus of the ice-ocean velocity at T-point 
    388 !CDIR NOVERRCHK 
    389384               DO ji = fs_2, fs_jpim1 
    390385                  zu_t  = u_ice(ji,jj) + u_ice(ji-1,jj) - u_oce(ji,jj) - u_oce(ji-1,jj)   ! 2*(U_ice-U_oce) at T-point 
     
    430425   END SUBROUTINE lim_sbc_tau_2 
    431426 
    432    SUBROUTINE lim_bio_meanqsr_2 
    433       !!--------------------------------------------------------------------- 
    434       !!                     ***  ROUTINE lim_bio_meanqsr 
    435       !! 
    436       !! ** Purpose :   provide daily qsr_mean for PISCES when  
    437       !!                analytic diurnal cycle is applied in physic 
    438       !! 
    439       !! ** Method  :   add part under ice 
    440       !! 
    441       !!--------------------------------------------------------------------- 
    442  
    443       qsr_mean(:,:) =  pfrld(:,:) * qsr_mean(:,:) + ( 1. - pfrld(:,:) ) * fstric_daymean(:,:) 
    444  
    445    END SUBROUTINE lim_bio_meanqsr_2 
    446427 
    447428   SUBROUTINE lim_sbc_init_2 
Note: See TracChangeset for help on using the changeset viewer.