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

Annotation of /MITgcm/pkg/grdchk/grdchk.h

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


Revision 1.10 - (hide 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 heimbach 1.2
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 heimbach 1.5 c heimbach@mit.edu 24-Feb-2003
13 heimbach 1.2 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 heimbach 1.3 common /grdchkparms_l/
29     & useCentralDiff
30     logical useCentralDiff
31    
32 heimbach 1.2 common /grdchkparms_i/
33     & nbeg,
34     & nend,
35     & nstep,
36 heimbach 1.5 & grdchkvarindex,
37 heimbach 1.8 & grdchkwhichproc,
38     & iGloPos,
39     & jGloPos,
40     & kGloPos,
41 heimbach 1.10 & iGloTile,
42     & jGloTile,
43 heimbach 1.8 & obcsglo,
44 heimbach 1.9 & recglo,
45     & iwetsum
46 heimbach 1.8
47 heimbach 1.2 integer nbeg
48     integer nend
49     integer nstep
50     integer grdchkvarindex
51 heimbach 1.5 integer grdchkwhichproc
52 heimbach 1.8 integer iGloPos
53     integer jGloPos
54     integer kGloPos
55 heimbach 1.10 integer iGloTile
56     integer jGloTile
57 heimbach 1.8 integer obcsglo
58     integer recglo
59 heimbach 1.10 integer iwetsum(nsx,nsy,0:nr)
60 heimbach 1.2
61     common /grdchk_r/
62 heimbach 1.4 & fcrmem, fcppmem, fcpmmem,
63 heimbach 1.2 & xxmemref, xxmempert,
64 heimbach 1.4 & 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 heimbach 1.2
77     common /grdchk_i/
78     & ncvarcomp, maxncvarcomps,
79     & nwettile,
80     & irecmem,
81     & bimem, bjmem,
82 heimbach 1.6 & ilocmem,jlocmem,klocmem,iobcsmem,
83 heimbach 1.10 & ichkmem, icompmem, itestmem, ierrmem, icglomem
84 heimbach 1.2 integer ncvarcomp
85     integer maxncvarcomps
86 heimbach 1.6 integer nwettile( nsx,nsy,nr,nobcs )
87 heimbach 1.2 integer irecmem ( maxgrdchecks )
88     integer bjmem ( maxgrdchecks )
89     integer bimem ( maxgrdchecks )
90     integer klocmem ( maxgrdchecks )
91 heimbach 1.6 integer iobcsmem( maxgrdchecks )
92 heimbach 1.2 integer jlocmem ( maxgrdchecks )
93     integer ilocmem ( maxgrdchecks )
94     integer ichkmem ( maxgrdchecks )
95     integer icompmem( maxgrdchecks )
96     integer itestmem( maxgrdchecks )
97     integer ierrmem ( maxgrdchecks )
98 heimbach 1.10 integer icglomem( maxgrdchecks )
99 heimbach 1.6
100     #ifdef ALLOW_OBCS_CONTROL
101 heimbach 1.7 common /grdchk_obcs_mask_r/
102     & grdchk_maskxz, grdchk_maskyz
103 heimbach 1.6 _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 heimbach 1.2
109     c ==================================================================
110     c END OF HEADER GRADIENT_CHECK
111     c ==================================================================
112    
113    

  ViewVC Help
Powered by ViewVC 1.1.22