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/trcstp.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/trcstp.F90

    r2977 r2997  
    4747      !!              Update the passive tracers 
    4848      !!------------------------------------------------------------------- 
    49       INTEGER, INTENT( in ) ::  kt  ! ocean time-step index 
    50       INTEGER               ::  jk  ! 
     49      INTEGER, INTENT( in ) ::  kt      ! ocean time-step index 
     50      INTEGER               ::  jk, jn  ! dummy loop indices 
     51      REAL(wp)              ::  ztrai 
    5152      CHARACTER (len=25)    ::  charout 
    5253      !!------------------------------------------------------------------- 
     
    9091         ! 
    9192      ENDIF 
     93      ! 
     94      ztrai = 0._wp                                                   !  content of all tracers 
     95      DO jn = 1, jptra 
     96         ztrai = ztrai + glob_sum( trn(:,:,:,jn) * cvol(:,:,:)   ) 
     97      END DO 
     98      IF( lwp ) WRITE(numstr,9300) kt,  ztrai / areatot 
     999300  FORMAT(' iter :',i4,'    global content :',e18.10) 
    92100 
    93101   END SUBROUTINE trc_stp 
Note: See TracChangeset for help on using the changeset viewer.