Changeset 10793
- Timestamp:
- 2019-03-21T19:43:33+01:00 (6 years ago)
- Location:
- NEMO/branches/2019/dev_r10742_ENHANCE-12_SimonM-Tides
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10742_ENHANCE-12_SimonM-Tides/cfgs/SHARED/namelist_ref
r10570 r10793 566 566 ln_tide = .false. ! Activate tides 567 567 ln_tide_pot = .true. ! use tidal potential forcing 568 rn_tide_gamma = 0.7 ! Tidal tilt factor 568 569 ln_scal_load = .false. ! Use scalar approximation for 569 570 rn_scal_load = 0.094 ! load potential -
NEMO/branches/2019/dev_r10742_ENHANCE-12_SimonM-Tides/src/OCE/TDE/tide_mod.F90
r10777 r10793 54 54 REAL(wp), PUBLIC :: rn_scal_load !: 55 55 CHARACTER(lc), PUBLIC :: cn_tide_load !: 56 REAL(wp) :: rn_tide_gamma ! Tidal tilt factor 56 57 57 58 INTEGER , PUBLIC, ALLOCATABLE, DIMENSION(:) :: ntide !: … … 81 82 INTEGER :: ios ! Local integer output status for namelist read 82 83 ! 83 NAMELIST/nam_tide/ln_tide, ln_tide_pot, ln_scal_load, ln_read_load, cn_tide_load, &84 NAMELIST/nam_tide/ln_tide, ln_tide_pot, rn_tide_gamma, ln_scal_load, ln_read_load, cn_tide_load, & 84 85 & ln_tide_ramp, rn_scal_load, rdttideramp, clname 85 86 !!---------------------------------------------------------------------- … … 103 104 WRITE(numout,*) ' Use tidal components ln_tide = ', ln_tide 104 105 WRITE(numout,*) ' Apply astronomical potential ln_tide_pot = ', ln_tide_pot 106 WRITE(numout,*) ' Tidal tilt factor rn_tide_gamma= ', rn_tide_gamma 105 107 WRITE(numout,*) ' Use scalar approx. for load potential ln_scal_load = ', ln_scal_load 106 108 WRITE(numout,*) ' Read load potential from file ln_read_load = ', ln_read_load … … 180 182 181 183 DO jk = 1, nb_harmo 182 zcons = 0.7_wp* Wave(ntide(jk))%equitide * ftide(jk)184 zcons = rn_tide_gamma * Wave(ntide(jk))%equitide * ftide(jk) 183 185 DO ji = 1, jpi 184 186 DO jj = 1, jpj
Note: See TracChangeset
for help on using the changeset viewer.