/[MITgcm]/MITgcm/pkg/ctrl/ctrl.h
ViewVC logotype

Annotation of /MITgcm/pkg/ctrl/ctrl.h

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


Revision 1.1 - (hide annotations) (download)
Sun Mar 25 22:33:55 2001 UTC (23 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre1, checkpoint38, c37_adj, checkpoint39
File MIME type: text/plain
Modifications and additions to enable automatic differentiation.
Detailed info's in doc/notes_c37_adj.txt

1 heimbach 1.1
2     c ==================================================================
3     c HEADER CONTROLVARS
4     c ==================================================================
5     c
6     c o Control variables of the ECCO state estimation tool.
7     c
8     c Depending on the specific problem to be studied users will have to
9     c modify this header file.
10     c
11     c started: Christian Eckert eckert@mit.edu 30-Jun-1999
12     c
13     c changed: Christian Eckert eckert@mit.edu
14     c
15     c
16     c ==================================================================
17     c HEADER CONTROLVARS
18     c ==================================================================
19     c
20     c nwet[c/s/w]tile - Number of wet points in a tile for center (c),
21     c south (s), and western (w) mask, resp. .
22    
23     integer maxcvars
24     parameter ( maxcvars = 20 )
25    
26     integer optimcycle
27     parameter ( optimcycle = 0 )
28    
29     common /controlvars_i/
30     & nvartype,
31     & nvarlength,
32     & ncvarindex,
33     & ncvarrecs,
34     & ncvarrecstart,
35     & ncvarrecsend,
36     & ncvarxmax,
37     & ncvarymax,
38     & ncvarnrmax,
39     & nwetctile,
40     & nwetstile,
41     & nwetwtile
42     integer nvartype
43     integer nvarlength
44     integer ncvarindex ( maxcvars )
45     integer ncvarrecs ( maxcvars )
46     integer ncvarrecstart ( maxcvars )
47     integer ncvarrecsend ( maxcvars )
48     integer ncvarxmax ( maxcvars )
49     integer ncvarymax ( maxcvars )
50     integer ncvarnrmax ( maxcvars )
51     integer nwetctile ( nsx, nsy, nr )
52     integer nwetstile ( nsx, nsy, nr )
53     integer nwetwtile ( nsx, nsy, nr )
54    
55     common /controlvars_c/
56     & ncvargrd
57     character*(1) ncvargrd(maxcvars)
58    
59     c Control variables:
60     c ==================
61     c
62     c xx_theta - control vector temperature part.
63     c xx_salt - control vector salt part.
64     cph(
65     c xx_... are to be replaced by tmpfld2d/3d throughout the code;
66     c control variables are written to / read from active files
67     c TAMC sees xx_..._dummy
68    
69     common /controlvars_r/
70     & tmpfld2d,
71     & tmpfld3d
72     _RL tmpfld2d (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
73     _RL tmpfld3d (1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
74    
75    
76     c Files where the control variables are stored:
77     c =============================================
78     c
79     c xx_theta_file - control vector temperature part.
80     c xx_salt_file - control vector salinity part.
81    
82     common /controlfiles_c/
83     & xx_theta_file
84     & , xx_salt_file
85     & , xx_tauu_file
86     & , xx_tauv_file
87     & , xx_sflux_file
88     & , xx_hflux_file
89     & , xx_sss_file
90     & , xx_sst_file
91     & , xx_diffkr_file
92     & , xx_kapgm_file
93     character*(MAX_LEN_FNAM) xx_theta_file
94     character*(MAX_LEN_FNAM) xx_salt_file
95     character*(MAX_LEN_FNAM) xx_tauu_file
96     character*(MAX_LEN_FNAM) xx_tauv_file
97     character*(MAX_LEN_FNAM) xx_sflux_file
98     character*(MAX_LEN_FNAM) xx_hflux_file
99     character*(MAX_LEN_FNAM) xx_sss_file
100     character*(MAX_LEN_FNAM) xx_sst_file
101     character*(MAX_LEN_FNAM) xx_diffkr_file
102     character*(MAX_LEN_FNAM) xx_kapgm_file
103    
104     common /packnames_c/
105     & yadmark
106     & , expId
107     & , ctrlname
108     & , costname
109     & , scalname
110     & , maskname
111     & , metaname
112     character*2 yadmark
113     character*10 expId
114     character*9 ctrlname
115     character*9 costname
116     character*9 scalname
117     character*9 maskname
118     character*9 metaname
119    
120     c ==================================================================
121     c END OF HEADER CONTROLVARS
122     c ==================================================================
123    
124    

  ViewVC Help
Powered by ViewVC 1.1.22