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 12807 for NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/DIA/diadct.F90 – NEMO

Ignore:
Timestamp:
2020-04-23T15:14:45+02:00 (4 years ago)
Author:
smasson
Message:

Extra_Halo: input file only over inner domain + new variables names, see #2366

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/DIA/diadct.F90

    r12489 r12807  
    409409              ijloc=ijglo-njmpp+1   !  " 
    410410 
    411               !verify if the point is on the local domain:(1,nlei)*(1,nlej) 
    412               IF( iiloc >= 1 .AND. iiloc <= nlei .AND. & 
    413                   ijloc >= 1 .AND. ijloc <= nlej       )THEN 
     411              !verify if the point is on the local domain:(1,Nie0)*(1,Nje0) 
     412              IF( iiloc >= 1 .AND. iiloc <= Nie0 .AND. & 
     413                  ijloc >= 1 .AND. ijloc <= Nje0       )THEN 
    414414                 iptloc = iptloc + 1                                                 ! count local points 
    415415                 secs(jsec)%listPoint(iptloc) = POINT_SECTION(mi0(iiglo),mj0(ijglo)) ! store local coordinates 
     
    516516  
    517517     !which coordinate shall we verify ? 
    518      IF      ( cdind=='I' )THEN   ; itest=nlei ; iind=1 
    519      ELSE IF ( cdind=='J' )THEN   ; itest=nlej ; iind=2 
     518     IF      ( cdind=='I' )THEN   ; itest=Nie0 ; iind=1 
     519     ELSE IF ( cdind=='J' )THEN   ; itest=Nje0 ; iind=2 
    520520     ELSE    ; CALL ctl_stop("removepoints :Wrong value for cdind")  
    521521     ENDIF 
Note: See TracChangeset for help on using the changeset viewer.