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 7200 for branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/LOCK_EXCHANGE – NEMO

Ignore:
Timestamp:
2016-11-06T17:31:33+01:00 (7 years ago)
Author:
gm
Message:

#1692 - branch SIMPLIF_2_usrdef: add depth_e3 module + management of ORCA family + domain_cfg filename (in&out) given in namelist

Location:
branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/LOCK_EXCHANGE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/LOCK_EXCHANGE/EXP00/namelist_cfg

    r6914 r7200  
    2424&namcfg        !   parameters of the configuration 
    2525!----------------------------------------------------------------------- 
    26    ln_read_cfg = .false.   !  (=T) read the domain configuration in 'domain_cfg.nc" file 
    27    !                       !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
     26   ln_read_cfg = .false.   !  (=T) read the domain configuration file 
     27      !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    2828   ln_write_cfg= .false.   !  (=T) create the domain configuration file 
    29    ! 
    30    cp_cfg      = "lock"    !  name of the configuration 
    31    jp_cfg      =      0    !  resolution of the configuration 
    32    ln_use_jattr = .false.  !  use (T) the file attribute: open_ocean_jstart, if present 
    33    !                       !  in netcdf input files, as the start j-row for reading 
    3429/ 
    3530!----------------------------------------------------------------------- 
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/LOCK_EXCHANGE/MY_SRC/usrdef_nam.F90

    r6923 r7200  
    3838CONTAINS 
    3939 
    40    SUBROUTINE usr_def_nam( ldtxt, ldnam, kpi, kpj, kpk, kperio ) 
     40   SUBROUTINE usr_def_nam( ldtxt, ldnam, cd_cfg, kk_cfg, kpi, kpj, kpk, kperio ) 
    4141      !!---------------------------------------------------------------------- 
    4242      !!                     ***  ROUTINE dom_nam  *** 
     
    5151      !!---------------------------------------------------------------------- 
    5252      CHARACTER(len=*), DIMENSION(:), INTENT(out) ::   ldtxt, ldnam    ! stored print information 
     53      CHARACTER(len=*)              , INTENT(out) ::   cd_cfg          ! configuration name 
     54      INTEGER                       , INTENT(out) ::   kk_cfg          ! configuration resolution 
    5355      INTEGER                       , INTENT(out) ::   kpi, kpj, kpk   ! global domain sizes  
    5456      INTEGER                       , INTENT(out) ::   kperio          ! lateral global domain b.c.  
     
    6668      ! 
    6769      WRITE( ldnam(:), namusr_def ) 
     70      ! 
     71      ! 
     72      cd_cfg = 'LOCK_EXCHANGE'      ! name & resolution (not used) 
     73      cp_cfg = INT( rn_dx ) 
    6874      ! 
    6975      ! Global Domain size:  LOCK_EXCHANGE domain is 64 km x 3 grid-points x 20 m 
Note: See TracChangeset for help on using the changeset viewer.