/[MITgcm]/MITgcm/verification/front_relax/code_ad/adcommon.h
ViewVC logotype

Contents of /MITgcm/verification/front_relax/code_ad/adcommon.h

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


Revision 1.2 - (show annotations) (download)
Tue Oct 28 22:58:00 2003 UTC (19 years, 3 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint52l_pre, checkpoint57g_pre, checkpoint57s_post, checkpoint58b_post, checkpoint57b_post, checkpoint57g_post, checkpoint56b_post, checkpoint57y_post, checkpoint52j_pre, checkpoint54d_post, checkpoint54e_post, checkpoint57r_post, checkpoint57d_post, checkpoint57i_post, checkpoint52k_post, checkpoint59, checkpoint58, checkpoint55, checkpoint54, checkpoint57, checkpoint56, checkpoint53, checkpoint52, checkpoint58f_post, checkpoint52f_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint54f_post, checkpoint58y_post, checkpoint51t_post, checkpoint58t_post, checkpoint55i_post, checkpoint58m_post, checkpoint57l_post, checkpoint52i_pre, checkpoint51s_post, checkpoint57t_post, checkpoint55c_post, checkpoint52e_pre, checkpoint57v_post, checkpoint57f_post, checkpoint52e_post, checkpoint53d_post, checkpoint57a_post, checkpoint57h_pre, checkpoint52b_pre, checkpoint54b_post, checkpoint58w_post, checkpoint57h_post, checkpoint52m_post, checkpoint57y_pre, checkpoint55g_post, checkpoint51q_post, checkpoint52b_post, checkpoint52c_post, checkpoint58o_post, checkpoint52h_pre, checkpoint57c_post, checkpoint58p_post, checkpoint58q_post, checkpoint52f_pre, checkpoint55d_post, checkpoint58e_post, checkpoint54a_pre, checkpoint53c_post, checkpoint55d_pre, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint54a_post, checkpoint55h_post, checkpoint58n_post, checkpoint51r_post, checkpoint57e_post, checkpoint55b_post, checkpoint53a_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59h, checkpoint52d_post, checkpoint53g_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, eckpoint57e_pre, checkpoint58k_post, checkpoint52a_pre, checkpoint58v_post, checkpoint52i_post, checkpoint56a_post, checkpoint58l_post, checkpoint53f_post, checkpoint57h_done, checkpoint52j_post, checkpoint57j_post, checkpoint57f_pre, checkpoint58g_post, branch-netcdf, checkpoint52l_post, checkpoint58x_post, checkpoint52n_post, checkpoint53b_pre, checkpoint58h_post, checkpoint56c_post, checkpoint58j_post, checkpoint57a_pre, checkpoint55a_post, checkpoint57o_post, checkpoint57k_post, checkpoint53b_post, checkpoint52a_post, checkpoint57w_post, checkpoint58i_post, ecco_c52_e35, checkpoint57x_post, checkpoint58c_post, checkpoint58u_post, checkpoint53d_pre, checkpoint58s_post, checkpoint55e_post, checkpoint54c_post, checkpoint51p_post, checkpoint51u_post
Branch point for: branch-nonh, netcdf-sm0
Changes since 1.1: +1 -1 lines
File MIME type: text/plain
 o add a "cd_code" package and update all the verification tests
   so that they use the new package instead of "INCLUDE_CD_CODE"

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 _RL adgs(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
19 _RL adgsnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
20 _RL adgt(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
21 _RL adgtnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
22 _RL adgu(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
23 _RL adgunm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
24 _RL adgv(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
25 _RL adgvnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
26 _RL adsalt(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
27 _RL adtheta(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
28 _RL aduvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
29 _RL advvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
30 _RL adwvel(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
31
32 #ifdef ALLOW_CD_CODE
33 common /addynvars_cd/
34 & aduveld, advveld,
35 & adetanm1,
36 & adunm1, advnm1,
37 & adgucd, adgvcd
38 _RL aduveld(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
39 _RL advveld(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
40 _RL adetanm1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
41 _RL adunm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
42 _RL advnm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
43 _RL adgucd(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
44 _RL adgvcd(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
45 #endif
46
47 common /adffields/
48 & adfu, adfv, adqnet, adempmr, adsst, adsss
49 _RL adfu(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
50 _RL adfv(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
51 _RL adqnet(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
52 _RL adempmr(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
53 _RL adsst(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
54 _RL adsss(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
55
56 #ifdef ALLOW_TR10_CONTROL
57 common /adtr1_r/
58 & adtr1, adgtr1, adgtr1nm1
59 _RL adgtr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
60 _RL adgtr1nm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
61 _RL adtr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
62 #endif
63
64 #ifdef ALLOW_DIFFKR_CONTROL
65 common /addynvars_diffkr/
66 & addiffkr
67 _RL addiffkr(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
68 #endif
69
70 #ifdef ALLOW_KAPGM_CONTROL
71 common /addynvars_kapgm/
72 & adkapgm
73 _RL adkapgm(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