- Timestamp:
- 2020-02-24T14:00:21+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/KERNEL-03_Storkey_Coward_RK3_stage2/src/OCE/TDE/tide_mod.F90
r12406 r12443 64 64 INTEGER , PUBLIC :: nb_harmo !: Number of active tidal components 65 65 REAL(wp), PUBLIC :: rn_tide_ramp_dt !: 66 REAL(wp), PUBLIC :: rn_ scal_load !:66 REAL(wp), PUBLIC :: rn_load !: 67 67 CHARACTER(lc), PUBLIC :: cn_tide_load !: 68 68 REAL(wp) :: rn_tide_gamma ! Tidal tilt factor … … 124 124 NAMELIST/nam_tide/ln_tide, nn_tide_var, ln_tide_dia, ln_tide_pot, rn_tide_gamma, & 125 125 & ln_scal_load, ln_read_load, cn_tide_load, & 126 & ln_tide_ramp, rn_ scal_load, rn_tide_ramp_dt, &126 & ln_tide_ramp, rn_load, rn_tide_ramp_dt, & 127 127 & sn_tide_cnames 128 128 !!---------------------------------------------------------------------- … … 153 153 WRITE(numout,*) ' Read load potential from file ln_read_load = ', ln_read_load 154 154 WRITE(numout,*) ' Apply ramp on tides at startup ln_tide_ramp = ', ln_tide_ramp 155 WRITE(numout,*) ' Fraction of SSH used in scal. approx. rn_ scal_load = ', rn_scal_load155 WRITE(numout,*) ' Fraction of SSH used in scal. approx. rn_load = ', rn_load 156 156 WRITE(numout,*) ' Duration (days) of ramp rn_tide_ramp_dt = ', rn_tide_ramp_dt 157 157 ENDIF 158 158 ELSE 159 rn_ scal_load = 0._wp159 rn_load = 0._wp 160 160 161 161 IF(lwp) WRITE(numout,*) … … 193 193 IF( nb_harmo == 0 ) CALL ctl_stop( 'tide_init : No tidal components set in nam_tide' ) 194 194 ! 195 IF (.NOT.ln_scal_load ) rn_ scal_load = 0._wp195 IF (.NOT.ln_scal_load ) rn_load = 0._wp 196 196 ! 197 197 ALLOCATE( amp_pot(jpi,jpj,nb_harmo), & … … 754 754 ! 755 755 IF( ln_tide_dia ) THEN ! Output total tidal potential (incl. load potential) 756 IF ( iom_use( "tide_pot" ) ) CALL iom_put( "tide_pot", pot_astro(:,:) + rn_ scal_load * ssh(:,:,Kmm) )756 IF ( iom_use( "tide_pot" ) ) CALL iom_put( "tide_pot", pot_astro(:,:) + rn_load * ssh(:,:,Kmm) ) 757 757 END IF 758 758 !
Note: See TracChangeset
for help on using the changeset viewer.