/[MITgcm]/MITgcm/pkg/autodiff/adcommon.h
ViewVC logotype

Annotation of /MITgcm/pkg/autodiff/adcommon.h

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


Revision 1.1.2.2 - (hide annotations) (download)
Mon Apr 8 20:10:37 2002 UTC (23 years, 2 months ago) by heimbach
Branch: release1
CVS Tags: release1_p13_pre, release1_p13, release1_p8, release1_p9, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_chkpt44d_post, release1_p12, release1_p10, release1_p11, release1_p16, release1_p17, release1_p14, release1_p15, release1_p12_pre
Branch point for: release1_50yr
Changes since 1.1.2.1: +23 -54 lines
File MIME type: text/plain
Changes encapsulated by checkpoint43a-release1mods and chkpt44d_post
on the main trunk.
These are:

 o added missing EXCLUDE_MONITOR flags
 o changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi
   (incompatible typ in MIN/MAX expressions caused problems
   on IBM SP3)
 o in genmake added variable MAKEDEPEND
   plus resetting for case SunOS
 o added timer_stats.c routine for IBM SP3
 o removed variables in dynamics
 o real fresh water flux implemented with non-linear free-surface.
 o few fix (mask in shap_s2, EmPmR in external_field_load,
   USE_NATURAL_BCS in solve_for_P);
 o add arguments myIter & myTime to S/R obcs_calc & solve_for_P
 o merge of relevant stuff from the ecco-branch:
   - genmake: removed $S64 overwrite for case SunOS
   - pkg/exf: update and corrections for field swapping and obcs
   - pkg/ecco: parameter lists for the_model_main, the_main_loop
               harmonized between ECCO and MITgcm
   - pkg/autodiff: added flow directives for obcs, mdsio_gl_slice
                   updated checkpointing_lev... lists for obcs
   - model/src: minor changes in forward_step, plot_field
                added directive for divided adjoint in the_main_loop
   - pkg/mdsio: added mdsio_gl_slice
 o check parameters & config (chkpt44a_pre,post)
 o OBC and NonLin_FrSurf.
 o fix bug in mom_vi_del2uv
 o select when filters are applied ; add options to zonal_filter (data.zonfilt)
 o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
 o update AIM experiments (NCEP input files)
 o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
 o added some stuff for AD

These were merged with
cvs co -r release1 -P MITgcm
cd MITgcm
cvs update -kk
cvs update -j checkpoint43a-release1mods -j chkpt44d_post -d -P -kk

1 heimbach 1.1.2.2 These lines are uncommented on purpose to provoke
2     a model crash. You need to customize this header file
3     to your problem.
4     These common blocks are extracted from the
5     automatically created tangent linear code.
6     You need to make sure that they are up-to-date
7     (i.e. in right order), and customize them
8     accordingly.
9 heimbach 1.1
10 heimbach 1.1.2.2 heimbach@mit.edu 11-Jan-2001
11 adcroft 1.1.2.1
12 heimbach 1.1 common /addynvars_r/
13 heimbach 1.1.2.2 & adetan,
14 heimbach 1.1 & aduvel, advvel, adwvel,
15     & adtheta, adsalt,
16     & adgu, adgv, adgt, adgs,
17     & adgunm1, adgvnm1, adgtnm1, adgsnm1
18     _RL adetan(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     common /addynvars_cd/
34     & aduveld, advveld,
35 heimbach 1.1.2.2 & adetanm1,
36 heimbach 1.1 & 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 heimbach 1.1.2.2 _RL adetanm1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
41 heimbach 1.1 _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    
46 heimbach 1.1.2.2 cph common /adtr1_r/
47     cph & adtr1, adgtr1, adgtr1nm1
48     cph _RL adgtr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
49     cph _RL adgtr1nm1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
50     cph _RL adtr1(1-olx:snx+olx,1-oly:sny+oly,nr,nsx,nsy)
51    
52 heimbach 1.1 common /adffields/
53 heimbach 1.1.2.2 & adfu, adfv
54     & , adqnet, adempmr
55     cph & , adsst, adsss
56 heimbach 1.1 _RL adfu(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
57     _RL adfv(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
58     _RL adqnet(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
59     _RL adempmr(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
60 heimbach 1.1.2.2 cph _RL adsst(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)
61     cph _RL adsss(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy)

  ViewVC Help
Powered by ViewVC 1.1.22