/[MITgcm]/MITgcm/verification/lab_sea/code_ad/tamc.h
ViewVC logotype

Annotation of /MITgcm/verification/lab_sea/code_ad/tamc.h

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


Revision 1.2 - (hide annotations) (download)
Fri Feb 13 21:52:16 2009 UTC (15 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64j, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, 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.1: +8 -3 lines
File MIME type: text/plain
Update tamc.h for single-prec comlev option

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

  ViewVC Help
Powered by ViewVC 1.1.22