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 6225 for branches/2014/dev_r4704_NOC5_MPP_BDY_UPDATE/NEMOGCM/NEMO/OPA_SRC/SBC/sbcapr.F90 – NEMO

Ignore:
Timestamp:
2016-01-08T10:35:19+01:00 (8 years ago)
Author:
jamesharle
Message:

Update MPP_BDY_UPDATE branch to be consistent with head of trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4704_NOC5_MPP_BDY_UPDATE/NEMOGCM/NEMO/OPA_SRC/SBC/sbcapr.F90

    • Property svn:keywords set to Id
    r4624 r6225  
    1212   USE dom_oce         ! ocean space and time domain 
    1313   USE sbc_oce         ! surface boundary condition 
    14    USE dynspg_oce      ! surface pressure gradient variables 
    1514   USE phycst          ! physical constants 
     15   ! 
    1616   USE fldread         ! read input fields 
    1717   USE in_out_manager  ! I/O manager 
     
    3939   TYPE(FLD), ALLOCATABLE, DIMENSION(:) ::   sf_apr   ! structure of input fields (file informations, fields read) 
    4040 
    41    !! * Substitutions 
    42 #  include "domzgr_substitute.h90" 
    4341   !!---------------------------------------------------------------------- 
    4442   !! NEMO/OPA 4.0 , NEMO Consortium (2011)  
    45    !! $Id: $ 
     43   !! $Id$ 
    4644   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
    4745   !!---------------------------------------------------------------------- 
     
    6260      !!--------------------------------------------------------------------- 
    6361      INTEGER, INTENT(in)::   kt   ! ocean time step 
    64       !! 
     62      ! 
    6563      INTEGER            ::   ierror  ! local integer  
    6664      INTEGER            ::   ios     ! Local integer output status for namelist read 
     
    7169      NAMELIST/namsbc_apr/ cn_dir, sn_apr, ln_ref_apr, rn_pref, ln_apr_obc 
    7270      !!---------------------------------------------------------------------- 
    73       ! 
    7471      ! 
    7572      !                                         ! -------------------- ! 
     
    113110            IF(lwp) WRITE(numout,*) '         Inverse barometer added to OBC ssh data' 
    114111         ENDIF 
    115          IF( ( ln_apr_obc ) .AND. .NOT. lk_dynspg_ts )   & 
    116             CALL ctl_stop( 'sbc_apr: use inverse barometer ssh at open boundary ONLY possible with time-splitting' ) 
    117          IF( ( ln_apr_obc ) .AND. .NOT. ln_apr_dyn   )   & 
     112!jc: stop below should rather be a warning  
     113         IF( ln_apr_obc .AND. .NOT.ln_apr_dyn   )   & 
    118114            CALL ctl_stop( 'sbc_apr: use inverse barometer ssh at open boundary ONLY requires ln_apr_dyn=T' ) 
    119115      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.