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 3875 for branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/SOL/solver.F90 – NEMO

Ignore:
Timestamp:
2013-04-18T16:38:06+02:00 (11 years ago)
Author:
clevy
Message:

Configuration Setting/Step? 1, see ticket:#1074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/SOL/solver.F90

    r3764 r3875  
    5151      !!---------------------------------------------------------------------- 
    5252      INTEGER, INTENT(in) :: kt 
     53      INTEGER             ::   ios       ! Local integer output status for namelist read 
    5354      !! 
    5455      NAMELIST/namsol/ nn_solv, nn_sol_arp, nn_nmin, nn_nmax, nn_nmod, rn_eps, rn_resmax, rn_sor 
     
    6263      ENDIF 
    6364 
    64       REWIND( numnam )              !* Namelist namsol : elliptic solver / free surface 
    65       READ  ( numnam, namsol ) 
     65      REWIND( numnam_ref )              ! Namelist namsol in reference namelist : Elliptic solver / free surface 
     66      READ  ( numnam_ref, namsol, IOSTAT = ios, ERR = 901) 
     67901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsol in reference namelist', lwp ) 
     68 
     69      REWIND( numnam_cfg )              ! Namelist namsol in configuration namelist : Elliptic solver / free surface 
     70      READ  ( numnam_cfg, namsol, IOSTAT = ios, ERR = 902 ) 
     71902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsol in configuration namelist', lwp ) 
     72      WRITE ( numond, namsol ) 
    6673 
    6774      IF(lwp) THEN                  !* Control print 
Note: See TracChangeset for help on using the changeset viewer.