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 2997 for branches/2011/dev_LOCEAN_2011/NEMOGCM/NEMO/TOP_SRC/trcini.F90 – NEMO

Ignore:
Timestamp:
2011-10-25T20:14:21+02:00 (13 years ago)
Author:
cetlod
Message:

branch dev_LOCEAN_2011 : minor corrections to ensure PISCES restartability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_LOCEAN_2011/NEMOGCM/NEMO/TOP_SRC/trcini.F90

    r2977 r2997  
    9494      IF( lk_my_trc  ) THEN   ;   CALL trc_ini_my_trc       ! MY_TRC  tracers 
    9595      ELSE                    ;   IF(lwp) WRITE(numout,*) '          MY_TRC not used' 
     96      ENDIF 
     97 
     98      IF( lwp ) THEN 
     99         ! 
     100         CALL ctl_opn( numstr, 'tracer.stat', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE., narea ) 
     101         ! 
    96102      ENDIF 
    97103 
     
    153159         WRITE(numout,*) '          *** Total volume of ocean                = ', areatot 
    154160         WRITE(numout,*) '          *** Total inital content of all tracers ' 
     161         WRITE(numout,*) 
    155162         DO jn = 1, jptra 
    156             WRITE(numout,*) ' tracer nb : ', jn, '  name : ', ctrcnm(jn), ' initial content :', trai(jn) 
     163            WRITE(numout,9000) jn, TRIM( ctrcnm(jn) ), trai(jn) 
    157164         ENDDO 
    158165         WRITE(numout,*) 
    159166      ENDIF 
    160  
     167      WRITE(numout,*) 
    161168      IF(ln_ctl) THEN            ! print mean trends (used for debugging) 
    162169         CALL prt_ctl_trc_init 
     
    165172         CALL prt_ctl_trc( tab4d=trn, mask=tmask, clinfo=ctrcnm ) 
    166173      ENDIF 
     1749000  FORMAT(' tracer nb : ',i2,'      name :',a10,'      initial content :',e18.10) 
    167175      ! 
    168176   END SUBROUTINE trc_init 
Note: See TracChangeset for help on using the changeset viewer.