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.
#2119 (improved land-processor suppression) – NEMO

Opened 6 years ago

Last modified 3 years ago

#2119 closed Defect

improved land-processor suppression — at Version 3

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: OCE Version: trunk
Severity: minor Keywords:
Cc:

Description (last modified by nicolasmartin)

Context

Today, land-processor are suppressed only if they are completely in a land.
I think, since the recent modifications in mppini, we could suppress domains, which have only their internal area (from nldi/j to nlei/j) in land.
This append for example with ORCA2 with a 7x4 decomposition. Today we must put jpnij = 27, we should be able to put 26.

Proposal

replace in mppini.F90

         !
         ! Check wet points over the entire domain to preserve the MPI communication stencil
         isurf = 0
         DO jj = 1, ilj
            DO  ji = 1, ili

by

         !
         ! Check wet points over the internal domain as MPI communication stencil will be latter modified in case of domain suppression
         isurf = 0
         DO jj = ildj(ii,ij), ilej(ii,ij)
            DO  ji = ildi(ii,ij), ilei(ii,ij)

Commit History (0)

(No commits)

Change History (3)

comment:1 Changed 6 years ago by smasson

  • Description modified (diff)

comment:2 Changed 6 years ago by smasson

In fact we have to be careful with the corners...
As we do east-west communications first and next north-south communications, the corner values are obtained through the north-south exchanges.
We therefore have to take care of the northern and southern neighbors of the land-domain we want to suppress. The corner values of these neighbors won't be received anymore, so we have to make sure they are land points. These corners points are also existing on the overlapping bands of the land-domain we want to suppress, their position is

  • For the northern neighbor: (1, jpj-1) and (jpi, jpj-1), that must be land
  • For the southern neighbor: (1, 2) and (jpi, 2), that must be land

So to suppress a land-domain, we have to make sure its internal area and these 4 points (if this domain has norther and/or southern neighbors) are land-points.

comment:3 Changed 6 years ago by nicolasmartin

  • Description modified (diff)
Note: See TracTickets for help on using tickets.