- Timestamp:
- 2019-04-11T11:35:27+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10742_ENHANCE-12_SimonM-Tides/src/OCE/DYN/dynspg_ts.F90
r10852 r10860 171 171 REAL(wp), ALLOCATABLE, DIMENSION(:,:) :: ztwdmask, zuwdmask, zvwdmask ! ROMS wetting and drying masks at t,u,v points 172 172 REAL(wp), ALLOCATABLE, DIMENSION(:,:) :: zuwdav2, zvwdav2 ! averages over the sub-steps of zuwdmask and zvwdmask 173 REAL(wp) :: zt0substep ! Time of day at the beginning of the time substep 173 174 !!---------------------------------------------------------------------- 174 175 ! … … 718 719 ! Update only tidal forcing at open boundaries 719 720 IF( ln_bdy .AND. ln_tide ) CALL bdy_dta_tides( kt, kit=jn, time_offset= noffset+1 ) 720 IF( ln_tide_pot .AND. ln_tide ) CALL upd_tide ( kt, kit=jn, time_offset= noffset ) 721 ! Update tide potential at the beginning of current time substep 722 IF( ln_tide_pot .AND. ln_tide ) THEN 723 zt0substep = REAL(nsec_day, wp) - 0.5_wp*rdt + (jn + noffset - 1) * rdt / REAL(nn_baro, wp) 724 CALL upd_tide(zt0substep) 725 END IF 721 726 ! 722 727 ! Set extrapolation coefficients for predictor step:
Note: See TracChangeset
for help on using the changeset viewer.