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 6808 for branches/NERC/dev_r5549_BDY_ZEROGRAD/NEMOGCM/NEMO/OPA_SRC/DIA/diaptr.F90 – NEMO

Ignore:
Timestamp:
2016-07-19T10:38:35+02:00 (8 years ago)
Author:
jamesharle
Message:

merge with trunk@6232 for consistency with SSB code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5549_BDY_ZEROGRAD/NEMOGCM/NEMO/OPA_SRC/DIA/diaptr.F90

    r5147 r6808  
    5959   REAL(wp), TARGET, ALLOCATABLE, SAVE, DIMENSION(:,:)   :: p_fval2d 
    6060 
    61  
    6261   !! * Substitutions 
    63 #  include "domzgr_substitute.h90" 
    6462#  include "vectopt_loop_substitute.h90" 
    6563   !!---------------------------------------------------------------------- 
     
    118116               DO jj = 1, jpj 
    119117                  DO ji = 1, jpi 
    120                      zsfc = e1t(ji,jj) * fse3t(ji,jj,jk) 
     118                     zsfc = e1t(ji,jj) * e3t_n(ji,jj,jk) 
    121119                     zmask(ji,jj,jk)      = tmask(ji,jj,jk)      * zsfc 
    122120                     zts(ji,jj,jk,jp_tem) = tsn(ji,jj,jk,jp_tem) * zsfc 
    123121                     zts(ji,jj,jk,jp_sal) = tsn(ji,jj,jk,jp_sal) * zsfc 
    124                   ENDDO 
    125                ENDDO 
    126             ENDDO 
     122                  END DO 
     123               END DO 
     124            END DO 
    127125            DO jn = 1, nptr 
    128126               zmask(1,:,:) = ptr_sjk( zmask(:,:,:), btmsk(:,:,jn) ) 
Note: See TracChangeset for help on using the changeset viewer.