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 914 for trunk/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90 – NEMO

Ignore:
Timestamp:
2008-04-30T16:30:23+02:00 (16 years ago)
Author:
ctlod
Message:

move the set to zero of qsr(:,:) (when more than 50% of sea-ice) from sbcblk_clio.F90 into sbcice_lim*, see ticket: #131

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90

    r900 r914  
    4646   USE in_out_manager  ! I/O manager 
    4747   USE prtctl          ! Print control 
     48   USE ocfzpt          ! ocean freezing point 
    4849 
    4950   IMPLICIT NONE 
     
    8990      !! 
    9091      INTEGER  ::   ji, jj   ! dummy loop indices 
     92      REAL(wp) ::   zinda     
    9193      REAL(wp), DIMENSION(jpi,jpj,1) ::   alb_ice_os   ! albedo of the ice under overcast sky 
    9294      REAL(wp), DIMENSION(jpi,jpj,1) ::   alb_ice_cs   ! albedo of ice under clear sky 
     
    152154               &                               tprecip   , sprecip    ,                          & 
    153155               &                               fr1_i0    , fr2_i0     , cl_grid  ) 
     156 
     157            ! CAUTION: ocean shortwave radiation sets to zero if more than 50% of sea-ice !!gm to be removed 
     158            DO jj = 1, jpj 
     159               DO ji = 1, jpi 
     160                  zinda    = MAX(  0.e0, SIGN(  1.e0, -( -1.5 - freeze(ji,jj) )  )  ) 
     161                  qsr(ji,jj) = zinda * qsr(ji,jj) 
     162               END DO 
     163            END DO 
     164 
    154165         CASE( 4 )           ! CORE bulk formulation 
    155166            CALL blk_ice_core( zsist , ui_ice , vi_ice   , alb_ice_cs ,                         & 
Note: See TracChangeset for help on using the changeset viewer.