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.
par_trc.F90 in trunk/NEMO/TOP_SRC – NEMO

source: trunk/NEMO/TOP_SRC/par_trc.F90 @ 945

Last change on this file since 945 was 945, checked in by cetlod, 16 years ago

Update modules for new version of TOP model, see ticket 144

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1MODULE par_trc
2   !!======================================================================
3   !!                        ***  par_trc  ***
4   !! TOP :   set the passive tracers parameters
5   !!======================================================================
6   !! History :    -   !  1996-01  (M. Levy)  original code
7   !!              -   !  1999-07  (M. Levy)  for LOBSTER1 or NPZD model
8   !!              -   !  2000-04  (O. Aumont, M.A. Foujols)  HAMOCC3 and P3ZD
9   !!             1.0  !  2004-03  (C. Ethe) Free form and module
10   !!             2.0  !  2007-12  (C. Ethe, G. Madec)  revised architecture
11   !!----------------------------------------------------------------------
12   !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)
13   !! $Id$
14   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
15   !!----------------------------------------------------------------------
16   USE par_kind          ! kind parameters
17   !
18   USE par_lobster   ! LOBSTER model
19   USE par_pisces    ! PISCES  model
20   USE par_cfc       ! CFC 11 and 12 tracers
21   USE par_my_trc    ! user defined passive tracers
22
23   IMPLICIT NONE
24   PUBLIC
25
26   ! Passive tracers : Total size
27   ! ---------------               ! total number of passive tracers, of 2d and 3d output and trend arrays
28   INTEGER, PUBLIC, PARAMETER ::   jptra    =  jp_lobster    + jp_pisces     + jp_cfc     + jp_my_trc
29   INTEGER, PUBLIC, PARAMETER ::   jpdia2d  =  jp_lobster_2d + jp_pisces_2d  + jp_cfc_2d  + jp_my_trc_2d
30   INTEGER, PUBLIC, PARAMETER ::   jpdia3d  =  jp_lobster_3d + jp_pisces_3d  + jp_cfc_3d  + jp_my_trc_3d
31   !                     ! total number of sms diagnostic arrays
32   INTEGER, PUBLIC, PARAMETER ::   jpdiabio = jp_lobster_trd + jp_pisces_trd + jp_cfc_trd + jp_my_trc_trd
33   
34   !  1D configuration ("key_c1d")
35   ! -----------------
36# if defined key_c1d
37   LOGICAL, PUBLIC, PARAMETER ::   lk_trc_c1d   = .TRUE.   !: 1D pass. tracer configuration flag
38# else   
39   LOGICAL, PUBLIC, PARAMETER ::   lk_trc_c1d   = .FALSE.  !: 1D pass. tracer configuration flag
40# endif
41
42   ! Passive tracers : size for TRP trends diagnotics (used if 'key_trc_diatrd' defined)
43#if defined key_trcldf_eiv
44# if defined key_trcdmp
45   INTEGER, PARAMETER :: jpdiatrc = 11      !: trends: 3*(advection + diffusion + eiv ) + damping + sms
46# else
47   INTEGER, PARAMETER :: jpdiatrc = 10      !: trends: 3*(advection + diffusion + eiv )           + sms
48# endif
49#else
50# if defined key_trcdmp
51   INTEGER, PARAMETER :: jpdiatrc =  8      !: trends: 3*(advection + diffusion       ) + damping + sms
52# else
53   INTEGER, PARAMETER :: jpdiatrc =  7      !: trends: 3*(advection + diffusion       ) + damping + sms
54# endif
55#endif
56
57   !!======================================================================
58END MODULE par_trc
Note: See TracBrowser for help on using the repository browser.