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 15058 for NEMO/trunk/src/OCE/ASM – NEMO

Ignore:
Timestamp:
2021-06-25T11:15:15+02:00 (3 years ago)
Author:
clem
Message:

nn_hls=2: repare tiling from my previous commit r15055. But then ww is not defined on the halos and it is needed in traadv. I'll try to find a solution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/ASM/asminc.F90

    r15055 r15058  
    822822      ! 
    823823      IF( ln_linssh ) THEN 
    824          DO_2D_OVR( nn_hls, nn_hls, nn_hls, nn_hls ) 
     824         DO_2D_OVR( nn_hls-1, nn_hls, nn_hls-1, nn_hls ) 
    825825            phdivn(ji,jj,1) = phdivn(ji,jj,1) - ssh_iau(ji,jj) / e3t(ji,jj,1,Kmm) * tmask(ji,jj,1) 
    826826         END_2D 
    827827      ELSE 
    828828         ALLOCATE( ztim(A2D(nn_hls)) ) 
    829          DO_2D_OVR( nn_hls, nn_hls, nn_hls, nn_hls ) 
     829         DO_2D_OVR( nn_hls-1, nn_hls, nn_hls-1, nn_hls ) 
    830830            ztim(ji,jj) = ssh_iau(ji,jj) / ( ht(ji,jj) + 1.0 - ssmask(ji,jj) ) 
    831831            DO jk = 1, jpkm1 
Note: See TracChangeset for help on using the changeset viewer.