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 1176 for trunk/NEMO/TOP_SRC/LOBSTER/trcsms_lobster.F90 – NEMO

Ignore:
Timestamp:
2008-09-11T18:26:59+02:00 (16 years ago)
Author:
cetlod
Message:

update LOBSTER modules to take into account new trends organization, see ticket:248

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/LOBSTER/trcsms_lobster.F90

    r1152 r1176  
    1313   !!   trcsms_lobster        :  Time loop of passive tracers sms 
    1414   !!---------------------------------------------------------------------- 
     15   USE oce_trc         ! 
     16   USE trc 
    1517   USE trcbio 
    1618   USE trcopt 
    1719   USE trcsed 
    1820   USE trcexp 
     21   USE trdmld_trc_oce 
     22   USE trdmld_trc 
    1923 
    2024   IMPLICIT NONE 
     
    4145      !! ------------------------------------------------------------------------------------- 
    4246      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index       
     47      INTEGER :: jn 
     48      REAL(wp), DIMENSION(jpi,jpj,jpk) ::   ztrlob   ! used for lobster sms trends 
    4349      !! 
    4450 
     
    5056 
    5157      CALL trc_exp( kt )      ! export 
     58 
     59      IF( l_trdtrc ) THEN 
     60          DO jn = 1, jptra 
     61            ztrlob(:,:,:) = tra(:,:,:,jn) 
     62            CALL trd_mod_trc( ztrlob, jn, jptrc_trd_sms, kt )   ! save trends 
     63          END DO 
     64      END IF 
     65 
     66      IF( lk_trdmld_trc )  CALL trd_mld_bio( kt )   ! trends: Mixed-layer 
    5267 
    5368   END SUBROUTINE trc_sms_lobster 
Note: See TracChangeset for help on using the changeset viewer.