/[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.9 - (show annotations) (download)
Fri May 12 02:17:03 2006 UTC (18 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58f_post, checkpoint58m_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58e_post, checkpoint58r_post, checkpoint58n_post, checkpoint58k_post, checkpoint58l_post, checkpoint58g_post, checkpoint58h_post, checkpoint58j_post, checkpoint58i_post
Changes since 1.8: +3 -1 lines
File MIME type: text/plain
o Adding diffkr, kapgm to gradient check list
o Fix k-loop problem

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 & obcsglo,
42 & recglo,
43 & iwetsum
44
45 integer nbeg
46 integer nend
47 integer nstep
48 integer grdchkvarindex
49 integer grdchkwhichproc
50 integer iGloPos
51 integer jGloPos
52 integer kGloPos
53 integer obcsglo
54 integer recglo
55 integer iwetsum(0:nr)
56
57 common /grdchk_r/
58 & fcrmem, fcppmem, fcpmmem,
59 & xxmemref, xxmempert,
60 & gfdmem, adxxmem, ftlxxmem,
61 & ratioadmem, ratioftlmem
62 _RL fcrmem ( maxgrdchecks )
63 _RL fcppmem ( maxgrdchecks )
64 _RL fcpmmem ( maxgrdchecks )
65 _RL xxmemref ( maxgrdchecks )
66 _RL xxmempert ( maxgrdchecks )
67 _RL gfdmem ( maxgrdchecks )
68 _RL adxxmem ( maxgrdchecks )
69 _RL ftlxxmem ( maxgrdchecks )
70 _RL ratioadmem ( maxgrdchecks )
71 _RL ratioftlmem ( maxgrdchecks )
72
73 common /grdchk_i/
74 & ncvarcomp, maxncvarcomps,
75 & nwettile,
76 & irecmem,
77 & bimem, bjmem,
78 & ilocmem,jlocmem,klocmem,iobcsmem,
79 & ichkmem, icompmem, itestmem, ierrmem
80 integer ncvarcomp
81 integer maxncvarcomps
82 integer nwettile( nsx,nsy,nr,nobcs )
83 integer irecmem ( maxgrdchecks )
84 integer bjmem ( maxgrdchecks )
85 integer bimem ( maxgrdchecks )
86 integer klocmem ( maxgrdchecks )
87 integer iobcsmem( maxgrdchecks )
88 integer jlocmem ( maxgrdchecks )
89 integer ilocmem ( maxgrdchecks )
90 integer ichkmem ( maxgrdchecks )
91 integer icompmem( maxgrdchecks )
92 integer itestmem( maxgrdchecks )
93 integer ierrmem ( maxgrdchecks )
94
95 #ifdef ALLOW_OBCS_CONTROL
96 common /grdchk_obcs_mask_r/
97 & grdchk_maskxz, grdchk_maskyz
98 _RL grdchk_maskxz(1-olx:snx+olx,nr,nsx,nsy,nobcs)
99 _RL grdchk_maskyz(1-oly:sny+oly,nr,nsx,nsy,nobcs)
100 #endif
101
102
103
104 c ==================================================================
105 c END OF HEADER GRADIENT_CHECK
106 c ==================================================================
107
108

  ViewVC Help
Powered by ViewVC 1.1.22