New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1241 for trunk/NEMO/OPA_SRC/BDY/bdytides.F90 – NEMO

Ignore:
Timestamp:
2009-01-05T17:14:49+01:00 (15 years ago)
Author:
rblod
Message:

Fix a stupid bug for time splitting and ensure restartability for dynspg_ts in addition, see tickets #280 and #292

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/BDY/bdytides.F90

    r1146 r1241  
    301301         z_arg = kt * rdt * rad / 3600.0 
    302302      ELSE                              ! we are in a barotropic subcycle (for timesplitting option) 
    303          z_arg = ( (kt-1) * rdt + jit * rdtbt ) * rad / 3600.0 
     303         z_arg = ( (kt-1) * rdt + jit * rdt / REAL(nn_baro,lwp) ) * rad / 3600.0 
    304304      ENDIF 
    305305 
Note: See TracChangeset for help on using the changeset viewer.