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 1499 for trunk/NEMO/OFF_SRC/DOM/domrea.F90 – NEMO

Ignore:
Timestamp:
2009-07-20T16:51:20+02:00 (15 years ago)
Author:
cetlod
Message:

Correction of the mbathy calculation, see ticket:475

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OFF_SRC/DOM/domrea.F90

    r1327 r1499  
    187187         DO jj = 1, jpj 
    188188            DO ji = 1, jpi 
    189                mbathy(ji,jj) = zprt(ji,jj) * tmask(ji,jj,1) + 1 
     189               mbathy(ji,jj) = MAX( zprt(ji,jj) * tmask(ji,jj,1), 1. ) + 1 
    190190            ENDDO 
    191191         ENDDO 
Note: See TracChangeset for help on using the changeset viewer.