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 4154 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/CRS/crsini.F90 – NEMO

Ignore:
Timestamp:
2013-11-05T13:52:36+01:00 (11 years ago)
Author:
cetlod
Message:

dev_LOCEAN_2013: minor corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/CRS/crsini.F90

    r4064 r4154  
    6767      INTEGER  :: ji,jj,jk      ! dummy indices 
    6868      INTEGER  :: ierr                                ! allocation error status 
     69      INTEGER  ::   ios                 ! Local integer output status for namelist read 
    6970      REAL(wp), DIMENSION(:,:,:), POINTER :: zfse3t, zfse3u, zfse3v, zfse3w 
    7071 
    7172      NAMELIST/namcrs/ nn_factx, nn_facty, nn_binref, nn_msh_crs, nn_crs_kz, ln_crs_wn 
    72  
    73  
    7473      !!---------------------------------------------------------------------- 
    7574      ! 
     
    8584     !--------------------------------------------------------- 
    8685     ! 
    87      REWIND( numnam )            ! Read Namelist namtra_qsr : ratio and length of penetration 
    88      READ  ( numnam, namcrs )        ! Namelist namcrs : Grid-coarsening utility namelist 
     86 
     87      REWIND( numnam_ref )              ! Namelist namrun in reference namelist : Parameters of the run 
     88      READ  ( numnam_ref, namcrs, IOSTAT = ios, ERR = 901) 
     89901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namcrs in reference namelist', lwp ) 
     90 
     91      REWIND( numnam_cfg )              ! Namelist namrun in configuration namelist : Parameters of the run 
     92      READ  ( numnam_cfg, namcrs, IOSTAT = ios, ERR = 902 ) 
     93902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namcrs in configuration namelist', lwp ) 
     94      WRITE ( numond, namcrs ) 
     95 
    8996     IF(lwp) THEN 
    9097        WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.