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

Contents of /MITgcm/verification/global_ocean.90x40x15/code_ad_vecinv/adcommon.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 adjoint 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 /addynvars_r/
12 & adetan,
13 & aduvel, advvel, adwvel,
14 & adtheta, adsalt,
15 & adgu, adgv, adgt, adgs,
16 & adgunm1, adgvnm1, adgtnm1, adgsnm1
17 _RL adetan(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
18 cph _RL adetah(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
19 _RL adgs(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
20 _RL adgsnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
21 _RL adgt(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
22 _RL adgtnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
23 _RL adgu(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
24 _RL adgunm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
25 _RL adgv(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
26 _RL adgvnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
27 _RL adsalt(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
28 _RL adtheta(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
29 _RL aduvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
30 _RL advvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
31 _RL adwvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
32
33 #ifdef INCLUDE_CD_CODE
34 common /addynvars_cd/
35 & aduveld, advveld,
36 & adetanm1,
37 & adunm1, advnm1,
38 & adgucd, adgvcd
39 _RL aduveld(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
40 _RL advveld(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
41 _RL adetanm1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
42 _RL adunm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
43 _RL advnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
44 _RL adgucd(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
45 _RL adgvcd(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
46 #endif
47
48 common /adffields/
49 & adfu, adfv, adqnet, adempmr, adsst, adsss
50 _RL adfu(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
51 _RL adfv(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
52 _RL adqnet(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
53 _RL adempmr(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
54 _RL adsst(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
55 _RL adsss(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
56
57 #ifdef ALLOW_TR10_CONTROL
58 common /adtr1_r/
59 & adtr1, adgtr1, adgtr1nm1
60 _RL adgtr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
61 _RL adgtr1nm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
62 _RL adtr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
63 #endif
64
65 #ifdef ALLOW_DIFFKR_CONTROL
66 common /addynvars_diffkr/
67 & addiffkr
68 _RL addiffkr(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
69 #endif
70
71 #ifdef ALLOW_KAPGM_CONTROL
72 common /addynvars_kapgm/
73 & adkapgm
74 _RL adkapgm(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
75 #endif
76
77 #endif /* ALLOW_AUTODIFF_MONITOR */
78

  ViewVC Help
Powered by ViewVC 1.1.22