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 261 for trunk/NEMO/TOP_SRC/TRP/trcstp.F90 – NEMO

Ignore:
Timestamp:
2005-09-08T15:18:32+02:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_update_05:RB+OA:Update and rewritting of (part of) the TOP component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/TRP/trcstp.F90

    r247 r261  
    1212   USE trc              ! ocean passive tracers variables  
    1313   USE trctrp           ! passive tracers transport 
     14   USE trcsms           ! passive tracers sources and sinks 
    1415 
    1516   IMPLICIT NONE 
     
    1920   PUBLIC trc_stp           ! called by step 
    2021   !!---------------------------------------------------------------------- 
    21    !!   TOP 1.0 , LOCEAN-IPSL (2005)  
    22    !! $Header$  
    23    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
     22   !!   OPA 9.0 , LODYC-IPSL (2003) 
    2423   !!---------------------------------------------------------------------- 
    2524 
     
    4140      !! * Arguments 
    4241      INTEGER, INTENT( in ) ::  kt  ! ocean time-step index 
     42      INTEGER :: jn 
     43      REAL(wp) :: ztra 
    4344 
    4445 
     
    4950 
    5051 
    51       CALL trcsms( kt ) 
     52      CALL trc_sms( kt ) 
     53 
     54       DO jn = 1, jptra 
     55         IF(ln_ctl) THEN         ! print mean trends (used for debugging) 
     56            ztra = SUM( tra(2:nictle,2:njctle,1:jpkm1,jn) * tmask(2:nictle,2:njctle,1:jpkm1) ) 
     57            WRITE(numout,*) ' trc/sms  - ',ctrcnm(jn),' : ', ztra-tra_ctl(jn) 
     58            tra_ctl(jn) = ztra 
     59         ENDIF 
     60      END DO 
     61 
    5262  
    5363 
     
    5565 
    5666      CALL trc_trp( kt ) 
     67 
     68       DO jn = 1, jptra 
     69         IF(ln_ctl) THEN         ! print mean trends (used for debugging) 
     70            ztra = SUM( tra(2:nictle,2:njctle,1:jpkm1,jn) * tmask(2:nictle,2:njctle,1:jpkm1) ) 
     71            WRITE(numout,*) ' trc/trp  - ',ctrcnm(jn),' : ', ztra-tra_ctl(jn) 
     72            tra_ctl(jn) = ztra 
     73         ENDIF 
     74      END DO 
     75 
    5776 
    5877 
Note: See TracChangeset for help on using the changeset viewer.