/[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.7 - (show annotations) (download)
Tue Nov 4 20:47:42 2003 UTC (20 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, hrcube5, checkpoint52d_pre, checkpoint52j_pre, checkpoint52l_post, checkpoint52k_post, checkpoint52, checkpoint52f_post, checkpoint51t_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint51s_post, checkpoint52e_pre, checkpoint52e_post, checkpoint52b_pre, checkpoint52b_post, checkpoint52c_post, checkpoint52f_pre, checkpoint52d_post, checkpoint52a_pre, checkpoint52i_post, checkpoint52h_pre, checkpoint52j_post, branch-netcdf, checkpoint52a_post, ecco_c52_e35, checkpoint51u_post
Branch point for: netcdf-sm0
Changes since 1.6: +2 -0 lines
File MIME type: text/plain
o merged from ecco-branch
  (remaining bug fixes for obcs gradient checks)
o additional high-precision output for testreport
  (grep for precision_grdchk_result)

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

  ViewVC Help
Powered by ViewVC 1.1.22