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 9135 for branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/MY_SRC/usrdef_zgr.F90 – NEMO

Ignore:
Timestamp:
2017-12-19T16:44:50+01:00 (6 years ago)
Author:
flavoni
Message:

fix input/ouput flag of coordinates in usrdef routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/MY_SRC/usrdef_zgr.F90

    r9125 r9135  
    1515   !!--------------------------------------------------------------------- 
    1616   USE oce            ! ocean variables 
    17    USE dom_oce ,  ONLY: ln_zco, ln_zps, ln_sco   ! ocean space and time domain 
    1817   USE dom_oce ,  ONLY: ht_0, mi0, mi1, nimpp, njmpp,  & 
    1918                      & mj0, mj1, glamt, gphit         ! ocean space and time domain 
     
    7473      ! 
    7574      ! 
    76       ! type of vertical coordinate 
     75      ! type of vertical coordinate ==>>>   here WAD_TEST_CASES : s-coordinate always 
    7776      ! --------------------------- 
    78       ! set in usrdef_nam.F90 by reading the namusr_def namelist only ln_zco 
    79       ln_zco    = .FALSE.      ! z-partial-step coordinate 
    80       ln_zps    = .FALSE.      ! z-partial-step coordinate 
    81       ln_sco    = .TRUE.       ! s-coordinate 
     77      ld_zco    = .FALSE.      ! z-partial-step coordinate 
     78      ld_zps    = .FALSE.      ! z-partial-step coordinate 
     79      ld_sco    = .TRUE.       ! s-coordinate 
    8280      ld_isfcav = .FALSE.      ! ISF Ice Shelves Flag 
    8381      ! 
     
    279277      !                               
    280278      ! 
    281       IF ( ln_sco ) THEN      !==  s-coordinate  ==!   (terrain-following coordinate) 
     279      IF ( ld_sco ) THEN      !==  s-coordinate  ==!   (terrain-following coordinate) 
    282280         ! 
    283281         ht_0 = zht 
Note: See TracChangeset for help on using the changeset viewer.