/[MITgcm]/MITgcm/verification/global1x1_tot/code/tamc.h
ViewVC logotype

Contents of /MITgcm/verification/global1x1_tot/code/tamc.h

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


Revision 1.7 - (show annotations) (download)
Sat Feb 4 02:46:14 2012 UTC (12 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
File MIME type: text/plain
FILE REMOVED
move global1x1_tot un-tested set-up to MITgcm_contrib/verification_other/global1x1_tot/

1 C $Header: /u/gcmpack/MITgcm/verification/global1x1_tot/code/tamc.h,v 1.6 2009/02/13 22:00:04 heimbach Exp $
2 C $Name: $
3
4 c ==================================================================
5 c HEADER TAMC
6 c ==================================================================
7 c
8 c o Header for the use of the Tangent Linear and Adjoint Model
9 c Compiler (TAMC).
10 c
11 c started: Christian Eckert eckert@mit.edu 04-Feb-1999
12 c
13 c changed: Patrick Heimbach heimbach@mit.edu 06-Jun-2000
14 c - New parameter nlevchk_0 for dimensionalising
15 c common blocks in the undef ALLOW_TAMC_CHECKPOINTING case
16 c - nhreads_chkpt was declared at the wrong place
17 c
18 c
19 c ==================================================================
20 c HEADER TAMC
21 c ==================================================================
22
23
24 c TAMC checkpointing parameters:
25 c ==============================
26 c
27 c The checkpointing parameters have to be consistent with other model
28 c parameters and variables. This has to be checked before the model is
29 c run.
30 c
31 c nyears_chkpt - Number of calendar years affected by the assimilation
32 c experiment; nyears_chkpt has to be at least equal to
33 c the result of cal_IntYears(mythid).
34 c nmonths_chkpt - Number of months per year; nmonth_chkpt has to be at
35 c least equal to nmonthyear.
36 c ndays_chkpt - Number of days per month; nday_chkpt has to be at least
37 c equal to nmaxdaymonth.
38 c nsteps_chkpt - Number of steps per day; nsteps_chkpt has to be at
39 c least equal to cal_nStepDay(mythid)
40 c ncheck_chkpt - Number of innermost checkpoints.
41 c
42 c ngeom_chkpt - Geometry factor.
43 c nthreads_chkpt - Number of threads to be used; nth_chkpt .eq. nTx*nTy
44
45 integer nyears_chkpt
46 integer nmonths_chkpt
47 integer ndays_chkpt
48 integer ngeom_chkpt
49 integer ncheck_chkpt
50 integer nthreads_chkpt
51
52 parameter (nyears_chkpt = 1 )
53 parameter (nmonths_chkpt = 12 )
54 parameter (ndays_chkpt = 31 )
55 parameter (ngeom_chkpt = nr*nsx*nsy )
56 parameter (ncheck_chkpt = 6 )
57 parameter ( nthreads_chkpt = 1 )
58
59 #ifdef ALLOW_TAMC_CHECKPOINTING
60
61 integer nchklev_1
62 integer nchklev_2
63 integer nchklev_3
64 parameter( nchklev_1 = 96 )
65 parameter( nchklev_2 = 36 )
66 parameter( nchklev_3 = 36 )
67 c change to these values for very short test runs:
68 cph parameter( nchklev_1 = 24 )
69 cph parameter( nchklev_2 = 4 )
70 cph parameter( nchklev_3 = 3 )
71
72 c-- Note always check for the correct sizes of the common blocks!
73
74 #else /* ALLOW_TAMC_CHECKPOINTING undefined */
75
76 integer nchklev_0
77 parameter( nchklev_0 = 48 )
78
79 #endif /* ALLOW_TAMC_CHECKPOINTING */
80
81 c TAMC keys:
82 c ==========
83 c
84 c The keys are used for storing and reading data of the reference
85 c trajectory.
86 c
87 c The convention used here is:
88 c ikey_<name>
89 c
90 c which means that this key is used in routine <name> for reading
91 c and writing data.
92
93 common /tamc_keys_i/
94 & ikey_dynamics,
95 & ikey_yearly,
96 & ikey_daily_1,
97 & ikey_daily_2,
98 & iloop_daily
99
100 integer ikey_dynamics
101 integer ikey_yearly
102 integer ikey_daily_1
103 integer ikey_daily_2
104 integer iloop_daily
105
106 INTEGER isbyte
107 PARAMETER( isbyte = 4 )
108 INTEGER maximpl
109 PARAMETER( maximpl = 6 )
110 INTEGER maxpass
111 #ifdef ALLOW_PASSIVE_TRACER
112 PARAMETER( maxpass = 3 )
113 #else
114 PARAMETER( maxpass = 2 )
115 #endif
116 INTEGER maxcube
117 PARAMETER( maxcube = 1 )
118
119 INTEGER act0, act1, act2, act3, act4
120 INTEGER max0, max1, max2, max3
121 INTEGER iikey, kkey, passkey, igadkey,
122 & itdkey, idynkey, igmkey
123
124 c ==================================================================
125 c END OF HEADER TAMC
126 c ==================================================================
127

  ViewVC Help
Powered by ViewVC 1.1.22