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/DYN/dynspg.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/DYN/dynspg.F90

    r1152 r1241  
    158158      ! Control of timestep choice 
    159159      ! -------------------------- 
    160       IF( lk_dynspg_ts ) THEN 
    161          IF( MOD( rdt , rdtbt ) /= 0. )   & 
    162            &   CALL ctl_stop( ' The barotropic timestep must be an integer divisor of the baroclinic timestep' ) 
     160      IF( lk_dynspg_ts .OR. lk_dynspg_exp ) THEN 
     161         IF( n_cla == 1 )   & 
     162           &   CALL ctl_stop( ' Crossland advection not implemented for this free surface formulation ' ) 
    163163      ENDIF 
    164164 
Note: See TracChangeset for help on using the changeset viewer.