/[MITgcm]/MITgcm/verification/global_ocean.90x40x15/code_ad_vecinv/g_common.h
ViewVC logotype

Contents of /MITgcm/verification/global_ocean.90x40x15/code_ad_vecinv/g_common.h

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


Revision 1.1 - (show annotations) (download)
Thu Oct 2 22:47:15 2003 UTC (17 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint51l_post, checkpoint51j_post, checkpoint51o_pre, checkpoint51n_pre, checkpoint51i_post, checkpoint51l_pre, checkpoint51o_post, checkpoint51h_pre, checkpoint51g_post, checkpoint51m_post, checkpoint51n_post, checkpoint51i_pre
Branch point for: tg2-branch, checkpoint51n_branch
File MIME type: text/plain
Adding verif. for global_ocean adjoint using vector invariant momenum

1 C These common blocks are extracted from the
2 C automatically created tangent linear code.
3 C You need to make sure that they are up-to-date
4 C (i.e. in right order), and customize them
5 C accordingly.
6 C
7 C heimbach@mit.edu 11-Jan-2001
8
9 #ifdef ALLOW_AUTODIFF_MONITOR
10
11 common /g_dynvars_r/
12 & g_etan,
13 & g_uvel, g_vvel, g_wvel,
14 & g_theta, g_salt,
15 & g_gu, g_gv, g_gt, g_gs,
16 & g_gunm1, g_gvnm1, g_gtnm1, g_gsnm1
17 _RL g_etan(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
18 _RL g_gs(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
19 _RL g_gsnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
20 _RL g_gt(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
21 _RL g_gtnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
22 _RL g_gu(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
23 _RL g_gunm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
24 _RL g_gv(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
25 _RL g_gvnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
26 _RL g_salt(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
27 _RL g_theta(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
28 _RL g_uvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
29 _RL g_vvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
30 _RL g_wvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
31
32 #ifdef INCLUDE_CD_CODE
33 common /g_dynvars_cd/
34 & g_uveld, g_vveld,
35 & g_etanm1,
36 & g_unm1, g_vnm1,
37 & g_gucd, g_gvcd
38 _RL g_uveld(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
39 _RL g_vveld(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
40 _RL g_etanm1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
41 _RL g_unm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
42 _RL g_vnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
43 _RL g_gucd(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
44 _RL g_gvcd(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
45 #endif
46
47 common /g_ffields/
48 & g_fu, g_fv, g_qnet, g_empmr, g_sst, g_sss
49 _RL g_fu(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
50 _RL g_fv(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
51 _RL g_qnet(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
52 _RL g_empmr(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
53 _RL g_sst(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
54 _RL g_sss(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
55
56 #ifdef ALLOW_TR10_CONTROL
57 common /g_tr1_r/
58 & g_tr1, g_gtr1, g_gtr1nm1
59 _RL g_gtr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
60 _RL g_gtr1nm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
61 _RL g_tr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
62 #endif
63
64 #ifdef ALLOW_DIFFKR_CONTROL
65 common /g_dynvars_diffkr/
66 & g_diffkr
67 _RL g_diffkr(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
68 #endif
69
70 #ifdef ALLOW_KAPGM_CONTROL
71 common /g_dynvars_kapgm/
72 & g_kapgm
73 _RL g_kapgm(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
74 #endif
75
76 #endif /* ALLOW_AUTODIFF_MONITOR */
77

  ViewVC Help
Powered by ViewVC 1.1.22