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 5779 for branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/lib_fortran.F90 – NEMO

Ignore:
Timestamp:
2015-10-06T18:28:13+02:00 (9 years ago)
Author:
mathiot
Message:

ISF coupling branch: correct some compilation issues, remove code related to MISOMIP/ISOMIP+ and polishing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/lib_fortran.F90

    r5619 r5779  
    163163   FUNCTION glob_sum_full_2d( ptab ) 
    164164      !!---------------------------------------------------------------------- 
    165       !!                  ***  FUNCTION  glob_sum_2d *** 
    166       !! 
    167       !! ** Purpose : perform a sum in calling DDPDD routine 
     165      !!                  ***  FUNCTION  glob_sum_full_2d *** 
     166      !! 
     167      !! ** Purpose : perform a sum in calling DDPDD routine (nomask) 
    168168      !!---------------------------------------------------------------------- 
    169169      REAL(wp), INTENT(in), DIMENSION(:,:) ::   ptab 
    170       REAL(wp)                             ::   glob_sum_full_2d   ! global masked sum 
     170      REAL(wp)                             ::   glob_sum_full_2d   ! global sum 
    171171      !! 
    172172      !!----------------------------------------------------------------------- 
     
    179179   FUNCTION glob_sum_full_3d( ptab ) 
    180180      !!---------------------------------------------------------------------- 
    181       !!                  ***  FUNCTION  glob_sum_3d *** 
    182       !! 
    183       !! ** Purpose : perform a sum on a 3D array in calling DDPDD routine 
     181      !!                  ***  FUNCTION  glob_sum_full_3d *** 
     182      !! 
     183      !! ** Purpose : perform a sum on a 3D array in calling DDPDD routine (nomask) 
    184184      !!---------------------------------------------------------------------- 
    185185      REAL(wp), INTENT(in), DIMENSION(:,:,:) ::   ptab 
    186       REAL(wp)                               ::   glob_sum_full_3d   ! global masked sum 
     186      REAL(wp)                               ::   glob_sum_full_3d   ! global sum 
    187187      !! 
    188188      INTEGER    ::   ji, jj, jk   ! dummy loop indices 
     
    192192      ijpk = SIZE(ptab,3) 
    193193      ! 
    194       glob_sum_3d = 0.e0 
     194      glob_sum_full_3d = 0.e0 
    195195      DO jk = 1, ijpk 
    196          glob_sum_3d = glob_sum_3d + SUM( ptab(:,:,jk) ) 
     196         glob_sum_full_3d = glob_sum_full_3d + SUM( ptab(:,:,jk) ) 
    197197      END DO 
    198198      IF( lk_mpp )   CALL mpp_sum( glob_sum_full_3d ) 
Note: See TracChangeset for help on using the changeset viewer.