/[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.1 - (show annotations) (download)
Thu Sep 18 02:33:38 2003 UTC (21 years, 10 months ago) by dimitri
Branch: MAIN
File MIME type: text/plain
Modifications and input files needed to compute tracer
Green's functions for Gruber's ocean inversion project.

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/PTRACERS.h,v 1.2 2003/06/27 01:56:17 heimbach 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 cdm This file is customized to compute CO2 perturbations from 30 ocean
14 cdm 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 COMMON /PTRACERS_FIELDS/
65 & pTracer,
66 & gPtr,
67 & gPtrNM1
68
69 cdm pTracerMasks :: masks used to define 30 ocean regions
70 cdm 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 CEOP
76 #endif /* ALLOW_PTRACERS */

  ViewVC Help
Powered by ViewVC 1.1.22