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.
#1879 (lbclnk.F90 : Minor bug in trunk/v3.6 in mono-processor only.) – NEMO

Opened 7 years ago

Closed 7 years ago

#1879 closed Bug (fixed)

lbclnk.F90 : Minor bug in trunk/v3.6 in mono-processor only.

Reported by: gm Owned by: mchekki
Priority: low Milestone:
Component: OCE Version: v3.6
Severity: Keywords: lbclnk, trunk
Cc:

Description

Context

Without key_mpp_mpi (mono-processor or key_c1d)

in both the v3.6_STABLE and the trunk

Analysis

In case of call to lbc_lnk_multi, the lateral boundary condition is not applied to the second array, but twice on the first one.

Indeed, The lines 227 and 485 (for the v3.6_STABLE) and the lines 237 and 492 (for the trunk) are:

IF(PRESENT (psgnB) )CALL lbc_lnk( pt2dA, cd_typeA, psgnA )

presence of field 'B' implies lbc_lnk applied on field 'A' ...

Fix

replace 'A' by 'B' in the call :

IF(PRESENT (psgnB) )CALL lbc_lnk( pt2dB, cd_typeB, psgnB )

Commit History (2)

ChangesetAuthorTimeChangeLog
8114lovato2017-06-01T15:53:35+02:00

trunk: bugfix for lbclnk.F90 (#1879)

8113lovato2017-06-01T15:53:24+02:00

3.6 stable: bugfix for lbclnk.F90 (#1879)

Change History (2)

comment:1 Changed 7 years ago by clevy

  • Owner changed from nemo to mchekki

comment:2 Changed 7 years ago by lovato

  • Resolution set to fixed
  • Status changed from new to closed

The bugfix fro lbclnk.F90 was applied to the nemo_V3.6_stable at r8113 and to the trunk at r8114.

Note: See TracTickets for help on using tickets.