#2289 closed Bug (fixed)

Edge bathymetry values are wrong in the OVERFLOW test case (at U-points)

Reported by: jchanut Owned by: systeam
Priority: low Milestone:
Component: DOM Version: release-4.0
Severity: minor Keywords: test_cases
Cc:

Description

Context

Trivial bug in OVERFLOW test case: bathymetry computation at U-points in usrdef_zgr.F90

Analysis

Bathymetry at U-points needs to be assigned non-zero values at eastern and western walls (so that later computation of scale factors does not give null thicknesses). This is done by the following lines:

      DO ji = mi0(1), mi1(1)              ! first row of global domain only
         zhu(ji,2) = zht(1,2)
      END DO
       DO ji = mi0(jpi), mi1(jpi)         ! last  row of global domain only
         zhu(ji,2) = zht(jpi,2)
      END DO

It should rather be:

      DO ji = mi0(1), mi1(1)              ! first row of global domain only
         zhu(ji,2) = zht(ji,2)
      END DO
       DO ji = mi0(jpiglo), mi1(jpiglo)   ! last  row of global domain only
         zhu(ji,2) = zht(ji,2)
      END DO


Commit History (2)

ChangesetAuthorTimeChangeLog
11077jchanut2019-06-05T16:13:02+02:00

Correct bathymetry at U-points, #2289

11076jchanut2019-06-05T16:11:54+02:00

Correct bathymetry at U-points, #2289

Change History (3)

comment:1 Changed 10 months ago by jchanut

In 11076:

Correct bathymetry at U-points, #2289

comment:2 Changed 10 months ago by jchanut

In 11077:

Correct bathymetry at U-points, #2289

comment:3 Changed 10 months ago by jchanut

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.