id summary reporter owner description type status priority milestone component version severity resolution keywords cc 1617 BUG in domzgr.F90 when defining the envelop bathymetry (both v3.6 stable & trunk) gm timgraham "In domzgr.F90, lines 1873 , bathy(iim1,ijm1) appears twice ! This seams to be a BUG. Someone can confirm this ? Replace the following lines: {{{ 1872 IF( (bathy(iip1,jj) + bathy(iim1,jj) + bathy(ji,ijp1) + bathy(ji,ijm1) + & 1873 & bathy(iip1,ijp1) + bathy(iim1,ijm1) + bathy(iip1,ijp1) + bathy(iim1,ijm1)) > 0._wp ) THEN 1874 zenv(ji,jj) = rn_sbot_min 1875 ENDIF }}} by the much readable (and bug free) following lines {{{ IF( ( + bathy(iim1,ipm1) + bathy(ji,ijp1) + bathy(iip1,ijp1) & & + bathy(iim1,jj ) + bathy(iip1,jj ) & & + bathy(iim1,ijm1) + bathy(ji,ijm1) + bathy(iip1,ijp1) ) > 0._wp ) THEN zenv(ji,jj) = rn_sbot_min ENDIF }}} Gurvan" Bug closed low OCE trunk fixed SCO trunk