- Timestamp:
- 2019-12-12T11:52:50+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/BDY/bdydta.F90
r12145 r12205 23 23 USE phycst ! physical constants 24 24 USE sbcapr ! atmospheric pressure forcing 25 USE sbctide ! Tidal forcing or not25 USE tide_mod, ONLY: ln_tide ! tidal forcing 26 26 USE bdy_oce ! ocean open boundary conditions 27 27 USE bdytides ! tidal forcing at boundaries … … 75 75 CONTAINS 76 76 77 SUBROUTINE bdy_dta( kt, Kmm, k it, kt_offset )77 SUBROUTINE bdy_dta( kt, Kmm, kt_offset ) 78 78 !!---------------------------------------------------------------------- 79 79 !! *** SUBROUTINE bdy_dta *** … … 86 86 INTEGER, INTENT(in) :: kt ! ocean time-step index 87 87 INTEGER, INTENT(in) :: Kmm ! ocean time level index 88 INTEGER, INTENT(in), OPTIONAL :: kit ! subcycle time-step index (for timesplitting option) 89 INTEGER, INTENT(in), OPTIONAL :: kt_offset ! time offset in units of timesteps. NB. if kit 88 INTEGER, INTENT(in), OPTIONAL :: kt_offset ! time offset in units of timesteps 90 89 ! ! is present then units = subcycle timesteps. 91 90 ! ! kt_offset = 0 => get data at "now" time level … … 106 105 ! Initialise data arrays once for all from initial conditions where required 107 106 !--------------------------------------------------------------------------- 108 IF( kt == nit000 .AND. .NOT.PRESENT(kit)) THEN107 IF( kt == nit000 ) THEN 109 108 110 109 ! Calculate depth-mean currents … … 217 216 ! read/update all bdy data 218 217 ! ------------------------ 219 CALL fld_read( kt, 1, bf_alias, k it = kit, kt_offset = kt_offset )218 CALL fld_read( kt, 1, bf_alias, kt_offset = kt_offset ) 220 219 ! apply some corrections in some specific cases... 221 220 ! -------------------------------------------------- … … 275 274 END DO 276 275 ENDIF ! ltotvel 277 278 ! update tidal harmonic forcing279 IF( PRESENT(kit) .AND. nn_dyn2d_dta(jbdy) .GE. 2 ) THEN280 CALL bdytide_update( kt = kt, idx = idx_bdy(jbdy), dta = dta_alias, td = tides(jbdy), &281 & kit = kit, kt_offset = kt_offset )282 ENDIF283 276 284 277 ! atm surface pressure : add inverted barometer effect to ssh if it was read
Note: See TracChangeset
for help on using the changeset viewer.