- Timestamp:
- 2017-12-01T05:41:32+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/ROMS_WAD_7832/NEMOGCM/NEMO/OPA_SRC/stpctl.F90
r8841 r8865 22 22 USE lib_mpp ! distributed memory computing 23 23 USE lib_fortran ! Fortran routines library 24 USE wet_dry, ONLY: ln_wd, ln_rwd, rn_ssh_ref ! reference depth for negative bathy 24 25 25 26 IMPLICIT NONE … … 150 151 DO jj = 1, jpj 151 152 DO ji = 1, jpi 152 IF( tmask(ji,jj,1) == 1) zsshmax = MAX( zsshmax, ABS(sshn(ji,jj)) ) 153 IF( (ln_wd .OR. ln_rwd)) THEN 154 IF( tmask(ji,jj,1) == 1) zsshmax = MAX( zsshmax, ABS(sshn(ji,jj)+rn_ssh_ref) ) 155 ELSE 156 IF( tmask(ji,jj,1) == 1) zsshmax = MAX( zsshmax, ABS(sshn(ji,jj)) ) 157 ENDIF 153 158 END DO 154 159 END DO
Note: See TracChangeset
for help on using the changeset viewer.