/[MITgcm]/MITgcm_contrib/verification_other/natl_box_adjoint/code/tamc.h
ViewVC logotype

Annotation of /MITgcm_contrib/verification_other/natl_box_adjoint/code/tamc.h

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


Revision 1.1 - (hide annotations) (download)
Sat Feb 4 02:15:44 2012 UTC (13 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64k, checkpoint64x, checkpoint64z, checkpoint64o, checkpoint64p, checkpoint64r, checkpoint64w, checkpoint64v, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint64m, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65u, checkpoint65j, checkpoint67a, checkpoint67b, checkpoint65i, checkpoint67d, checkpoint65m, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65e, checkpoint64i, checkpoint64h, checkpoint65h, checkpoint65, checkpoint64j, checkpoint65n, HEAD
File MIME type: text/plain
move un-tested set-up from MITgcm/verification/natl_box_adjoint to Contrib/verification_other

1 jmc 1.1 C $Header: /u/gcmpack/MITgcm/verification/natl_box_adjoint/code/tamc.h,v 1.10 2009/02/13 21:53:17 heimbach Exp $
2     C $Name: $
3    
4     #include "PACKAGES_CONFIG.h"
5    
6     c ================================================================
7     c HEADER TAMC
8     c ================================================================
9     c
10     c o Header for the use of the Tangent Linear and Adjoint Model
11     c Compiler (TAMC).
12     c
13     c started: Christian Eckert eckert@mit.edu 04-Feb-1999
14     c
15     c changed: Patrick Heimbach heimbach@mit.edu 06-Jun-2000
16     c - New parameter nlevchk_0 for dimensionalising
17     c common blocks in the undef ALLOW_TAMC_CHECKPOINTING case
18     c - nhreads_chkpt was declared at the wrong place
19     c
20     c
21     c ================================================================
22     c HEADER TAMC
23     c ================================================================
24    
25    
26     c TAMC checkpointing parameters:
27     c ==============================
28     c
29     c The checkpointing parameters have to be consistent with other model
30     c parameters and variables. This has to be checked before the model is
31     c run.
32     c
33     c nyears_chkpt - Number of calendar years affected by the assimilation
34     c experiment; nyears_chkpt has to be at least equal to
35     c the result of cal_IntYears(mythid).
36     c nmonths_chkpt - Number of months per year; nmonth_chkpt has to be at
37     c least equal to nmonthyear.
38     c ndays_chkpt - Number of days per month; nday_chkpt has to be at least
39     c equal to nmaxdaymonth.
40     c nsteps_chkpt - Number of steps per day; nsteps_chkpt has to be at
41     c least equal to cal_nStepDay(mythid)
42     c ncheck_chkpt - Number of innermost checkpoints.
43     c
44     c ngeom_chkpt - Geometry factor.
45     c nthreads_chkpt - Number of threads to be used; nth_chkpt .eq. nTx*nTy
46    
47     integer nyears_chkpt
48     integer nmonths_chkpt
49     integer ndays_chkpt
50     integer ngeom_chkpt
51     integer ncheck_chkpt
52     integer nthreads_chkpt
53    
54     parameter (nyears_chkpt = 1 )
55     parameter (nmonths_chkpt = 12 )
56     parameter (ndays_chkpt = 31 )
57     parameter (ngeom_chkpt = nr*nsx*nsy )
58     parameter (ncheck_chkpt = 6 )
59     parameter ( nthreads_chkpt = 1 )
60    
61     #ifdef ALLOW_TAMC_CHECKPOINTING
62    
63     integer nchklev_1
64     parameter( nchklev_1 = 48 )
65     integer nchklev_2
66     parameter( nchklev_2 = 62 )
67     integer nchklev_3
68     parameter( nchklev_3 = 2 )
69     integer nchklev_4
70     parameter( nchklev_4 = 2 )
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 = 64800 )
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     #ifdef ALLOW_TAMC_SINGLEPREC_COMLEV
108     PARAMETER( isbyte = 4 )
109     #else
110     PARAMETER( isbyte = 8 )
111     #endif
112    
113     INTEGER maximpl
114     PARAMETER( maximpl = 6 )
115     #ifdef ALLOW_PTRACERS
116     cph moved this to PTRACERS_SIZE.h
117     cph INTEGER maxpass
118     cph PARAMETER( maxpass = PTRACERS_num + 2 )
119     #else
120     INTEGER maxpass
121     PARAMETER( maxpass = 2 )
122     #endif
123     INTEGER maxcube
124     PARAMETER( maxcube = 1 )
125    
126     INTEGER act0, act1, act2, act3, act4
127     INTEGER max0, max1, max2, max3
128     INTEGER iikey, kkey, passkey, igadkey,
129     & itdkey, idynkey, igmkey
130    
131     c ================================================================
132     c END OF HEADER TAMC
133     c ================================================================
134    
135    

  ViewVC Help
Powered by ViewVC 1.1.22