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

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

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


Revision 1.2 - (show annotations) (download)
Sat Jul 13 03:50:50 2002 UTC (19 years, 4 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint48f_post, checkpoint51k_post, checkpoint47j_post, checkpoint48d_pre, checkpoint51l_post, checkpoint51j_post, branch-exfmods-tag, checkpoint47e_post, checkpoint47i_post, checkpoint48i_post, checkpoint47f_post, checkpoint46j_post, checkpoint50e_post, checkpoint50c_post, checkpoint46i_post, checkpoint51n_pre, checkpoint47d_post, checkpoint47a_post, checkpoint46f_post, checkpoint46d_pre, checkpoint48e_post, checkpoint46e_post, checkpoint48h_post, checkpoint50c_pre, checkpoint46c_post, branchpoint-genmake2, checkpoint46h_pre, checkpoint46l_post, checkpoint46k_post, checkpoint46e_pre, checkpoint50d_pre, checkpoint51o_pre, checkpoint46j_pre, checkpoint46b_pre, checkpoint51i_post, checkpoint47h_post, checkpoint48c_post, checkpoint51e_post, checkpoint51b_post, checkpoint46, checkpoint51l_pre, checkpoint51c_post, checkpoint46c_pre, checkpoint48, checkpoint49, checkpoint47b_post, checkpoint48d_post, checkpoint51o_post, checkpoint48g_post, checkpoint46l_pre, checkpoint51f_pre, checkpoint51, checkpoint50, checkpoint50d_post, checkpoint46g_pre, checkpoint51b_pre, checkpoint46a_post, checkpoint47g_post, checkpoint46m_post, checkpoint48a_post, checkpoint51h_pre, checkpoint46a_pre, checkpoint50g_post, checkpoint50b_pre, checkpoint51g_post, checkpoint46b_post, checkpoint51f_post, checkpoint46d_post, checkpoint48b_post, checkpoint50b_post, checkpoint46g_post, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, checkpoint47d_pre, checkpoint51d_post, checkpoint48c_pre, checkpoint51m_post, checkpoint47, checkpoint50h_post, checkpoint51a_post, checkpoint46h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51n_post, checkpoint51i_pre
Branch point for: branch-genmake2, tg2-branch, checkpoint51n_branch, branch-exfmods-curt
Changes since 1.1: +77 -0 lines
File MIME type: text/plain
Merging from release1_p5.
o New setup for adjoint of global_ocean

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