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 474 for trunk/NEMO/OPA_SRC/DYN/dynspg.F90 – NEMO

Ignore:
Timestamp:
2006-05-11T17:24:19+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_061: SM: end of ctl_stop + mpi optimization in _bilap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/dynspg.F90

    r372 r474  
    168168      IF(lk_dynspg_rl )   ioptio = ioptio + 1 
    169169 
    170       IF( ( ioptio > 1 .AND. .NOT. lk_esopa ) .OR. ioptio == 0 ) THEN 
    171          IF(lwp) WRITE(numout,cform_err) 
    172          IF(lwp) WRITE(numout,*) ' Choose only one surface pressure gradient scheme with a key cpp' 
    173          nstop = nstop + 1 
    174       ENDIF 
     170      IF( ( ioptio > 1 .AND. .NOT. lk_esopa ) .OR. ioptio == 0 )   & 
     171           &   CALL ctl_stop( ' Choose only one surface pressure gradient scheme with a key cpp' ) 
    175172 
    176173      IF( lk_esopa     )   nspg = -1 
     
    199196      ! -------------------------- 
    200197      IF( lk_dynspg_ts ) THEN 
    201          IF( MOD( rdt , rdtbt ) /= 0. ) THEN 
    202             IF(lwp) WRITE(numout,cform_err) 
    203             IF(lwp) WRITE(numout,*) ' The barotropic timestep must be an integer divisor of the baroclinic timestep' 
    204             nstop = nstop + 1 
    205          ENDIF 
     198         IF( MOD( rdt , rdtbt ) /= 0. )   & 
     199           &   CALL ctl_stop( ' The barotropic timestep must be an integer divisor of the baroclinic timestep' ) 
    206200      ENDIF 
    207201 
Note: See TracChangeset for help on using the changeset viewer.