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 3640 for branches/2012/dev_r3604_LEGI8_TAM/NEMOGCM/NEMO/OPATAM_SRC/dotprodfld.F90 – NEMO

Ignore:
Timestamp:
2012-11-23T14:57:56+01:00 (11 years ago)
Author:
pabouttier
Message:

Missing allocation/deallocation in TAM routines - See ticket #1013

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3604_LEGI8_TAM/NEMOGCM/NEMO/OPATAM_SRC/dotprodfld.F90

    r3611 r3640  
    6161         & pvec2 
    6262      !! * Local declarations 
    63       dot_product_3d = glob_sum(pvec1(:,:,:) * pvec2(:,:,:))!= glob_sum( & 
    64          !&                       PACK( pvec1(nldi:nlei,nldj:nlej,:),.TRUE.) * & 
    65          !&                       PACK( pvec2(nldi:nlei,nldj:nlej,:),.TRUE.),  & 
    66          !&                       (nlei-nldi+1) * (nlej-nldj+1) * jpk ) 
     63 
     64      dot_product_3d = glob_sum( & 
     65         &                       PACK( pvec1(nldi:nlei,nldj:nlej,:),.TRUE.) * & 
     66         &                       PACK( pvec2(nldi:nlei,nldj:nlej,:),.TRUE.),  & 
     67         &                       (nlei-nldi+1) * (nlej-nldj+1) * jpk ) 
    6768 
    6869   END FUNCTION dot_product_3d 
Note: See TracChangeset for help on using the changeset viewer.