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 6225 for branches/2014/dev_r4704_NOC5_MPP_BDY_UPDATE/NEMOGCM/NEMO/OPA_SRC/ICB/icbthm.F90 – NEMO

Ignore:
Timestamp:
2016-01-08T10:35:19+01:00 (8 years ago)
Author:
jamesharle
Message:

Update MPP_BDY_UPDATE branch to be consistent with head of trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4704_NOC5_MPP_BDY_UPDATE/NEMOGCM/NEMO/OPA_SRC/ICB/icbthm.F90

    • Property svn:keywords set to Id
    r3631 r6225  
    3131   PUBLIC   icb_thm ! routine called in icbstp.F90 module 
    3232 
     33   !! $Id$ 
    3334CONTAINS 
    3435 
     
    155156         ! use tmask rather than tmask_i when dealing with icebergs 
    156157         IF( tmask(ii,ij,1) /= 0._wp ) THEN    ! Add melting to the grid and field diagnostics 
    157             z1_e1e2    = 1._wp / e1e2t(ii,ij) * this%mass_scaling 
     158            z1_e1e2    = r1_e1e2t(ii,ij) * this%mass_scaling 
    158159            z1_dt_e1e2 = z1_dt * z1_e1e2 
    159160            zmelt    = ( zdM - ( zdMbitsE - zdMbitsM ) ) * z1_dt   ! kg/s 
     
    194195            ! 
    195196         ELSE                            ! Diagnose mass distribution on grid 
    196             z1_e1e2 = 1._wp / e1e2t(ii,ij) * this%mass_scaling 
     197            z1_e1e2 = r1_e1e2t(ii,ij) * this%mass_scaling 
    197198            CALL icb_dia_size( ii, ij, zWn, zLn, zAbits,   & 
    198199            &                  this%mass_scaling, zMnew, znMbits, z1_e1e2) 
Note: See TracChangeset for help on using the changeset viewer.