/[MITgcm]/MITgcm_contrib/llc_hires/llc_270/code_ad/tamc.h
ViewVC logotype

Annotation of /MITgcm_contrib/llc_hires/llc_270/code_ad/tamc.h

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


Revision 1.2 - (hide annotations) (download)
Thu Jun 19 21:58:17 2014 UTC (11 years, 1 month ago) by zhc
Branch: MAIN
Changes since 1.1: +8 -5 lines
File MIME type: text/plain
UPDATE

1 zhc 1.1 C $Header: /u/gcmpack/MITgcm_contrib/gael/verification/global_oce_llc90/code/tamc.h_itXX,v 1.1 2012/10/04 17:12:00 gforget 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 changed: Patrick Heimbach heimbach@mit.edu 06-Jun-2000
15     c - New parameter nlevchk_0 for dimensionalising
16     c common blocks in the undef ALLOW_TAMC_CHECKPOINTING case
17     c - nhreads_chkpt was declared at the wrong place
18     c - new keys, separate for different packages
19    
20    
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 zhc 1.2 c prof=1
65     parameter( nchklev_1 = 55 )
66     c prof=4
67     c parameter( nchklev_1 = 50 )
68 zhc 1.1 integer nchklev_2
69 zhc 1.2 parameter( nchklev_2 = 80 )
70 zhc 1.1 integer nchklev_3
71 zhc 1.2 parameter( nchklev_3 = 80 )
72 zhc 1.1
73     c-- Note always check for the correct sizes of the common blocks!
74    
75     #else /* ALLOW_TAMC_CHECKPOINTING undefined */
76    
77     integer nchklev_0
78     parameter( nchklev_0 = 64800 )
79    
80     #endif /* ALLOW_TAMC_CHECKPOINTING */
81    
82     c TAMC keys:
83     c ==========
84     c
85     c The keys are used for storing and reading data of the reference
86     c trajectory.
87     c
88     c The convention used here is:
89     c ikey_<name>
90     c
91     c which means that this key is used in routine <name> for reading
92     c and writing data.
93    
94     common /tamc_keys_i/
95     & ikey_dynamics,
96     & ikey_yearly,
97     & ikey_daily_1,
98     & ikey_daily_2,
99     & iloop_daily
100    
101     integer ikey_dynamics
102     integer ikey_yearly
103     integer ikey_daily_1
104     integer ikey_daily_2
105     integer iloop_daily
106    
107     INTEGER isbyte
108     PARAMETER( isbyte = 4 )
109     INTEGER maximpl
110     PARAMETER( maximpl = 6 )
111     #ifndef ALLOW_PTRACERS
112     INTEGER maxpass
113 zhc 1.2 PARAMETER( maxpass = 3 )
114 zhc 1.1 #endif
115     INTEGER maxcube
116     PARAMETER( maxcube = 3 )
117    
118     INTEGER act0, act1, act2, act3, act4
119     INTEGER max0, max1, max2, max3
120     INTEGER iikey, kkey, passkey, igadkey,
121 zhc 1.2 & itdkey, idynkey, igmkey, iptrkey
122 zhc 1.1
123     c ================================================================
124     c END OF HEADER TAMC
125     c ================================================================
126    
127    

  ViewVC Help
Powered by ViewVC 1.1.22