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 6060 for branches/2015/dev_merge_2015/NEMOGCM/NEMO/TOP_SRC/trcini.F90 – NEMO

Ignore:
Timestamp:
2015-12-16T10:25:22+01:00 (8 years ago)
Author:
timgraham
Message:

Merged dev_r5836_noc2_VVL_BY_DEFAULT into branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_merge_2015/NEMOGCM/NEMO/TOP_SRC/trcini.F90

    r5836 r6060  
    3232   PUBLIC   trc_init   ! called by opa 
    3333 
    34     !! * Substitutions 
    35 #  include "domzgr_substitute.h90" 
    3634   !!---------------------------------------------------------------------- 
    3735   !! NEMO/TOP 4.0 , NEMO Consortium (2011) 
     
    119117      !                                                              ! masked grid volume 
    120118      DO jk = 1, jpk 
    121          cvol(:,:,jk) = e1e2t(:,:) * fse3t(:,:,jk) * tmask(:,:,jk) 
     119         cvol(:,:,jk) = e1e2t(:,:) * e3t_n(:,:,jk) * tmask(:,:,jk) 
    122120      END DO 
    123       IF( lk_degrad ) cvol(:,:,:) = cvol(:,:,:) * facvol(:,:,:)      ! degrad option: reduction by facvol 
     121      IF( lk_degrad )   cvol(:,:,:) = cvol(:,:,:) * facvol(:,:,:)    ! degrad option: reduction by facvol 
    124122      !                                                              ! total volume of the ocean  
    125123      areatot = glob_sum( cvol(:,:,:) ) 
Note: See TracChangeset for help on using the changeset viewer.