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 3318 for branches/2012/dev_r3309_LOCEAN12_Ediag/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90 – NEMO

Ignore:
Timestamp:
2012-02-25T16:50:01+01:00 (12 years ago)
Author:
gm
Message:

Ediag branche: #927 split TRA/DYN trd computation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3309_LOCEAN12_Ediag/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90

    r3294 r3318  
    44   !! Ocean passive tracers:  surface boundary condition 
    55   !!====================================================================== 
    6    !! History :  8.2  !  1998-10  (G. Madec, G. Roullet, M. Imbard)  Original code 
    7    !!            8.2  !  2001-02  (D. Ludicone)  sea ice and free surface 
    8    !!            8.5  !  2002-06  (G. Madec)  F90: Free form and module 
    9    !!            9.0  !  2004-03  (C. Ethe)  adapted for passive tracers 
    10    !!                 !  2006-08  (C. Deltel) Diagnose ML trends for passive tracers 
     6   !! History :  1.0  !  2004-03  (C. Ethe)  adapt trasbc to passive tracers 
     7   !!            2.0  !  2006-08  (C. Deltel) Diagnose ML trends for passive tracers 
    118   !!============================================================================== 
    129#if defined key_top 
     
    1916   USE trc             ! ocean  passive tracers variables 
    2017   USE prtctl_trc      ! Print control for debbuging 
    21    USE trdmod_oce 
    22    USE trdtra 
     18   USE trd_oce         ! trends: ocean variables 
     19   USE trdtra          ! trends: tracer manager 
    2320 
    2421   IMPLICIT NONE 
     
    4441      !!       trend of tracer equations. 
    4542      !! 
    46       !! ** Method : 
    47       !!      * concentration/dilution effect: 
     43      !! ** Method :    concentration/dilution effect: 
    4844      !!            The surface freshwater flux modify the ocean volume 
    4945      !!         and thus the concentration of a tracer as : 
     
    5551      !! ** Action  : - Update the 1st level of tra with the trend associated 
    5652      !!                with the tracer surface boundary condition  
    57       !! 
    5853      !!---------------------------------------------------------------------- 
     54      INTEGER, INTENT( in ) ::   kt   ! ocean time-step index 
    5955      ! 
    60       INTEGER, INTENT( in ) ::   kt          ! ocean time-step index 
    61       ! 
    62       INTEGER  ::   ji, jj, jn           ! dummy loop indices 
     56      INTEGER  ::   ji, jj, jn     ! dummy loop indices 
    6357      REAL(wp) ::   zsrau, zse3t   ! temporary scalars 
    64       CHARACTER (len=22) :: charout 
    65       REAL(wp), POINTER, DIMENSION(:,:  ) :: zemps 
    66       REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrtrd 
     58      CHARACTER (len=22) ::   charout 
     59      REAL(wp), POINTER, DIMENSION(:,:  ) ::   zemps    ! 2D workspace 
     60      REAL(wp), POINTER, DIMENSION(:,:,:) ::   ztrtrd   ! 3D workspace 
    6761      !!--------------------------------------------------------------------- 
    6862      ! 
     
    108102         IF( l_trdtrc ) THEN 
    109103            ztrtrd(:,:,:) = tra(:,:,:,jn) - ztrtrd(:,:,:) 
    110             CALL trd_tra( kt, 'TRC', jn, jptra_trd_nsr, ztrtrd ) 
     104            CALL trd_tra( kt, 'TRC', jn, jptra_nsr, ztrtrd ) 
    111105         END IF 
    112106         !                                                       ! =========== 
Note: See TracChangeset for help on using the changeset viewer.