Changeset 5769 for branches/2015/dev_r5187_UKMO13_simplification/NEMOGCM/TOOLS/SCOORD_GEN/src/scoord_gen.F90
- Timestamp:
- 2015-10-01T10:24:30+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5187_UKMO13_simplification/NEMOGCM/TOOLS/SCOORD_GEN/src/scoord_gen.F90
r5295 r5769 57 57 58 58 WRITE(*,*) 59 WRITE(*,*) ' domzgr_sco: s-coordinate or hybrid z-s-coordinate'59 WRITE(*,*) 'scoord_gen : s-coordinate or hybrid z-s-coordinate' 60 60 WRITE(*,*) '~~~~~~~~~~~' 61 61 WRITE(*,*) ' Namelist namzgr_sco' … … 66 66 WRITE(*,*) ' Critical depth rn_hc = ',rn_hc 67 67 WRITE(*,*) ' maximum cut-off r-value allowed rn_rmax = ',rn_rmax 68 WRITE(*,*) ' Tapering in vicinity of equator ln_eq_taper = ',ln_eq_taper 69 WRITE(*,*) ' Horizontal Coordinate File cn_coord_hgr = ',cn_coord_hgr 68 70 WRITE(*,*) ' Song and Haidvogel 1994 stretching ln_s_sh94 = ',ln_s_sh94 69 71 WRITE(*,*) ' Song and Haidvogel 1994 stretching coefficients' … … 126 128 END DO 127 129 END DO 128 WRITE(*,*) 'domzgr_sco print', bathy(196,147)129 130 ! 130 131 ! smooth the bathymetry (if required) … … 199 200 ! 200 201 ! Envelope bathymetry saved in hbatt 202 hbatt(:,:) = zenv(:,:) 201 203 ! TODO - get this section to work 202 hbatt(:,:) = zenv(:,:) 203 ! IF( MINVAL( gphit(:,:) ) * MAXVAL( gphit(:,:) ) <= 0. ) THEN 204 ! CALL ctl_warn( ' s-coordinates are tapered in vicinity of the Equator' ) 205 ! DO jj = 1, jpj 206 ! DO ji = 1, jpi 207 ! ztaper = EXP( -(gphit(ji,jj)/8.)**2. ) 208 ! hbatt(ji,jj) = rn_sbot_max * ztaper + hbatt(ji,jj) * ( 1. - ztaper ) 209 ! END DO 210 ! END DO 211 ! ENDIF 204 IF( ln_eq_taper) THEN 205 CALL READ_GPHIT() 206 IF( MINVAL( gphit(:,:) ) * MAXVAL( gphit(:,:) ) <= 0. ) THEN 207 CALL ctl_warn( ' s-coordinates are tapered in vicinity of the Equator' ) 208 DO jj = 1, jpj 209 DO ji = 1, jpi 210 ztaper = EXP( -(gphit(ji,jj)/8.)**2. ) 211 hbatt(ji,jj) = rn_sbot_max * ztaper + hbatt(ji,jj) * ( 1. - ztaper ) 212 END DO 213 END DO 214 ENDIF 212 215 ! 213 216 ! ! ==============================
Note: See TracChangeset
for help on using the changeset viewer.