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 5038 for branches/2014/dev_r4621_NOC4_BDY_VERT_INTERP/NEMOGCM/NEMO/OFF_SRC/domain.F90 – NEMO

Ignore:
Timestamp:
2015-01-20T15:26:13+01:00 (9 years ago)
Author:
jamesharle
Message:

Merging branch with HEAD of the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4621_NOC4_BDY_VERT_INTERP/NEMOGCM/NEMO/OFF_SRC/domain.F90

    r4382 r5038  
    139139      READ  ( numnam_cfg, namrun, IOSTAT = ios, ERR = 902 ) 
    140140902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namrun in configuration namelist', lwp ) 
    141       WRITE ( numond, namrun ) 
     141      IF(lwm) WRITE ( numond, namrun ) 
    142142      ! 
    143143      IF(lwp) THEN                  ! control print 
     
    215215      READ  ( numnam_cfg, namdom, IOSTAT = ios, ERR = 904 ) 
    216216904   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdom in configuration namelist', lwp ) 
    217       WRITE ( numond, namdom ) 
     217      IF(lwm) WRITE ( numond, namdom ) 
    218218 
    219219      IF(lwp) THEN 
     
    276276      READ  ( numnam_cfg, namcla, IOSTAT = ios, ERR = 906 ) 
    277277906   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namcla in configuration namelist', lwp ) 
    278       WRITE( numond, namcla ) 
     278      IF(lwm) WRITE( numond, namcla ) 
    279279 
    280280      IF(lwp) THEN 
     
    293293      READ  ( numnam_cfg, namnc4, IOSTAT = ios, ERR = 908 ) 
    294294908   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namnc4 in configuration namelist', lwp ) 
    295       WRITE( numond, namnc4 ) 
     295      IF(lwm) WRITE( numond, namnc4 ) 
    296296      IF(lwp) THEN                        ! control print 
    297297         WRITE(numout,*) 
     
    335335      INTEGER ::   ios 
    336336      !! 
    337       NAMELIST/namzgr/ ln_zco, ln_zps, ln_sco 
     337      NAMELIST/namzgr/ ln_zco, ln_zps, ln_sco, ln_isfcav 
    338338      !!---------------------------------------------------------------------- 
    339339 
     
    345345      READ  ( numnam_cfg, namzgr, IOSTAT = ios, ERR = 902 ) 
    346346902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzgr in configuration namelist', lwp ) 
    347       WRITE ( numond, namzgr ) 
     347      IF(lwm) WRITE ( numond, namzgr ) 
    348348 
    349349      IF(lwp) THEN                     ! Control print 
     
    352352         WRITE(numout,*) '~~~~~~~' 
    353353         WRITE(numout,*) '          Namelist namzgr : set vertical coordinate' 
    354          WRITE(numout,*) '             z-coordinate - full steps      ln_zco = ', ln_zco 
    355          WRITE(numout,*) '             z-coordinate - partial steps   ln_zps = ', ln_zps 
    356          WRITE(numout,*) '             s- or hybrid z-s-coordinate    ln_sco = ', ln_sco 
     354         WRITE(numout,*) '             z-coordinate - full steps      ln_zco    = ', ln_zco 
     355         WRITE(numout,*) '             z-coordinate - partial steps   ln_zps    = ', ln_zps 
     356         WRITE(numout,*) '             s- or hybrid z-s-coordinate    ln_sco    = ', ln_sco 
     357         WRITE(numout,*) '             ice shelf cavity               ln_isfcav = ', ln_isfcav 
    357358      ENDIF 
    358359 
     
    361362      IF( ln_zps ) ioptio = ioptio + 1 
    362363      IF( ln_sco ) ioptio = ioptio + 1 
    363       IF ( ioptio /= 1 )   CALL ctl_stop( ' none or several vertical coordinate options used' ) 
     364      IF( ln_isfcav ) ioptio = 33 
     365      IF ( ioptio /= 1  )   CALL ctl_stop( ' none or several vertical coordinate options used' ) 
     366      IF ( ioptio == 33 )   CALL ctl_stop( ' isf cavity with off line module not yet done    ' ) 
    364367 
    365368   END SUBROUTINE dom_zgr 
Note: See TracChangeset for help on using the changeset viewer.