/[MITgcm]/MITgcm_contrib/ocean_inversion_project/code/PTRACERS.h
ViewVC logotype

Contents of /MITgcm_contrib/ocean_inversion_project/code/PTRACERS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Wed Sep 24 04:52:38 2003 UTC (21 years, 10 months ago) by dimitri
Branch: MAIN
Changes since 1.2: +5 -5 lines
File MIME type: text/plain
o Mods and bug fixes to pkg/cal, pkg/exf, etc. needed for computation
  of tracer Green's fucntions for ocean inversion project.

1 C $Header: /usr/local/gcmpack/MITgcm_contrib/ocean_inversion_project/code/PTRACERS.h,v 1.2 2003/09/23 04:34:23 dimitri Exp $
2 C $Name: $
3
4 #ifdef ALLOW_PTRACERS
5
6 CBOP
7 C !ROUTINE: PTRACERS.h
8 C !INTERFACE:
9 C #include PTRACERS.h
10
11 C !DESCRIPTION:
12 C Contains passive tracer fields and parameters.
13 C This file is customized to compute CO2 perturbations from
14 C 30 ocean regions for Gruber's ocean inversion project.
15
16 C Package flag
17 logical PTRACERSisON
18 COMMON /PTRACERS_PACKAGE/ PTRACERSisON
19
20 C Number of tracers
21 INTEGER PTRACERS_num
22 PARAMETER(PTRACERS_num = NUMBER_OF_PTRACERS)
23
24 C PTRACERS parameters
25 _RL PTRACERS_diffKh(PTRACERS_num)
26 _RL PTRACERS_diffK4(PTRACERS_num)
27 _RL PTRACERS_diffKr(PTRACERS_num)
28 INTEGER PTRACERS_advScheme(PTRACERS_num)
29 INTEGER PTRACERS_numInUse
30 LOGICAL PTRACERS_useGMRedi(PTRACERS_num)
31 LOGICAL PTRACERS_useKPP(PTRACERS_num)
32 LOGICAL PTRACERS_useRecords
33 CHARACTER*(MAX_LEN_FNAM) PTRACERS_initialFile(PTRACERS_num)
34 COMMON /PTRACERS_PARAMS/
35 & PTRACERS_diffKh,
36 & PTRACERS_diffK4,
37 & PTRACERS_diffKr,
38 & PTRACERS_numInUse,
39 & PTRACERS_advScheme,
40 & PTRACERS_initialFile,
41 & PTRACERS_useGMRedi,
42 & PTRACERS_useKPP,
43 & PTRACERS_useRecords
44 NAMELIST /PTRACERS_PARM01/
45 & PTRACERS_advScheme,
46 & PTRACERS_diffKh,
47 & PTRACERS_diffK4,
48 & PTRACERS_diffKr,
49 & PTRACERS_useGMRedi,
50 & PTRACERS_useKPP,
51 & PTRACERS_numInUse,
52 & PTRACERS_initialFile,
53 & PTRACERS_useRecords
54
55 C pTracer :: passive tracer concentration (tr per unit volume).
56 C gPtr :: work-space for time-stepping
57 C gPtrNM1 :: work-space for time-stepping
58 _RL pTracer (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
59 & PTRACERS_num)
60 _RL gPtr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
61 & PTRACERS_num)
62 _RL gPtrNM1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
63 & PTRACERS_num)
64 _RL surfaceTendencyPtr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy,
65 & PTRACERS_num)
66 COMMON /PTRACERS_FIELDS/
67 & pTracer, gPtr, gPtrNM1, surfaceTendencyPtr
68
69 C pTracerMasks :: masks used to define 30 ocean regions
70 C for Gruber's ocean inversion project
71 INTEGER pTracerMasks(1-OLx:sNx+OLx,1-OLy:sNy+OLy,
72 & PTRACERS_num,nSx,nSy)
73 COMMON /PTRACERS_MASKS/ pTracerMasks
74
75 C pTracerTakahashi :: variable containing monthly mean
76 C Takahashi CO2 flux climatology
77 _RS pTracerTakahashi(1-OLx:sNx+OLx,1-OLy:sNy+OLy,12,nSx,nSy)
78 COMMON /PTRACERS_Takahashi/ pTracerTakahashi
79
80 CEOP
81 #endif /* ALLOW_PTRACERS */

  ViewVC Help
Powered by ViewVC 1.1.22