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 4616 for branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/BDY/bdyvol.F90 – NEMO

Ignore:
Timestamp:
2014-04-06T17:28:25+02:00 (10 years ago)
Author:
gm
Message:

#1260 : see the associated wiki page for explanation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/BDY/bdyvol.F90

    r4292 r4616  
    1515   !!   'key_dynspg_flt'                              filtered free surface 
    1616   !!---------------------------------------------------------------------- 
    17    USE timing          ! Timing 
    1817   USE oce             ! ocean dynamics and tracers  
     18   USE bdy_oce         ! ocean open boundary conditions 
     19   USE sbc_oce         ! ocean surface boundary conditions 
    1920   USE dom_oce         ! ocean space and time domain  
    2021   USE phycst          ! physical constants 
    21    USE bdy_oce         ! ocean open boundary conditions 
     22   ! 
     23   USE in_out_manager  ! I/O manager 
    2224   USE lib_mpp         ! for mppsum 
    23    USE in_out_manager  ! I/O manager 
    24    USE sbc_oce         ! ocean surface boundary conditions 
     25   USE timing          ! Timing 
     26   USE lib_fortran     ! Fortran routines library 
    2527 
    2628   IMPLICIT NONE 
     
    3234#  include "domzgr_substitute.h90" 
    3335   !!---------------------------------------------------------------------- 
    34    !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
     36   !! NEMO/OPA 3.7 , NEMO Consortium (2014) 
    3537   !! $Id$  
    3638   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
     
    9092      ! Calculate the cumulate surface Flux z_cflxemp (m3/s) over all the domain 
    9193      ! ----------------------------------------------------------------------- 
    92       z_cflxemp = SUM ( ( emp(:,:)-rnf(:,:) ) * bdytmask(:,:) * e1t(:,:) * e2t(:,:) ) / rau0 
    93       IF( lk_mpp )   CALL mpp_sum( z_cflxemp )     ! sum over the global domain 
     94      z_cflxemp = glob_sum( ( emp(:,:)-rnf(:,:) ) * bdytmask(:,:) * e1e2t(:,:) ) / rau0 
    9495 
    9596      ! Transport through the unstructured open boundary 
Note: See TracChangeset for help on using the changeset viewer.