/[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.11 - (hide annotations) (download)
Fri Apr 20 19:26:43 2007 UTC (17 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59h
Changes since 1.10: +4 -0 lines
File MIME type: text/plain
Enable gradient checks on vector-valued objective function
in the context of ADMTLM.

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

  ViewVC Help
Powered by ViewVC 1.1.22