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

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

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


Revision 1.5 - (show annotations) (download)
Fri Feb 13 22:00:04 2009 UTC (15 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint63h, checkpoint63i, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint62, checkpoint63, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.4: +1 -1 lines
File MIME type: text/plain
Update tamc.h for single-prec comlev option

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

  ViewVC Help
Powered by ViewVC 1.1.22