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 9739 for NEMO/trunk/cfgs/SPITZ12/MY_SRC/sbcblk.F90 – NEMO

Ignore:
Timestamp:
2018-06-05T16:25:10+02:00 (6 years ago)
Author:
clem
Message:

eliminate the few lim3 comments left in the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/cfgs/SPITZ12/MY_SRC/sbcblk.F90

    r9665 r9739  
    135135#  include "vectopt_loop_substitute.h90" 
    136136   !!---------------------------------------------------------------------- 
    137    !! NEMO/OPA 3.7 , NEMO-consortium (2014) 
     137   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
    138138   !! $Id: sbcblk.F90 6416 2016-04-01 12:22:17Z clem $ 
    139139   !! Software governed by the CeCILL licence     (./LICENSE) 
     
    496496 
    497497      ! zqla used as temporary array, for rho*U (common term of bulk formulae): 
    498       zqla(:,:) = zrhoa(:,:) * zU_zu(:,:) 
     498      zqla(:,:) = zrhoa(:,:) * zU_zu(:,:) * tmask(:,:,1) 
    499499 
    500500      IF( ABS( rn_zu - rn_zqt) < 0.01_wp ) THEN 
     
    536536         &     * ( sf(jp_tair)%fnow(:,:,1) - rt0 ) * rcp                          & 
    537537         &     + sf(jp_snow)%fnow(:,:,1) * rn_pfac                                &   ! add solid  precip heat content at min(Tair,Tsnow) 
    538          &     * ( MIN( sf(jp_tair)%fnow(:,:,1), rt0_snow ) - rt0 ) * cpic * tmask(:,:,1) 
     538         &     * ( MIN( sf(jp_tair)%fnow(:,:,1), rt0_snow ) - rt0 ) * cpic 
     539      qns(:,:) = qns(:,:) * tmask(:,:,1) 
    539540      ! 
    540541#if defined key_si3 
    541       qns_oce(:,:) = zqlw(:,:) - zqsb(:,:) - zqla(:,:)                                ! non solar without emp (only needed by LIM3) 
     542      qns_oce(:,:) = zqlw(:,:) - zqsb(:,:) - zqla(:,:)                                ! non solar without emp (only needed by SI3) 
    542543      qsr_oce(:,:) = qsr(:,:) 
    543544#endif 
     
    551552         CALL iom_put( "qsr_oce" ,   qsr  )                 ! output downward solar heat over the ocean 
    552553         CALL iom_put( "qt_oce"  ,   qns+qsr )              ! output total downward heat over the ocean 
    553          tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac   ! output total precipitation [kg/m2/s] 
    554          sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac   ! output solid precipitation [kg/m2/s] 
     554         tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac * tmask(:,:,1) ! output total precipitation [kg/m2/s] 
     555         sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac * tmask(:,:,1) ! output solid precipitation [kg/m2/s] 
    555556         CALL iom_put( 'snowpre', sprecip )                 ! Snow 
    556557         CALL iom_put( 'precip' , tprecip )                 ! Total precipitation 
     
    842843      REAL(wp), DIMENSION(jpi,jpj,jpl) ::   z_dqlw        ! long wave heat sensitivity over ice 
    843844      REAL(wp), DIMENSION(jpi,jpj,jpl) ::   z_dqsb        ! sensible  heat sensitivity over ice 
    844       REAL(wp), DIMENSION(jpi,jpj)     ::   zevap, zsnw   ! evaporation and snw distribution after wind blowing (LIM3) 
     845      REAL(wp), DIMENSION(jpi,jpj)     ::   zevap, zsnw   ! evaporation and snw distribution after wind blowing (SI3) 
    845846      REAL(wp), DIMENSION(jpi,jpj)     ::   zrhoa 
    846847      !!--------------------------------------------------------------------- 
     
    906907      END DO 
    907908      ! 
    908       tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac      ! total precipitation [kg/m2/s] 
    909       sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac      ! solid precipitation [kg/m2/s] 
     909      tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac * tmask(:,:,1)  ! total precipitation [kg/m2/s] 
     910      sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac * tmask(:,:,1)  ! solid precipitation [kg/m2/s] 
    910911      CALL iom_put( 'snowpre', sprecip )                    ! Snow precipitation 
    911912      CALL iom_put( 'precip' , tprecip )                    ! Total precipitation 
Note: See TracChangeset for help on using the changeset viewer.