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

Contents of /MITgcm/pkg/grdchk/grdchk.h

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


Revision 1.10 - (show annotations) (download)
Sun Nov 19 23:17:17 2006 UTC (17 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint59, checkpoint58y_post, checkpoint58t_post, checkpoint58w_post, checkpoint58v_post, checkpoint58x_post, checkpoint58u_post, checkpoint58s_post
Changes since 1.9: +7 -2 lines
File MIME type: text/plain
Several changes to test different tiles, independent of wether
yes or no useCubedSphereExchange.

1
2 c ==================================================================
3 c HEADER GRADIENT_CHECK
4 c ==================================================================
5 c
6 c o Header for doing gradient checks with the ECCO ocean state
7 c estimation tool.
8 c
9 c started: Christian Eckert eckert@mit.edu 01-Mar-2000
10 c
11 c changed: Christian Eckert eckert@mit.edu
12 c heimbach@mit.edu 24-Feb-2003
13 c
14 c
15 c ==================================================================
16 c HEADER GRADIENT_CHECK
17 c ==================================================================
18
19 c maxgrdchecks - maximum number of gradient checks done per tile.
20
21 integer maxgrdchecks
22 parameter ( maxgrdchecks = 4000 )
23
24 common /grdchkparms_r/
25 & grdchk_eps
26 _RL grdchk_eps
27
28 common /grdchkparms_l/
29 & useCentralDiff
30 logical useCentralDiff
31
32 common /grdchkparms_i/
33 & nbeg,
34 & nend,
35 & nstep,
36 & grdchkvarindex,
37 & grdchkwhichproc,
38 & iGloPos,
39 & jGloPos,
40 & kGloPos,
41 & iGloTile,
42 & jGloTile,
43 & obcsglo,
44 & recglo,
45 & iwetsum
46
47 integer nbeg
48 integer nend
49 integer nstep
50 integer grdchkvarindex
51 integer grdchkwhichproc
52 integer iGloPos
53 integer jGloPos
54 integer kGloPos
55 integer iGloTile
56 integer jGloTile
57 integer obcsglo
58 integer recglo
59 integer iwetsum(nsx,nsy,0:nr)
60
61 common /grdchk_r/
62 & fcrmem, fcppmem, fcpmmem,
63 & xxmemref, xxmempert,
64 & gfdmem, adxxmem, ftlxxmem,
65 & ratioadmem, ratioftlmem
66 _RL fcrmem ( maxgrdchecks )
67 _RL fcppmem ( maxgrdchecks )
68 _RL fcpmmem ( maxgrdchecks )
69 _RL xxmemref ( maxgrdchecks )
70 _RL xxmempert ( maxgrdchecks )
71 _RL gfdmem ( maxgrdchecks )
72 _RL adxxmem ( maxgrdchecks )
73 _RL ftlxxmem ( maxgrdchecks )
74 _RL ratioadmem ( maxgrdchecks )
75 _RL ratioftlmem ( maxgrdchecks )
76
77 common /grdchk_i/
78 & ncvarcomp, maxncvarcomps,
79 & nwettile,
80 & irecmem,
81 & bimem, bjmem,
82 & ilocmem,jlocmem,klocmem,iobcsmem,
83 & ichkmem, icompmem, itestmem, ierrmem, icglomem
84 integer ncvarcomp
85 integer maxncvarcomps
86 integer nwettile( nsx,nsy,nr,nobcs )
87 integer irecmem ( maxgrdchecks )
88 integer bjmem ( maxgrdchecks )
89 integer bimem ( maxgrdchecks )
90 integer klocmem ( maxgrdchecks )
91 integer iobcsmem( maxgrdchecks )
92 integer jlocmem ( maxgrdchecks )
93 integer ilocmem ( maxgrdchecks )
94 integer ichkmem ( maxgrdchecks )
95 integer icompmem( maxgrdchecks )
96 integer itestmem( maxgrdchecks )
97 integer ierrmem ( maxgrdchecks )
98 integer icglomem( maxgrdchecks )
99
100 #ifdef ALLOW_OBCS_CONTROL
101 common /grdchk_obcs_mask_r/
102 & grdchk_maskxz, grdchk_maskyz
103 _RL grdchk_maskxz(1-olx:snx+olx,nr,nsx,nsy,nobcs)
104 _RL grdchk_maskyz(1-oly:sny+oly,nr,nsx,nsy,nobcs)
105 #endif
106
107
108
109 c ==================================================================
110 c END OF HEADER GRADIENT_CHECK
111 c ==================================================================
112
113

  ViewVC Help
Powered by ViewVC 1.1.22