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 8841 for branches/UKMO/ROMS_WAD_7832/NEMOGCM/NEMO/TOP_SRC/trc.F90 – NEMO

Ignore:
Timestamp:
2017-11-29T05:08:05+01:00 (6 years ago)
Author:
deazer
Message:

Bring in Trunk Changes at version 8814
This revision wont run as is, requires next revision with merged changes
This revision serves as a reference point to what changes from the trunk at brought in by the merge
in the next revision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/ROMS_WAD_7832/NEMOGCM/NEMO/TOP_SRC/trc.F90

    r7646 r8841  
    88   !!   NEMO      1.0  !  2004-03  (C. Ethe)  Free form and module 
    99   !!---------------------------------------------------------------------- 
    10 #if defined key_top 
    11    !!---------------------------------------------------------------------- 
    12    !!   'key_top'                                                TOP models 
    13    !!---------------------------------------------------------------------- 
    1410   USE par_oce 
    1511   USE par_trc 
    16    USE bdy_oce, only: ln_bdy, nb_bdy, OBC_DATA 
     12   USE bdy_oce, only: jp_bdy, ln_bdy, nb_bdy, OBC_DATA 
    1713    
    1814   IMPLICIT NONE 
     
    173169# endif 
    174170   ! 
    175    CHARACTER(len=20), PUBLIC, ALLOCATABLE,  SAVE,  DIMENSION(:)   ::  cn_trc_dflt          ! Default OBC condition for all tracers 
    176    CHARACTER(len=20), PUBLIC, ALLOCATABLE,  SAVE,  DIMENSION(:)   ::  cn_trc               ! Choice of boundary condition for tracers 
    177    INTEGER,           PUBLIC, ALLOCATABLE,  SAVE,  DIMENSION(:)   ::  nn_trcdmp_bdy        !: =T Tracer damping 
     171   CHARACTER(len=20), PUBLIC, DIMENSION(jp_bdy) :: cn_trc_dflt   ! Default OBC condition for all tracers 
     172   CHARACTER(len=20), PUBLIC, DIMENSION(jp_bdy) :: cn_trc        ! Choice of boundary condition for tracers 
     173   INTEGER,           PUBLIC, DIMENSION(jp_bdy) :: nn_trcdmp_bdy !: =T Tracer damping 
     174!$AGRIF_DO_NOT_TREAT 
    178175   ! External data structure of BDY for TOP. Available elements: cn_obc, ll_trc, trcnow, dmp 
    179176   TYPE(OBC_DATA),    PUBLIC, ALLOCATABLE, DIMENSION(:,:), TARGET ::  trcdta_bdy           !: bdy external data (local process) 
    180    ! 
    181  
     177!$AGRIF_END_DO_NOT_TREAT 
    182178   !!---------------------------------------------------------------------- 
    183179   !! NEMO/TOP 3.3.1 , NEMO Consortium (2010) 
     
    210206      ! 
    211207      IF ( ln_bdy ) THEN 
    212          ALLOCATE( cn_trc_dflt(nb_bdy)   , cn_trc(nb_bdy)     , nn_trcdmp_bdy(nb_bdy) ,       & 
    213          &      trcdta_bdy(jptra,nb_bdy)                                              ,       & 
    214          &      STAT = ierr(2)  ) 
     208         ALLOCATE( trcdta_bdy(jptra, jp_bdy), STAT = ierr(2) ) 
    215209      ENDIF 
    216210      ! 
     
    224218   END FUNCTION trc_alloc 
    225219 
    226 #else 
    227    !!---------------------------------------------------------------------- 
    228    !!  Empty module :                                     No passive tracer 
    229    !!---------------------------------------------------------------------- 
    230 #endif 
    231  
    232220   !!====================================================================== 
    233221END MODULE trc 
Note: See TracChangeset for help on using the changeset viewer.