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 732 for tags/nemo_v2_3/NEMO/TOP_SRC/trcdit.F90 – NEMO

Ignore:
Timestamp:
2007-11-19T16:19:15+01:00 (17 years ago)
Author:
cetlod
Message:

Update modules for passive tracers transport trends computation, see ticket:13

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/nemo_v2_3/NEMO/TOP_SRC/trcdit.F90

    r560 r732  
    22   !!---------------------------------------------------------------------- 
    33   !!  TOP 1.0,  LOCEAN-IPSL (2005)  
    4    !! $Header$  
     4   !! $Header: /home/opalod/NEMOCVSROOT/NEMO/TOP_SRC/trcdit.F90,v 1.9 2007/10/12 09:22:19 opalod Exp $  
    55   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
    66   !!---------------------------------------------------------------------- 
     
    418418                  IF (jl.eq.7) THEN 
    419419! short and long title for x gent velocity for tracer 
    420                       WRITE (cltra,'("XGV",16a)') ctrcnm(jn) 
     420                      WRITE (cltra,'("XGV_",16a)') ctrcnm(jn) 
    421421                      WRITE (cltral,'("X gent velocity trend for ",53a)')  & 
    422422                      &      ctrcnl(jn)(1:53) 
     
    436436# endif 
    437437# if defined key_trcdmp 
    438                   IF (jl.eq.jpdiatrc)  THEN 
     438                  IF (jl.eq.jpdiatrc-1)  THEN 
    439439! last trends for tracer damping : short and long title 
    440440                      WRITE (cltra,'("TDM_",16a)') ctrcnm(jn) 
     
    443443                  END IF 
    444444# endif 
     445                  IF (jl.eq.jpdiatrc)  THEN 
     446! last trends for tracer damping : short and long title 
     447                      WRITE (cltra,'("SBC_",16a)') ctrcnm(jn) 
     448                      WRITE (cltral,'("Surface boundary flux ",58a)')  & 
     449                      &      ctrcnl(jn)(1:58) 
     450                  END IF 
     451 
    445452                  call flush(numout) 
    446453                  cltrau=ctrcun(jn) ! UNIT for tracer /trends 
     
    518525# endif 
    519526# if defined key_trcdmp 
    520                   IF (jl.eq.jpdiatrc) THEN 
     527                  IF (jl.eq.jpdiatrc-1) THEN 
    521528! short for x gent velocity for tracer 
    522529                      WRITE (cltra,'("TDM_",16a)') ctrcnm(jn) 
    523530                  END IF 
    524531# endif 
     532                  IF (jl.eq.jpdiatrc) THEN 
     533! short for surface boundary conditions for tracer 
     534                      WRITE (cltra,'("SBC_",a)') ctrcnm(jn) 
     535                  END IF 
    525536 
    526537                  CALL histwrite(nit6(jn), cltra, it, trtrd(:,:,:,ikeep(jn),jl)  & 
Note: See TracChangeset for help on using the changeset viewer.