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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/DYN/dynnept.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/DYN/dynnept.F90

    r3723 r4147  
    4949 
    5050   !! * Namelist namdyn_nept variables 
    51    LOGICAL, PUBLIC  ::  ln_neptsimp        = .FALSE.  ! yes/no simplified neptune 
    52  
    53    LOGICAL          ::  ln_smooth_neptvel  = .FALSE.  ! yes/no smooth zunep, zvnep 
    54    REAL(wp)         ::  rn_tslse           =  1.2e4   ! value of lengthscale L at the equator 
    55    REAL(wp)         ::  rn_tslsp           =  3.0e3   ! value of lengthscale L at the pole 
     51   LOGICAL, PUBLIC  ::  ln_neptsimp          ! yes/no simplified neptune 
     52 
     53   LOGICAL          ::  ln_smooth_neptvel    ! yes/no smooth zunep, zvnep 
     54   REAL(wp)         ::  rn_tslse             ! value of lengthscale L at the equator 
     55   REAL(wp)         ::  rn_tslsp             ! value of lengthscale L at the pole 
    5656!! Specify whether to ramp down the Neptune velocity in shallow 
    5757!! water, and the depth range controlling such ramping down 
    58    LOGICAL          ::  ln_neptramp        = .FALSE.  ! ramp down Neptune velocity in shallow water 
    59    REAL(wp)         ::  rn_htrmin          =  100.0   ! min. depth of transition range 
    60    REAL(wp)         ::  rn_htrmax          =  200.0   ! max. depth of transition range 
     58   LOGICAL          ::  ln_neptramp          ! ramp down Neptune velocity in shallow water 
     59   REAL(wp)         ::  rn_htrmin            ! min. depth of transition range 
     60   REAL(wp)         ::  rn_htrmax            ! max. depth of transition range 
    6161 
    6262   !! * Module variables 
     
    114114      NAMELIST/namdyn_nept/ ln_neptsimp, ln_smooth_neptvel, rn_tslse, rn_tslsp,      & 
    115115                            ln_neptramp, rn_htrmin, rn_htrmax 
     116      INTEGER  ::   ios 
    116117      !!---------------------------------------------------------------------- 
    117118      ! Define the (simplified) Neptune parameters 
    118119      ! ========================================== 
    119120 
    120       REWIND( numnam )                  ! Read Namelist namdyn_nept:  Simplified Neptune 
    121       READ  ( numnam, namdyn_nept ) 
     121      REWIND( numnam_ref )              ! Namelist namdyn_nept in reference namelist : Simplified Neptune 
     122      READ  ( numnam_ref, namdyn_nept, IOSTAT = ios, ERR = 901) 
     123901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_nept in reference namelist', lwp ) 
     124 
     125      REWIND( numnam_cfg )              ! Namelist namdyn_nept in reference namelist : Simplified Neptune 
     126      READ  ( numnam_cfg, namdyn_nept, IOSTAT = ios, ERR = 902 ) 
     127902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_nept in configuration namelist', lwp ) 
     128      WRITE ( numond, namdyn_nept ) 
    122129 
    123130      IF(lwp) THEN                      ! Control print 
Note: See TracChangeset for help on using the changeset viewer.