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 1255 for trunk/NEMO/TOP_SRC/MY_TRC/trcsms_my_trc.F90 – NEMO

Ignore:
Timestamp:
2009-01-13T11:20:17+01:00 (15 years ago)
Author:
cetlod
Message:

minor modifications in all top models, see ticket:299

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/MY_TRC/trcsms_my_trc.F90

    r1162 r1255  
    1313   !!---------------------------------------------------------------------- 
    1414   USE par_trc         ! TOP parameters 
    15    USE oce_trc 
    16    USE trc 
     15   USE oce_trc         ! Ocean variables 
     16   USE trc             ! TOP variables 
     17   USE trdmld_trc_oce 
     18   USE trdmld_trc 
    1719 
    1820   IMPLICIT NONE 
     
    3840      !!---------------------------------------------------------------------- 
    3941      INTEGER, INTENT(in) :: kt   ! ocean time-step index 
     42      REAL(wp), DIMENSION(jpi,jpj,jpk)    ::   ztrmyt  
     43      INTEGER :: jn 
     44 
    4045 
    4146      IF(lwp) WRITE(numout,*) 
     
    5560      END WHERE 
    5661 
     62      ! Save the trends in the ixed layer 
     63      IF( l_trdtrc ) THEN 
     64          DO jn = jp_myt0, jp_myt1 
     65            ztrmyt(:,:,:) = tra(:,:,:,jn) 
     66            CALL trd_mod_trc( ztrmyt, jn, jptrc_trd_sms, kt )   ! save trends 
     67          END DO 
     68      END IF 
    5769      ! 
    5870   END SUBROUTINE trc_sms_my_trc 
Note: See TracChangeset for help on using the changeset viewer.