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 1581 for trunk/NEMO/OPA_SRC/SOL/solver.F90 – NEMO

Ignore:
Timestamp:
2009-08-05T16:53:12+02:00 (15 years ago)
Author:
smasson
Message:

ctlopn cleanup, see ticket:515 and ticket:237

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SOL/solver.F90

    r1556 r1581  
    6565      INTEGER, INTENT(in) :: kt 
    6666 
    67       !! * Local declarations 
    68       CHARACTER(len=80) :: clname 
    69  
    7067      NAMELIST/namsol/ nsolv, nsol_arp, nmin, nmax, nmod, eps, resmax, sor, rnu 
    7168      !!---------------------------------------------------------------------- 
    7269 
    73       IF(lwp) WRITE(numout,*) 
    74       IF(lwp) WRITE(numout,*) 'solver_init : solver to compute the surface pressure gradient' 
    75       IF(lwp) WRITE(numout,*) '~~~~~~~~~~~' 
    76  
    77       ! open elliptic solver statistics file 
    78       clname = 'solver.stat' 
    79       CALL ctlopn( numsol, clname, 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL',   & 
    80                    1, numout, lwp, 1 ) 
     70      IF(lwp) THEN 
     71         WRITE(numout,*) 
     72         WRITE(numout,*) 'solver_init : solver to compute the surface pressure gradient' 
     73         WRITE(numout,*) '~~~~~~~~~~~' 
     74          
     75         ! open elliptic solver statistics file 
     76         CALL ctl_opn( numsol, 'solver.stat', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 
     77      ENDIF 
    8178 
    8279 
Note: See TracChangeset for help on using the changeset viewer.