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_c14b.F90 in branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/C14b – NEMO

source: branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/C14b/par_c14b.F90 @ 2281

Last change on this file since 2281 was 2281, checked in by smasson, 14 years ago

set proper svn properties to all files...

  • Property svn:keywords set to Id
File size: 4.4 KB
Line 
1MODULE par_c14b
2   !!======================================================================
3   !!                        ***  par_c14b ***
4   !! TOP :   set the C14 bomb parameters
5   !!======================================================================
6   !! History :   2.0  !  2008-12  (C. Ethe, G. Madec)  revised architecture
7   !!----------------------------------------------------------------------
8   !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)
9   !! $Id$
10   !! Software governed by the CeCILL licence  (NEMOGCM/License_CeCILL.txt)
11   !!----------------------------------------------------------------------
12   USE par_lobster, ONLY : jp_lobster      !: number of tracers in LOBSTER
13   USE par_lobster, ONLY : jp_lobster_2d   !: number of 2D diag in LOBSTER
14   USE par_lobster, ONLY : jp_lobster_3d   !: number of 3D diag in LOBSTER
15   USE par_lobster, ONLY : jp_lobster_trd  !: number of biological diag in LOBSTER
16
17   USE par_pisces , ONLY : jp_pisces       !: number of tracers in PISCES
18   USE par_pisces , ONLY : jp_pisces_2d    !: number of 2D diag in PISCES
19   USE par_pisces , ONLY : jp_pisces_3d    !: number of 3D diag in PISCES
20   USE par_pisces , ONLY : jp_pisces_trd   !: number of biological diag in PISCES
21
22   USE par_cfc    , ONLY : jp_cfc          !: number of tracers in CFC
23   USE par_cfc    , ONLY : jp_cfc_2d       !: number of 2D diag in CFC
24   USE par_cfc    , ONLY : jp_cfc_3d       !: number of 3D diag in CFC
25   USE par_cfc    , ONLY : jp_cfc_trd      !: number of biological diag in CFC
26
27
28   IMPLICIT NONE
29
30   INTEGER, PARAMETER ::   jp_lb      = jp_lobster     + jp_pisces     + jp_cfc     !: cum. number of pass. tracers
31   INTEGER, PARAMETER ::   jp_lb_2d   = jp_lobster_2d  + jp_pisces_2d  + jp_cfc_2d  !:
32   INTEGER, PARAMETER ::   jp_lb_3d   = jp_lobster_3d  + jp_pisces_3d  + jp_cfc_3d  !:
33   INTEGER, PARAMETER ::   jp_lb_trd  = jp_lobster_trd + jp_pisces_trd + jp_cfc_trd !:
34   
35#if defined key_c14b
36   !!---------------------------------------------------------------------
37   !!   'key_c14b'   :                                   C14 bomb tracer
38   !!---------------------------------------------------------------------
39   LOGICAL, PUBLIC, PARAMETER ::   lk_c14b     = .TRUE.      !: C14 bomb flag
40   INTEGER, PUBLIC, PARAMETER ::   jp_c14b     =  1          !: number of passive tracers
41   INTEGER, PUBLIC, PARAMETER ::   jp_c14b_2d  =  2          !: additional 2d output arrays ('key_trc_diaadd')
42   INTEGER, PUBLIC, PARAMETER ::   jp_c14b_3d  =  1          !: additional 3d output arrays ('key_trc_diaadd')
43   INTEGER, PUBLIC, PARAMETER ::   jp_c14b_trd =  0          !: number of sms trends for C14
44   INTEGER, PUBLIC, PARAMETER ::   jpc14       = jp_lb + 1   !: assign an index in trc arrays for C14 bomb
45#else
46   !!---------------------------------------------------------------------
47   !!   Default     :                                       No C14 tracer
48   !!---------------------------------------------------------------------
49   LOGICAL, PUBLIC, PARAMETER ::   lk_c14b     = .FALSE.     !: C14 bomb flag
50   INTEGER, PUBLIC, PARAMETER ::   jp_c14b     =  0          !: No C14 tracers
51   INTEGER, PUBLIC, PARAMETER ::   jp_c14b_2d  =  0          !: No C14 additional 2d output arrays
52   INTEGER, PUBLIC, PARAMETER ::   jp_c14b_3d  =  0          !: No C14 additional 3d output arrays
53   INTEGER, PUBLIC, PARAMETER ::   jp_c14b_trd =  0          !: number of sms trends for C14
54#endif
55
56   ! Starting/ending C14 do-loop indices (N.B. no C14 : jp_c14b0 > jp_c14b1 the do-loop are never done)
57   INTEGER, PUBLIC, PARAMETER ::   jp_c14b0     = jp_lb + 1                !: First index of C14 tracer
58   INTEGER, PUBLIC, PARAMETER ::   jp_c14b1     = jp_lb + jp_c14b          !: Last  index of C14 tracer
59   INTEGER, PUBLIC, PARAMETER ::   jp_c14b0_2d  = jp_lb_2d  + 1            !: First index of C14 tracer
60   INTEGER, PUBLIC, PARAMETER ::   jp_c14b1_2d  = jp_lb_2d  + jp_c14b_2d   !: Last  index of C14 tracer
61   INTEGER, PUBLIC, PARAMETER ::   jp_c14b0_3d  = jp_lb_3d  + 1            !: First index of C14 tracer
62   INTEGER, PUBLIC, PARAMETER ::   jp_c14b1_3d  = jp_lb_3d  + jp_c14b_3d   !: Last  index of C14 tracer
63   INTEGER, PUBLIC, PARAMETER ::   jp_c14b0_trd = jp_lb_trd + 1            !: First index of C14 tracer
64   INTEGER, PUBLIC, PARAMETER ::   jp_c14b1_trd = jp_lb_trd + jp_c14b_trd  !: Last  index of C14 tracer
65
66   !!======================================================================
67END MODULE par_c14b
Note: See TracBrowser for help on using the repository browser.