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

Contents of /MITgcm/verification/global_ocean.90x40x15/code_ad/adcommon.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, 2 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: +78 -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 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