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 7083 for branches/UKMO/dev_r5518_GO6_package_MEDUSA_extra_CMIP6_diags/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2016-10-25T12:12:41+02:00 (8 years ago)
Author:
malcolmroberts
Message:

Merged in dev_r5518_GO6_package up to revision 7076

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_MEDUSA_extra_CMIP6_diags/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r7033 r7083  
    16181618      !!             ***  ROUTINE sbc_cpl_ice_flx  *** 
    16191619      !! 
    1620       !! ** Purpose :   provide the heat and freshwater fluxes of the  
    1621       !!              ocean-ice system. 
     1620      !! ** Purpose :   provide the heat and freshwater fluxes of the ocean-ice system 
    16221621      !! 
    16231622      !! ** Method  :   transform the fields received from the atmosphere into 
    16241623      !!             surface heat and fresh water boundary condition for the  
    16251624      !!             ice-ocean system. The following fields are provided: 
    1626       !!              * total non solar, solar and freshwater fluxes (qns_tot,  
     1625      !!               * total non solar, solar and freshwater fluxes (qns_tot,  
    16271626      !!             qsr_tot and emp_tot) (total means weighted ice-ocean flux) 
    16281627      !!             NB: emp_tot include runoffs and calving. 
    1629       !!              * fluxes over ice (qns_ice, qsr_ice, emp_ice) where 
     1628      !!               * fluxes over ice (qns_ice, qsr_ice, emp_ice) where 
    16301629      !!             emp_ice = sublimation - solid precipitation as liquid 
    16311630      !!             precipitation are re-routed directly to the ocean and  
    1632       !!             runoffs and calving directly enter the ocean. 
    1633       !!              * solid precipitation (sprecip), used to add to qns_tot  
     1631      !!             calving directly enter the ocean (runoffs are read but included in trasbc.F90) 
     1632      !!               * solid precipitation (sprecip), used to add to qns_tot  
    16341633      !!             the heat lost associated to melting solid precipitation 
    16351634      !!             over the ocean fraction. 
    1636       !!       ===>> CAUTION here this changes the net heat flux received from 
    1637       !!             the atmosphere 
    1638       !! 
    1639       !!                  - the fluxes have been separated from the stress as 
    1640       !!                 (a) they are updated at each ice time step compare to 
    1641       !!                 an update at each coupled time step for the stress, and 
    1642       !!                 (b) the conservative computation of the fluxes over the 
    1643       !!                 sea-ice area requires the knowledge of the ice fraction 
    1644       !!                 after the ice advection and before the ice thermodynamics, 
    1645       !!                 so that the stress is updated before the ice dynamics 
    1646       !!                 while the fluxes are updated after it. 
     1635      !!               * heat content of rain, snow and evap can also be provided, 
     1636      !!             otherwise heat flux associated with these mass flux are 
     1637      !!             guessed (qemp_oce, qemp_ice) 
     1638      !! 
     1639      !!             - the fluxes have been separated from the stress as 
     1640      !!               (a) they are updated at each ice time step compare to 
     1641      !!               an update at each coupled time step for the stress, and 
     1642      !!               (b) the conservative computation of the fluxes over the 
     1643      !!               sea-ice area requires the knowledge of the ice fraction 
     1644      !!               after the ice advection and before the ice thermodynamics, 
     1645      !!               so that the stress is updated before the ice dynamics 
     1646      !!               while the fluxes are updated after it. 
     1647      !! 
     1648      !! ** Details 
     1649      !!             qns_tot = pfrld * qns_oce + ( 1 - pfrld ) * qns_ice   => provided 
     1650      !!                     + qemp_oce + qemp_ice                         => recalculated and added up to qns 
     1651      !! 
     1652      !!             qsr_tot = pfrld * qsr_oce + ( 1 - pfrld ) * qsr_ice   => provided 
     1653      !! 
     1654      !!             emp_tot = emp_oce + emp_ice                           => calving is provided and added to emp_tot (and emp_oce) 
     1655      !!                                                                      river runoff (rnf) is provided but not included here 
    16471656      !! 
    16481657      !! ** Action  :   update at each nf_ice time step: 
    16491658      !!                   qns_tot, qsr_tot  non-solar and solar total heat fluxes 
    16501659      !!                   qns_ice, qsr_ice  non-solar and solar heat fluxes over the ice 
    1651       !!                   emp_tot            total evaporation - precipitation(liquid and solid) (-runoff)(-calving) 
    1652       !!                   emp_ice            ice sublimation - solid precipitation over the ice 
    1653       !!                   dqns_ice           d(non-solar heat flux)/d(Temperature) over the ice 
    1654       !!                   sprecip             solid precipitation over the ocean   
     1660      !!                   emp_tot           total evaporation - precipitation(liquid and solid) (-calving) 
     1661      !!                   emp_ice           ice sublimation - solid precipitation over the ice 
     1662      !!                   dqns_ice          d(non-solar heat flux)/d(Temperature) over the ice 
     1663      !!                   sprecip           solid precipitation over the ocean   
    16551664      !!---------------------------------------------------------------------- 
    16561665      REAL(wp), INTENT(in   ), DIMENSION(:,:)   ::   p_frld     ! lead fraction                [0 to 1] 
     
    16621671      INTEGER ::   jl         ! dummy loop index 
    16631672      REAL(wp), POINTER, DIMENSION(:,:  ) ::   zcptn, ztmp, zicefr, zmsk, zsnw 
    1664       REAL(wp), POINTER, DIMENSION(:,:  ) ::   zemp_tot, zemp_ice, zemp_oce, ztprecip, zsprecip, zevap, zevap_ice, zdevap_ice 
     1673      REAL(wp), POINTER, DIMENSION(:,:  ) ::   zemp_tot, zemp_ice, zemp_oce, ztprecip, zsprecip, zevap_oce, zevap_ice, zdevap_ice 
    16651674      REAL(wp), POINTER, DIMENSION(:,:  ) ::   zqns_tot, zqns_oce, zqsr_tot, zqsr_oce, zqprec_ice, zqemp_oce, zqemp_ice 
    16661675      REAL(wp), POINTER, DIMENSION(:,:,:) ::   zqns_ice, zqsr_ice, zdqns_ice, zqevap_ice 
     
    16701679      ! 
    16711680      CALL wrk_alloc( jpi,jpj,     zcptn, ztmp, zicefr, zmsk, zsnw ) 
    1672       CALL wrk_alloc( jpi,jpj,     zemp_tot, zemp_ice, zemp_oce, ztprecip, zsprecip, zevap, zevap_ice, zdevap_ice ) 
     1681      CALL wrk_alloc( jpi,jpj,     zemp_tot, zemp_ice, zemp_oce, ztprecip, zsprecip, zevap_oce, zevap_ice, zdevap_ice ) 
    16731682      CALL wrk_alloc( jpi,jpj,     zqns_tot, zqns_oce, zqsr_tot, zqsr_oce, zqprec_ice, zqemp_oce, zqemp_ice ) 
    16741683      CALL wrk_alloc( jpi,jpj,jpl, zqns_ice, zqsr_ice, zdqns_ice, zqevap_ice ) 
     
    16791688      ! 
    16801689      !                                                      ! ========================= ! 
    1681       !                                                      !    freshwater budget      !   (emp) 
     1690      !                                                      !    freshwater budget      !   (emp_tot) 
    16821691      !                                                      ! ========================= ! 
    16831692      ! 
    1684       !                                                           ! total Precipitation - total Evaporation (emp_tot) 
    1685       !                                                           ! solid precipitation - sublimation       (emp_ice) 
    1686       !                                                           ! solid Precipitation                     (sprecip) 
    1687       !                                                           ! liquid + solid Precipitation            (tprecip) 
     1693      !                                                           ! solid Precipitation                                (sprecip) 
     1694      !                                                           ! liquid + solid Precipitation                       (tprecip) 
     1695      !                                                           ! total Evaporation - total Precipitation            (emp_tot) 
     1696      !                                                           ! sublimation - solid precipitation (cell average)   (emp_ice) 
    16881697      SELECT CASE( TRIM( sn_rcv_emp%cldes ) ) 
    16891698      CASE( 'conservative'  )   ! received fields: jpr_rain, jpr_snow, jpr_ievp, jpr_tevp 
     
    17171726         ENDIF 
    17181727#else          
    1719          zemp_ice(:,:) = frcv(jpr_ievp)%z3(:,:,1) - frcv(jpr_snow)%z3(:,:,1) 
     1728         zemp_ice(:,:) = ( frcv(jpr_ievp)%z3(:,:,1) - frcv(jpr_snow)%z3(:,:,1) ) * zicefr(:,:) 
    17201729#endif                   
    17211730         CALL iom_put( 'rain'         , frcv(jpr_rain)%z3(:,:,1) * tmask(:,:,1)      )   ! liquid precipitation  
     
    17331742      CASE( 'oce and ice'   )   ! received fields: jpr_sbpr, jpr_semp, jpr_oemp, jpr_ievp 
    17341743         zemp_tot(:,:) = p_frld(:,:) * frcv(jpr_oemp)%z3(:,:,1) + zicefr(:,:) * frcv(jpr_sbpr)%z3(:,:,1) 
    1735          zemp_ice(:,:) = frcv(jpr_semp)%z3(:,:,1) 
     1744         zemp_ice(:,:) = frcv(jpr_semp)%z3(:,:,1) * zicefr(:,:) 
    17361745         zsprecip(:,:) = frcv(jpr_ievp)%z3(:,:,1) - frcv(jpr_semp)%z3(:,:,1) 
    17371746         ztprecip(:,:) = frcv(jpr_semp)%z3(:,:,1) - frcv(jpr_sbpr)%z3(:,:,1) + zsprecip(:,:) 
     
    17391748 
    17401749#if defined key_lim3 
    1741       ! zsnw = snow percentage over ice after wind blowing 
    1742       zsnw(:,:) = 0._wp 
    1743       CALL lim_thd_snwblow( p_frld, zsnw ) 
     1750      ! zsnw = snow fraction over ice after wind blowing 
     1751      zsnw(:,:) = 0._wp  ;  CALL lim_thd_snwblow( p_frld, zsnw ) 
    17441752       
    1745       ! --- evaporation (kg/m2/s) --- ! 
     1753      ! --- evaporation minus precipitation corrected (because of wind blowing on snow) --- ! 
     1754      zemp_ice(:,:) = zemp_ice(:,:) + zsprecip(:,:) * ( zicefr(:,:) - zsnw(:,:) )  ! emp_ice = A * sublimation - zsnw * sprecip 
     1755      zemp_oce(:,:) = zemp_tot(:,:) - zemp_ice(:,:)                                ! emp_oce = emp_tot - emp_ice 
     1756 
     1757      ! --- evaporation over ocean (used later for qemp) --- ! 
     1758      zevap_oce(:,:) = frcv(jpr_tevp)%z3(:,:,1) - frcv(jpr_ievp)%z3(:,:,1) * zicefr(:,:) 
     1759 
     1760      ! --- evaporation over ice (kg/m2/s) --- ! 
    17461761      zevap_ice(:,:) = frcv(jpr_ievp)%z3(:,:,1) 
    17471762      ! since the sensitivity of evap to temperature (devap/dT) is not prescribed by the atmosphere, we set it to 0 
     
    17491764      zdevap_ice(:,:) = 0._wp 
    17501765       
    1751       ! --- evaporation minus precipitation corrected for the effect of wind blowing on snow --- ! 
    1752       zemp_oce(:,:) = zemp_tot(:,:) - zemp_ice(:,:) - zsprecip * (1._wp - zsnw) 
    1753       zemp_ice(:,:) = zemp_ice(:,:) + zsprecip * (1._wp - zsnw)           
    1754  
    1755       ! Sublimation over sea-ice (cell average) 
    1756       IF( iom_use('subl_ai_cea') )  CALL iom_put( 'subl_ai_cea', zevap_ice(:,:) * zicefr(:,:) ) 
    1757       ! runoffs and calving (put in emp_tot) 
     1766      ! --- runoffs (included in emp later on) --- ! 
    17581767      IF( srcv(jpr_rnf)%laction )   rnf(:,:) = frcv(jpr_rnf)%z3(:,:,1) 
     1768 
     1769      ! --- calving (put in emp_tot and emp_oce) --- ! 
    17591770      IF( srcv(jpr_cal)%laction ) THEN  
    17601771         zemp_tot(:,:) = zemp_tot(:,:) - frcv(jpr_cal)%z3(:,:,1) 
     1772         zemp_oce(:,:) = zemp_oce(:,:) - frcv(jpr_cal)%z3(:,:,1) 
    17611773         CALL iom_put( 'calving_cea', frcv(jpr_cal)%z3(:,:,1) ) 
    17621774      ENDIF 
     
    17841796      ENDIF 
    17851797 
    1786                                      CALL iom_put( 'snowpre'    , sprecip                         )  ! Snow 
    1787       IF( iom_use('snow_ao_cea') )   CALL iom_put( 'snow_ao_cea', sprecip(:,:) * ( 1._wp - zsnw ) )  ! Snow over ice-free ocean  (cell average) 
    1788       IF( iom_use('snow_ai_cea') )   CALL iom_put( 'snow_ai_cea', sprecip(:,:) *           zsnw   )  ! Snow over sea-ice         (cell average)     
     1798      IF( iom_use('subl_ai_cea') )   CALL iom_put( 'subl_ai_cea', zevap_ice(:,:) * zicefr(:,:)         )  ! Sublimation over sea-ice (cell average) 
     1799                                     CALL iom_put( 'snowpre'    , sprecip(:,:)                         )  ! Snow 
     1800      IF( iom_use('snow_ao_cea') )   CALL iom_put( 'snow_ao_cea', sprecip(:,:) * ( 1._wp - zsnw(:,:) ) )  ! Snow over ice-free ocean  (cell average) 
     1801      IF( iom_use('snow_ai_cea') )   CALL iom_put( 'snow_ai_cea', sprecip(:,:) *           zsnw(:,:)   )  ! Snow over sea-ice         (cell average) 
    17891802#else 
    1790       ! Sublimation over sea-ice (cell average) 
    1791       IF( iom_use('subl_ai_cea') )  CALL iom_put( 'subl_ai_cea', frcv(jpr_ievp)%z3(:,:,1) * zicefr(:,:) ) 
    17921803      ! runoffs and calving (put in emp_tot) 
    17931804      IF( srcv(jpr_rnf)%laction )   rnf(:,:) = frcv(jpr_rnf)%z3(:,:,1) 
     
    18211832      SELECT CASE( TRIM( sn_rcv_qns%cldes ) )                !   non solar heat fluxes   !   (qns) 
    18221833      !                                                      ! ========================= ! 
    1823       CASE( 'oce only' )                                     ! the required field is directly provided 
    1824          zqns_tot(:,:  ) = frcv(jpr_qnsoce)%z3(:,:,1) 
    1825       CASE( 'conservative' )                                      ! the required fields are directly provided 
    1826          zqns_tot(:,:  ) = frcv(jpr_qnsmix)%z3(:,:,1) 
     1834      CASE( 'oce only' )         ! the required field is directly provided 
     1835         zqns_tot(:,:) = frcv(jpr_qnsoce)%z3(:,:,1) 
     1836      CASE( 'conservative' )     ! the required fields are directly provided 
     1837         zqns_tot(:,:) = frcv(jpr_qnsmix)%z3(:,:,1) 
    18271838         IF ( TRIM(sn_rcv_qns%clcat) == 'yes' ) THEN 
    18281839            zqns_ice(:,:,1:jpl) = frcv(jpr_qnsice)%z3(:,:,1:jpl) 
    18291840         ELSE 
    1830             ! Set all category values equal for the moment 
    18311841            DO jl=1,jpl 
    1832                zqns_ice(:,:,jl) = frcv(jpr_qnsice)%z3(:,:,1) 
     1842               zqns_ice(:,:,jl) = frcv(jpr_qnsice)%z3(:,:,1) ! Set all category values equal 
    18331843            ENDDO 
    18341844         ENDIF 
    1835       CASE( 'oce and ice' )       ! the total flux is computed from ocean and ice fluxes 
    1836          zqns_tot(:,:  ) =  p_frld(:,:) * frcv(jpr_qnsoce)%z3(:,:,1) 
     1845      CASE( 'oce and ice' )      ! the total flux is computed from ocean and ice fluxes 
     1846         zqns_tot(:,:) =  p_frld(:,:) * frcv(jpr_qnsoce)%z3(:,:,1) 
    18371847         IF ( TRIM(sn_rcv_qns%clcat) == 'yes' ) THEN 
    18381848            DO jl=1,jpl 
     
    18411851            ENDDO 
    18421852         ELSE 
    1843             qns_tot(:,:   ) = qns_tot(:,:) + zicefr(:,:) * frcv(jpr_qnsice)%z3(:,:,1) 
     1853            qns_tot(:,:) = qns_tot(:,:) + zicefr(:,:) * frcv(jpr_qnsice)%z3(:,:,1) 
    18441854            DO jl=1,jpl 
    18451855               zqns_tot(:,:   ) = zqns_tot(:,:) + zicefr(:,:) * frcv(jpr_qnsice)%z3(:,:,1) 
     
    18471857            ENDDO 
    18481858         ENDIF 
    1849       CASE( 'mixed oce-ice' )     ! the ice flux is cumputed from the total flux, the SST and ice informations 
     1859      CASE( 'mixed oce-ice' )    ! the ice flux is cumputed from the total flux, the SST and ice informations 
    18501860! ** NEED TO SORT OUT HOW THIS SHOULD WORK IN THE MULTI-CATEGORY CASE - CURRENTLY NOT ALLOWED WHEN INTERFACE INITIALISED ** 
    18511861         zqns_tot(:,:  ) = frcv(jpr_qnsmix)%z3(:,:,1) 
    18521862         zqns_ice(:,:,1) = frcv(jpr_qnsmix)%z3(:,:,1)    & 
    18531863            &            + frcv(jpr_dqnsdt)%z3(:,:,1) * ( pist(:,:,1) - ( (rt0 + psst(:,:  ) ) * p_frld(:,:)   & 
    1854             &                                                   +          pist(:,:,1)  * zicefr(:,:) ) ) 
     1864            &                                           + pist(:,:,1) * zicefr(:,:) ) ) 
    18551865      END SELECT 
    18561866!!gm 
     
    18621872!! similar job should be done for snow and precipitation temperature 
    18631873      !                                      
    1864       IF( srcv(jpr_cal)%laction ) THEN                            ! Iceberg melting  
    1865          ztmp(:,:) = frcv(jpr_cal)%z3(:,:,1) * lfus               ! add the latent heat of iceberg melting  
    1866          zqns_tot(:,:) = zqns_tot(:,:) - ztmp(:,:) 
    1867          IF( iom_use('hflx_cal_cea') )   & 
    1868             CALL iom_put( 'hflx_cal_cea', ztmp + frcv(jpr_cal)%z3(:,:,1) * zcptn(:,:) )   ! heat flux from calving 
    1869       ENDIF 
    1870  
    1871       ztmp(:,:) = p_frld(:,:) * zsprecip(:,:) * lfus 
    1872       IF( iom_use('hflx_snow_cea') )    CALL iom_put( 'hflx_snow_cea', ztmp + sprecip(:,:) * zcptn(:,:) )   ! heat flux from snow (cell average) 
     1874      IF( srcv(jpr_cal)%laction ) THEN   ! Iceberg melting  
     1875         zqns_tot(:,:) = zqns_tot(:,:) - frcv(jpr_cal)%z3(:,:,1) * lfus  ! add the latent heat of iceberg melting 
     1876                                                                         ! we suppose it melts at 0deg, though it should be temp. of surrounding ocean 
     1877         IF( iom_use('hflx_cal_cea') )   CALL iom_put( 'hflx_cal_cea', - frcv(jpr_cal)%z3(:,:,1) * lfus )   ! heat flux from calving 
     1878      ENDIF 
    18731879 
    18741880#if defined key_lim3       
    1875       ! --- evaporation --- ! 
    1876       zevap(:,:) = zemp_tot(:,:) + ztprecip(:,:) ! evaporation over ocean 
    1877  
    18781881      ! --- non solar flux over ocean --- ! 
    18791882      !         note: p_frld cannot be = 0 since we limit the ice concentration to amax 
     
    18821885 
    18831886      ! --- heat flux associated with emp (W/m2) --- ! 
    1884       zqemp_oce(:,:) = -      zevap(:,:)                   * p_frld(:,:)      *   zcptn(:,:)   &      ! evap 
    1885          &             + ( ztprecip(:,:) - zsprecip(:,:) )                    *   zcptn(:,:)   &      ! liquid precip 
    1886          &             +   zsprecip(:,:)                   * ( 1._wp - zsnw ) * ( zcptn(:,:) - lfus ) ! solid precip over ocean 
     1887      zqemp_oce(:,:) = -  zevap_oce(:,:)                                      *   zcptn(:,:)   &       ! evap 
     1888         &             + ( ztprecip(:,:) - zsprecip(:,:) )                    *   zcptn(:,:)   &       ! liquid precip 
     1889         &             +   zsprecip(:,:)                   * ( 1._wp - zsnw ) * ( zcptn(:,:) - lfus )  ! solid precip over ocean + snow melting 
    18871890!      zqemp_ice(:,:) = -   frcv(jpr_ievp)%z3(:,:,1)        * zicefr(:,:)      *   zcptn(:,:)   &      ! ice evap 
    18881891!         &             +   zsprecip(:,:)                   * zsnw             * ( zcptn(:,:) - lfus ) ! solid precip over ice 
    18891892      zqemp_ice(:,:) =      zsprecip(:,:)                   * zsnw             * ( zcptn(:,:) - lfus ) ! solid precip over ice (only) 
    1890                                                                                                        ! qevap_ice=0 since we consider Tice=0°C 
     1893                                                                                                       ! qevap_ice=0 since we consider Tice=0degC 
    18911894       
    1892       ! --- heat content of precip over ice in J/m3 (to be used in 1D-thermo) --- ! 
     1895      ! --- enthalpy of snow precip over ice in J/m3 (to be used in 1D-thermo) --- ! 
    18931896      zqprec_ice(:,:) = rhosn * ( zcptn(:,:) - lfus ) 
    18941897 
    18951898      ! --- heat content of evap over ice in W/m2 (to be used in 1D-thermo) --- ! 
    18961899      DO jl = 1, jpl 
    1897          zqevap_ice(:,:,jl) = 0._wp ! should be -evap * ( ( Tice - rt0 ) * cpic ) but we do not have Tice, so we consider Tice=0°C 
     1900         zqevap_ice(:,:,jl) = 0._wp ! should be -evap * ( ( Tice - rt0 ) * cpic ) but we do not have Tice, so we consider Tice=0degC 
    18981901      END DO 
    18991902 
     
    19211924         qemp_ice (:,:  ) = zqemp_ice (:,:  ) 
    19221925      ENDIF 
     1926 
     1927      !! clem: we should output qemp_oce and qemp_ice (at least) 
     1928      IF( iom_use('hflx_snow_cea') )   CALL iom_put( 'hflx_snow_cea', sprecip(:,:) * ( zcptn(:,:) - Lfus ) )   ! heat flux from snow (cell average) 
     1929      !! these diags are not outputed yet 
     1930!!      IF( iom_use('hflx_rain_cea') )   CALL iom_put( 'hflx_rain_cea', ( tprecip(:,:) - sprecip(:,:) ) * zcptn(:,:) )   ! heat flux from rain (cell average) 
     1931!!      IF( iom_use('hflx_snow_ao_cea') ) CALL iom_put( 'hflx_snow_ao_cea', sprecip(:,:) * ( zcptn(:,:) - Lfus ) * (1._wp - zsnw(:,:)) ) ! heat flux from snow (cell average) 
     1932!!      IF( iom_use('hflx_snow_ai_cea') ) CALL iom_put( 'hflx_snow_ai_cea', sprecip(:,:) * ( zcptn(:,:) - Lfus ) * zsnw(:,:) ) ! heat flux from snow (cell average) 
     1933 
    19231934#else 
    19241935      ! clem: this formulation is certainly wrong... but better than it was... 
     
    19271938         &          - (p_frld(:,:) * zsprecip(:,:) * lfus)  &          ! remove the latent heat flux of solid precip. melting 
    19281939         &          - (  zemp_tot(:,:)                    &            ! remove the heat content of mass flux (assumed to be at SST) 
    1929          &             - zemp_ice(:,:) * zicefr(:,:)  ) * zcptn(:,:)  
     1940         &             - zemp_ice(:,:) ) * zcptn(:,:)  
    19301941 
    19311942     IF( ln_mixcpl ) THEN 
     
    20472058 
    20482059      CALL wrk_dealloc( jpi,jpj,     zcptn, ztmp, zicefr, zmsk, zsnw ) 
    2049       CALL wrk_dealloc( jpi,jpj,     zemp_tot, zemp_ice, zemp_oce, ztprecip, zsprecip, zevap, zevap_ice, zdevap_ice ) 
     2060      CALL wrk_dealloc( jpi,jpj,     zemp_tot, zemp_ice, zemp_oce, ztprecip, zsprecip, zevap_oce, zevap_ice, zdevap_ice ) 
    20502061      CALL wrk_dealloc( jpi,jpj,     zqns_tot, zqns_oce, zqsr_tot, zqsr_oce, zqprec_ice, zqemp_oce, zqemp_ice ) 
    20512062      CALL wrk_dealloc( jpi,jpj,jpl, zqns_ice, zqsr_ice, zdqns_ice, zqevap_ice ) 
Note: See TracChangeset for help on using the changeset viewer.