/[MITgcm]/MITgcm/doc/tag-index
ViewVC logotype

Diff of /MITgcm/doc/tag-index

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

revision 1.2015 by gforget, Sat Jun 28 22:50:34 2014 UTC revision 1.2128 by jmc, Thu Feb 19 20:57:07 2015 UTC
# Line 4  $Name$ Line 4  $Name$
4      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
5      ==============================      ==============================
6    
7  o pkg/autodiff :  o tools/genmake2:
8    - introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and    - add option for an alternative Makefile (from Martin) where multiple
9        source files are sent to TAF (instead of all in one file).
10    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013, Eden and Olbers, 2014)
11      - code provided by Carsten Eden as an extension of ggl90
12      - so far the code is turned on within ggl90 by setting a CPP-flag at
13        compile time; a runtime flag implementation is not yet complete
14      - tested in new verification experiment global_ocean.90x40x15.idemix
15    o verification:
16      - reduce length of the AD test run by half for experiments
17        global_ocean.cs32x15 (std + thsice) and isomip
18    o verification/testreport:
19      - fix two non-POSIX sed statements so that there are no error messages
20        on Mac OS X
21      - replace hostname -s with hostname | sed 's/\..*$//'
22    o model/src/seawater.F:
23      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
24        (following the matlab code), which would have avoided the bug caught
25        by Matt (see below) in the first place
26    o pkg/shelfice:
27      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
28        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
29      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
30        ice-shelf case (i.e., within surface level).
31      - add config summary in shelfice_check.F
32      - remove global variable recip_SHELFICElatentHeat and replace by a local
33        variable recip_latentHeat
34      - introduce diagnostics for friction velocity uStar (in case of
35        SHELFICEuseGammaFrict)
36      - change verification experiment isomip.htd:
37        + start from pickup (as input_ad at nIter0=8640)
38        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
39        + test SHELFICEuseGammaFrict = .TRUE.
40        + test SHELFICEadvDiffHeatFlux = .TRUE.
41    o model/src:
42      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
43        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
44        update output of experiments global_with_exf.yearly and isomip (all 6).
45    o pkg/shelfice:
46      - change setting of kTopC to also be zero where there is no ice-shelf.
47      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
48        ice-shelf is.
49      - first attempt to get RealFreshWaterFlux effects: for now, only without
50        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
51    o pkg/seaice: add the option to prescribe a fixed thickness PDF
52      for thermodynamic calculations
53      - because of divisions of the type 7/7 not exactly equal to 1, this change
54        affects results of some verification experiments by up to 4 digits:
55        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
56        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
57        adjoint: lab_sea, lab_sea.noseaicedyn
58        -> updated
59    
60    checkpoint65i (2015/01/23)
61    o model/src:
62      - change units of frictionHeating field from W to W/m^2
63      - fix bug in frictional heating from stratospheric drag in
64        S/R ATM_PHYS_TENDENCY_APPLY_V
65      - with synchronous time-stepping: move resetting to zero of frictionHeating
66        field from load_fields_driver.F to thermodynamics.F ;
67      - add diagnostics for frictional heating.
68    o model/src & gmredi K3D:
69      - add frictionHeating field to pickup-files (for synchronous time-stepping)
70      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
71      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
72        and name in pickup file).
73      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
74    o model/src:
75      - move (from ini_forcing.F) initialisation of all arrays in header file
76        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
77        (since Nov 2012) with option selectAddFluid=1.
78    o pkg/shelfice:
79      - change units (+ document) of newly added field "shelfIceMassDynTendency"
80      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
81    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
82    o pkg/seaice: two new runtime parameters:
83      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
84        long overdue
85      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
86        parameterization of tensil stress for fast ice (does not do anything yet)
87    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
88        for LSR: move checking overlaps out of JFNK-if-block
89    o pkg/atm_phys:
90      - move copy of grid and dynamical fields out of atm_phys_driver.F into
91        new S/R ATM_PHYS_DYN2PHYS.
92      - fix level height for Linear Free-Surf case (to be consistent with
93        fixed-in-time pressure levels).
94    o pkg/mom_common (bottomdrag):
95      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
96        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
97        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
98    o pkg/shelfice (u/v_drag):
99      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
100      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
101        (now similar to shelfice_u_drag.F)
102      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
103        from mom_vecinv.F (similar to mom_fluxform calls).
104    o pkg/mom_common (bottomdrag):
105      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
106      - add options for alternative discretisation of velocity norm in quadratic
107        bottom drag: averaging of grid-cell-center KE to U.point and V.point
108        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
109        improves when averaging only the other component (e.g. vVel for U bottom
110        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
111      - add options (bottomVisc_pCell) to account for partial-cell in bottom
112        friction (no-slip BC) thus getting the true distance from the bottom;
113        off by default since this also reduces model stability (explicit bottom
114        friction). Changes produce different machine truncation with linear-drag
115        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
116        front_relax (bvp & mxl, 10 & 11 digits).
117    o model/src & mom pkgs:
118      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
119        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
120      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
121        just copy level Nr value to level Nr+1.
122    o doc:
123      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
124    o pkg/streamice:
125      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
126        SHELFICE.h: move array shelficemass to init_varia, initialise
127        from array shelficemassinit, which is set in init_fixed and
128        has option to be set from file; introduce array
129        shelficeMassDynTend array, set thru file in init_fixed
130      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
131        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
132        pkg/streamice
133      - shelfice_thermodynamics.F: call shelfice_step_icemass if
134        SHELFICEMassStepping = .true.
135      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
136    
137    checkpoint65h (2014/12/17)
138    o verification/global_ocean.90x40x15, global_ocean_ebm:
139      - update to generic controls.
140    o pkg/ctrl:
141      - ctrl_map_ini_genarr.F: test for igen>0
142      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
143      - move gentim2d part of ctrl_map_ini_genarr.F to
144        new separate routine : ctrl_map_ini_gentim2d.F
145      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
146        add time variable weights and cyclic controls (time mean,
147        seasonal cycle, etc) capabilities to gentim2d
148    o pkg/ecco:
149      - move reading of error, conversion to weights from
150        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
151    o global_oce_llc90, cs32:
152      - activte sbo.
153      - CTRL_SIZE.h : add maxCtrlProc.
154      - activate the new genctrl capabilities.
155      - update following reorganization of global_oce_input_fields.tar.gz  
156    o pkg/ctrl/ctrl_ad_diff.list:
157      - add missing ctrl_init_rec.f
158    o tools/OAD_support/keepOriginal:
159      - add ctrl_init_rec.F
160    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
161      - avoid recomputations of xx_gentim2d_dummy.
162    o momentum diagnostics:
163      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
164        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
165    o pkg/seaice/seaice_lsr.F:
166      - fix computation of BU/BV, make sure they are non-zero, only necessary
167        for cubed sphere exchanges and SEAICE_OLx/y>0.
168        This makes calling s/r fill_cs_corner_rl obsolete (removed).
169    o verification/global_ocean.cs32x15/input.seaice
170      - add test for strong implicit coupling and restricted addtive Schwarz
171        methods for LSR
172      - update results/output.seaice.txt
173    o verification/tutorial_global_oce_biogeo:
174      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
175        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
176        update output_adm,_oadm,_tlm.txt
177    o pkg/dic:
178      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
179      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
180        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
181    o verification/tutorial_global_oce_biogeo:
182      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
183        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
184        update output_adm,_oadm,_tlm.txt
185    o eesupp/src:
186      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
187        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
188    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
189      LSR (following Hutchings et al. 2004)
190      - introduce zetaZ as a global variable (requires adjustments in
191        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
192        in seaice_calc_viscosities.F
193      - new flag SEAICEuseStrImpCpl (default off)
194      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
195        momentum equations
196      - JFNK-solver (preconditioner) adjusted to allow using this method
197        (where it does not have any positive effect)
198    o pkg/seaice
199      - add overlap for restrictive additive Schwartz method also to LSR, but
200        turn it off by default (because it only seems to work for non-cubed
201        sphere/llc topologies)
202    o pkg/autodiff
203      - add extra exchanges in addummy_in_steppging also for mnc output
204    o pkg/seaice:
205      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
206        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
207    o pkg/obcs:
208      - add option to specify domain-connected piece Id along OB though files
209        (for now, only used to diagnose PhiVel; default =1 -> global correction)
210      - modify obcs_diag_balance.F to process each connected-part separately;
211        exclude OB where Id = 0 but keep the full divergence there (-> constant
212        Psi along this portion of OB and all inflow derived from grad(Phi))
213      - add example of OB-conect files in verification/so_box_biogeo/input.
214    o pkg/diagnostics:
215      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
216      a) use non zero matrix element across OB and solve for Phi 1 grid point
217         outside OB (i.e, where tracer OBCS are applied).
218      b) global imbalance of inFlow/outFlow across OB: instead of modifying
219         velocity across OB, spread it uniformly along the OB in the RHS.
220    
221    checkpoint65g (2014/11/19)
222    o pkg/diagnostcis:
223      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
224    o pkg/my82,pp81,kl10:
225      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
226        field diffKr as background diffusivity to set minimum diffusivity value.
227    o pkg/seaice:
228      - add new parameter SEAICEuseEVPrev (for revisited EVP by
229        Bouillon et al 2013)
230      - add SEAICE_evpAlpha/Beta to namelist
231      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
232        involve trivial re-ordering of divisions/multiplications that should not
233        have any effects, but ... they do change the results of lab_sea.hb87 so
234        that only 2 digits of agreement remain, in line with the general
235        instability/fragility of the evp-code. For now, I do not care and just
236        update the verification experiment
237    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
238      - remove xx_genarr2d_numsmooth etc
239      - use xx_genarr2d_preproc etc instead
240      - carry out smooth_correl2D at initialization stage rather than during
241        time stepping.
242      - get smoothOpNb from xx_gentim2d_preproc
243    o global_oce_cs32 :
244      - add test of generic ecco capabilities.
245    o pkg/exf/exf_getsurfacefluxes.F :
246      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
247    o pkg/ctrl,ecco :
248      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
249        is defined.
250    o pkg/seaice: add diagnostics for Delta (deformation parameter)
251    o model/src:
252      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
253        diffusivity (background) is specified but ignored.
254    o verification:
255      - in testreport, convert hostname to lower case for default output dir name
256    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
257    o pkg/dic: add modifications from Hajoon:
258      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
259      - light attenuation: add self-shading effect by climatological Chlorophyll
260        (read from file).
261    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
262        compiles when SEAICE_ALLOW_DYNAMICS is undefined
263    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
264        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
265        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
266        approach where CPP_OPTIONS.h includes an omnipotent
267        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
268    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
269        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
270    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
271        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
272        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
273    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
274      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
275      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
276      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
277      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
278    o pkg/ctrl,ecco,exf :
279      - remove variables associated with NON-generic costs,
280        unless ECCO_CTRL_DEPRECATED is defined.
281      - remove NON-generic NON-obcs controls,
282        unless ECCO_CTRL_DEPRECATED is defined.
283    o pkg/ctrl : added ctrl_local_params.h
284    o pkg/ecco : added ecco_local_params.h
285    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
286        experiments, which will progressively be removed once the
287        experiments are revised to use only generic controls/costs.
288    
289    checkpoint65f (2014/10/13)
290    o pkg/ctrl, ecco, seaice : minor changes in headers
291    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
292        cost function and control capabilities added since checkpoint65c.
293    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
294    o pkg/ecco: increase modularity and improve logic
295      - ecco_toolbox.F (new) : basic operations that are often used,
296        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
297        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
298      - cost_gencal.F (new) : determine filnames and records.
299      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
300      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
301        and exploit the above functions leading to more compact code.
302      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
303      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
304        using_ers, using_gfo, using_mdt is now only defined within gencost)
305    o pkg/ecco: extend generic cost capabilities
306      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
307        capabilities via gencost_preproc (+ _c,_i,_r related params),
308        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
309        gencost_outputlevel arguments to cost_generic
310      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
311        and active_read, making room for gencost_preproc to take effect.
312        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
313      - pkg/ecco/cost_generic.F :
314        compute and store misfit maks*(model-data) in localdif that is
315        then used in cost and for output, output misfit if outlev.GT.0
316      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
317        rather gencost_barfile for deciding whether to write barfile
318      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
319      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
320        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
321      - pkg/ecco/ecco_summary.F : report gencost variables
322      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
323    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
324    o pkg/ecco: internal re-organization
325      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
326        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
327        mv relevant variables definition from ecco_cost.h to ecco.h,
328        make sure gencost routines only include ecco.h)
329      - throughout : add missing CCP switches, rm unused variables,
330        and rm un-necessary CPP switches
331      - throughout gencost routines : replace modelstartdate with
332        gencost_startdate when needed
333      - cost_bp_read.F : use arguments, instead of common blocs
334        so that it can be used also by (new) cost_gencost_bpv4.F
335      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
336      - ecco_phys.F : compute etanFull
337      - ecco_readparms.F : rename using_topex as using_tpj, add
338        bpv4-grace to gencost list, initialize added parameters
339      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
340    
341    checkpoint65e (2014/09/28)
342    o pkg/obcs:
343      - replaced the just-added CPP options with run-time variables
344        (see pkg/obcs/OBCS_PARAMS.h for details)
345    o pkg/obcs:
346      - add additional CPP options for sponge boundary layers
347        (see pkg/obcs/OBCS_OPTIONS.h for details)
348    o pkg/atm_phys:
349      - implement simple (obliquity only, assuming circular planet orbit)
350        seasonal cycle for incoming insolation ; used when run-time parameter
351        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
352    o pkg/exf, pkg/ecco, pkg/ctrl:
353      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
354      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
355      - implement gentim2d for xx_tauu, xx_tauv
356    o pkg/ctrl, pkg/ecco :
357      - fix and complement the generic controls implementation
358    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
359        pkg/shelfice/shelfice_thermodynamics.F,
360        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
361        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
362      - add weight in CTRL_GET_GEN calls
363    o pkg/ctrl :
364      - ctrl_get_gen.F : add weight as input parameter, and apply
365        it directly rather than using smooth_correl2Dw (to be retired).
366      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
367    o pkg/ctrl :
368      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
369        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
370      - re-activate ctrl_summary (call in ctrl_init.F)
371    o pkg/ctrl/ctrl_cost_gen.F :
372      - fix CCP brackets, remove un-necessary myiter, mytime
373    o pkg/ecco, pkg/ctrl :
374      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
375      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
376      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
377      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
378    
379    checkpoint65d (2014/09/15)
380    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
381      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
382        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
383    o pkg/ctrl/ctrl_map_ini_genarr.F :
384      - remove compilation failure
385      - replace hard coded example
386      - use ctrl_map_ini_gen2D, 3D
387    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
388      - on/off switch based upon xx_genarr2d_weight,3d
389    o src/packages_init_variables.F :
390      - regroup pkg/estimation calls
391      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
392        (moved to ctrl_init_variables)
393    o cost/cost_init_varia.F :
394      - remove ecco_cost_init_varia
395        (moved to ecco_init_varia)
396    o ctrl/ctrl_init_variables.F :
397      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
398      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
399    o ctrl/ctrl_map_ini.F :
400      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
401        (moved to ctrl_init_variables)
402    o ctrl/ctrl_map_ini_ecco.F :
403      - remove ECCO_PHYS (mv to ecco_init_varia)
404      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
405    o ecco/ecco_ad_diff.list :
406      - add ecco_init_varia.f
407    o ecco/ecco_init_varia.F
408      - new routine
409    o pkg/streamice:
410      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
411        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
412      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
413    o pkg/generic_advdiff:
414      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
415    o pkg/exf:
416      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
417         xxg_precip capability
418      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
419    o pkg/ctrl:
420      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
421    o model/src/load_fields_driver.F :
422      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
423        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
424    o OpenAD verification experiments:
425      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
426        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
427        for now, only in pkgs used in OpenAD verification experiments.
428      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
429        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
430        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
431        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
432    o OpenAD verification tests:
433      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
434      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
435        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
436      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
437        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
438    o model/src & generic_advdiff:
439      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
440        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
441        dynamics requires valid tracer forcing only over tile interior but, for
442        some diagnostics, may need to extend it over 1 point in tile halo region.
443      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
444        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
445        setting in temp/salt/ptracer_integrate.F
446    o pkg/dic:
447      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
448        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
449        in gchem_forcing_sep.F
450    o pkg/autodiff & obcs:
451      - add storage of current OB values for U & V (was already done for T & S).
452    
453    checkpoint65c (2014/08/30)
454    o pkg/dic:
455      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
456        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
457        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
458    o verification:
459      - new experiment testing OBCS and DIC pkgs, using params & output from
460        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
461        passage: take OBCS from the last year of a 2 yrs simulation and initial
462        conditions from t=1.yr while keeping the same forcing.
463    o model/src:
464      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
465        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
466    o pkg/diagnostics (Stats-Diags):
467      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
468        a) refine region where stats are computed, excluding where arrhFac=0 ;
469        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
470        c) extend regional stats over the region edges (for U or V pt location).
471    o pkg/gchem:
472      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
473        pkg/dic is currently changing/updating ptracers values beyond the OB).
474    o verification (hs94):
475      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
476        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
477        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
478        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
479    o pkg/ptracers:
480      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
481        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
482      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
483        with AB-2 code (so that it get tested).
484    o model/src:
485      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
486        with AB-2 code (previously only available with AB-3 code).
487        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
488        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
489        there, by calling CYCLE_AB_TRACER).
490    o pkg/generic_advdiff:
491      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
492        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
493        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
494        S/R temp/salt/ptracers_integrate.F
495    o model/src & pkg/ptracers:
496      - remove common block variables gT,gS (in DYNVARS.h), except when
497         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
498      - remove common block variable gPtr.
499    o model/src & pkgs:
500      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
501         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
502         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
503         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
504      + change accordingly all calling S/R.
505      - use local temperature/salinity/ptracer tendency array (without bi,bj)
506        in S/R temp/salt/ptracers_integrate.F
507    o pkg/seaice:
508      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
509        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
510      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
511        in seaice_lsr
512      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
513        in s/r seaice_lsr_calc_coeffs
514    o pkg/mdsio:
515      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
516        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
517        too long (e.g., > MAX_LEN_FNAM/2 )
518    
519    checkpoint65b (2014/08/12)
520    o pkg/matrix:
521      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
522    o model/src:
523      - fix initialisation of geothermalFile; compile geothermal-flux code in
524        natl_box verification experiment.
525    o model/src & pkg/down_slope:
526      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
527      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
528        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
529        results at machine truncation level: update output of experiments
530        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
531    o pkg/diagnostics (Stats-Diags):
532      - do not cumulate the full volume when DIAGNOSTICS_FILL is
533        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
534        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
535        times (but Min,Max and StD are still wrong).
536    o model/src:
537      - add geothermal flux forcing: read in ini_forcing.F as time-constant
538        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
539    o model/src:
540      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
541        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
542        arrays are already updated while adjustments (filters, conv.adjustment) are
543        still applied later, in S/R TRACERS_CORRECTION_STEP.
544    o model/src:
545      - store in common bloc array "rhoInSitu" the virtual potential temperature
546        anomaly that is used to compute geopotential: this make the atmos code
547        more similar to ocean code which already uses rhoInSitu in calc_phi_hyd.F
548    o pkg/seaice/seaice_lsr.F
549      - rename integer variable ilcall to ipass (that's what it is called
550        in the residual diagnostics
551      - change time stepping for NPSEUDOTIMESTEP > 2 (does not change the
552        default) for improved non-linear convergence of the first few steps
553      - adjust a few comments and add new ones to explain some of the store
554        directives
555    o pkg/generic_advdiff (& ptracers):
556      - re-work the code to check for valid advection scheme and for minimum
557        size of overlap (now stored in local common bloc in gad_advscheme.F)
558    o pkg/seaice: another attempt to make the adjoint work for sea ice dynamics
559      - re-initialize more variables in seaice_lsr: u/vIceC, u/vIceNm1
560      - add an auxilliary variable "bet" and fix store directives and keys in
561        seaice_lsr_tridiagu/v, this seems to do the trick (i.e. more or
562        less exact gradients in my tests); but there are still
563        recomputation warning (although gradients are sort of OK), when
564        SEAICE_LSR_VECTORIZE is not defined, so this flag and
565        SEAICE_LSR_VECTORIZE_ZEBRA are recommended for efficiency.
566      - update verification experiments lab_sea.
567      - change some comments in S/R seaice_calc_viscosities
568    o model/src:
569      - if staggerTimeStep=T, always apply exchange to velocity field in
570        do_stagger_fields_exchanges.F instead of in do_fields_blocking_exchanges.F
571        (independent of using multi-dim advection or not); no effect on FWD run
572        but affects AD results (at machine truncation level): update output of
573        experiment 1D_ocean_ice_column (ad: 12 digits), hs94.1x64x5 (ad,oad: 13.d)
574        and isomip (oad: 12.d).
575    o pkg/generic_advdiff:
576      - stop if doAB_onGtGs is set to FALSE but ignored
577      - refine warning related to stability of tracer time-stepping
578        regarding internal wave dynamics.
579      - setting of AdamsBashforth_T,S when doAB_onGtGs=F: remove condition
580        on staggerTimeStep & implicitIntGravWave (will now get a warning
581        if potentially unstable).
582    o pkg/kl10:
583      - add new pkg "kl10" for mixing due to internal wave breaking, from
584        http://www.sciencedirect.com/science/article/pii/S1463500310000144
585        (contribution from Jody Klymak), tested in verification experiment
586        verification/internal_wave/input.kl10/
587    o isomip experiment:
588      - test pkg/shelfice with Non-Lin Free-Surf in one of the FWD set-up
589        (input.htd) and update the output.
590    o cd_code experiments:
591      - use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM &
592        #undef CD_CODE_NO_AB_CORIOLIS) in experiments: cfc_example (fwd)
593        global_ocean.90x40x15 (ad & oad) and OpenAD (ad & oad) and
594        update the corresponding output.
595    o pkg/seaice:
596      - reduce the number of include files and store directives in
597        S/R seaice_lsr_tridiagu/v
598      - change the order of loops in one case in S/R seaice_lsr_tridiagv
599        (only for SEAICE_VECTORIZE_LSR_ZEBRA defined), which allows me to
600        get rid off one store directive (a TAF bug?)
601      - add one more instance of ifdef SEAICE_VECTORIZE_LSR_ZEBRA in
602        S/R seaice_lsr_tridiagv to change the loop range for consistency
603      - remove ilcall, m from parameter list of S/R seaice_lsr_tridiagu/v
604      - fix a bug that affects the JFNK solver: replace sNx/y by i/jMax in
605        S/R seaice_lsr_tridiagu/v (requires update of
606        offline_exf_seaice/input.dyn_jfnk)
607    
608    checkpoint65a (2014/07/27)
609    o model/src:
610      - Non-Lin Free-Surf in p/z coords: allows hFacW,S to be larger than
611        surrounding hFacC=1 @ edge of a step with different kSurfC on either side
612        (topo in p-coords, ice-shelf in z-coords); update output of experiments
613        tutorial_global_oce_in_p and isomip (both AD and OpenAD output).
614    o model/src:
615      - collect momentum forcing tendency into local 2-D array (passed as argument
616        to apply_forcing S/R); this simplifies mom. Forcing diagnostics and CD_CODE
617        parts in timestep.F (without CD_CODE_NO_AB_MOMENTUM defined = the default);
618        affects results at machine truncation level (e.g., if using OBCS_SPONGE).
619      - collect T & S forcing tendency into local 2-D array (passed as argument to
620        apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
621        affects results at machine truncation level (e.g., ocean: if using
622        SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
623        correction due to vertical advection).
624      - update output of experiments: fizhi-cs-32x32x40 (13 digits),
625        global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
626        seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
627        obcs_ctrl (ad & fwd grd @ 12 & 7).
628    o pkg/ptracers & diagnostics:
629      - use ptracers (short) name (instead of long one) to make ptracers diagnostics
630        title (to avoid some unexpected truncation); sort out ptracers diags units.
631      - collect ptracer forcing tendency into local 2-D array (passed as argument
632        to apply_forcing S/R); add 3-D diagnostics for ptracers forcing tendency.
633    
634    checkpoint65 (2014/07/18)
635    o pkg/fizhi:
636      - add parenthesis around fizhi tendencies in fizhi_tendency_apply.F: this
637        affects results at machine truncation level. Update output of experiments
638        fizhi-cs-32x32x40 (12 digits for cg2d) & fizhi-cs-aqualev20 (13 digits).
639    o pkg/seaice: more clean up
640      - rename TAF common block tapes to be more consistent and remove
641        unnecessary duplicates
642      - add store directives to remove more recomputations, but use smaller
643        tapes (and adjust keys) when SEAICE_LSR_ADJOINT_ITER is undefined.
644        The idea behind this flag is to reduce the memory footprint when the
645        adjoint of the LSR is not required. As of now, defining the flag
646        SEAICE_LSR_ADJOINT_ITER increases 4 common block tapes for 2D field by
647        a factor of SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h).
648        For experiment offline_exf_seaice, this means on a linux box with gfortran
649        nearly a factor of 10 (but keep in mind there is mostly seaice code in
650        this experiment):
651        > size mitgcmuv_ad
652        text    data        bss     dec        hex
653        5100659 1216  220458952  225560827  d71c8fb
654        5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
655        but only a moderate increase of 36% for global_ocean.cs32x15:
656        text    data        bss     dec        hex
657        6695027 1648 1014578664 1021275339 3cdf6ccb
658        6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER)
659      - note: there are still recomputations in global_ocean.cs32x15 and
660        offline_exf_seaice and the gradient agreement changes (gets a
661        little worse) for global_ocean.cs32x15 (-> update output_adm.seaice.txt)
662      - in general, the AD gradients still are wrong
663    o OpenAD
664      - clean up code_oad/ directories somewhat by moving files
665        dontCompile, dontTransform, keepOriginal to OAD_support/
666    o model/src:
667      - using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F
668        (not currently tested): add dissipation terms before NLFS rescaling of
669        tendencies (previously done after).
670    o pkg/diagnostics:
671      - write stats-diags in ascii file with more digits (same as in monitor).
672    o pkg/down_slope:
673      - drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with
674        NLFS (not tested), use new recip_hFac value in order to conserve tracer.
675    o model/src:
676      - new file "apply_forcing.F" containing all the code previously in
677        external_forcing.F, but with new argument list: pass, as new argument,
678        the current level tendency array to update (instead of a direct update
679        of the common bloc array). Change the corresponding calls.
680      - add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use
681        EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility).
682    o pkg/seaice/seaice_lsr, a little bit of clean up
683      - rearrange some code blocks, so that now all calculations for
684        setting up the right-hand-sides done within one single block
685        (I find that easier to read and understand)
686      - rearrange freedrift-code to reduce the number of ifdefs
687      - adjust some indentations and comments
688    
689    checkpoint64z (2014/07/10)
690    o model/src and several pkgs:
691      - change argument list of all S/R called from external_forcing.F and
692        called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)
693        to pass, as argument, the current level tendency array to update
694        (instead of a direct update of the common bloc array).
695      - change also (in the same way) argument list of PTRACERS_APPLY_FORCING;
696      - rename taueddy_external_forcing.f to taueddy_tendency_apply.F
697    o pkg/seaice/seaice_lsr.F
698      - always initialize local arrays in seaice_lsr_tridiagu/v
699      - add more local tapes to seaice_lsr_tridiagu/v
700      - move storing u/vice(:,:,bi,bj) out of seaice_lsr_tridiagu/v, but
701        keep it in bi/bj loop; this seems to be essential
702      - gradients are still wrong but only by 4-7 orders of magnitude
703        instead of 15 orders of magnitude, lab_sea improves a little
704    o pkg/seaice
705      - (pkg/autodiff) remove storing/restoring of seaiceMaskU/V that
706        generates unnecessary code in seaice_lsr_ad
707      - add more store directives in seaice_lsr to avoid unnecessary code
708        in seaice_lsr_ad
709      - exclude some residual computations in seaice_lsr when
710        ALLOW_AUTODIFF_TAMC is defined in order to avoid unnecessary code
711        in seaice_lsr_ad
712      - add more storing, a new tape (model/src/the_main_loop.F) and
713        another key for SEAICE_LSR_VECTORIZE_ZEBRA (the local keys ilockey
714        and klockey should be checked by a specialist)
715      - modify ( define SEAICE_VECTORIZE_LSR and SEAICE_LSR_ADJOINT_ITER )
716        and update lab_sea after previous changes in pkg/seaice below
717    o pkg/autodiff:
718      - introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and
719      viscFacInAd : run time parameters allowing for adjoint switches      viscFacInAd : run time parameters allowing for adjoint switches
720      note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F      note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F
721  o pkg/ecco :  o pkg/ecco:
722    - introduce cost_gencost_boxmean.F that computes a box mean    - introduce cost_gencost_boxmean.F that computes a box mean
723      temperature (for use in adjoint sensitivity studies).      temperature (for use in adjoint sensitivity studies).
724  o model/src/set_defaults.F : initialize viscFacAdj to 1.  o model/src/set_defaults.F : initialize viscFacAdj to 1.
725  o pkg/mom_common/mom_calc_visc.F :  o pkg/mom_common/mom_calc_visc.F:
726    - ifdef ALLOW_AUTODIFF then include viscFacAdj factor.    - ifdef ALLOW_AUTODIFF then include viscFacAdj factor.
727  o pkg/seaice/seaice_summary.F :  o pkg/seaice/seaice_summary.F:
728    - statement for SEAICEadjMODE now in autodiff_readparms.F    - statement for SEAICEadjMODE now in autodiff_readparms.F
729  o pkg/seaice  o pkg/seaice:
   - remove unnecessary u/vTmp from subroutine call of  
     seaice_lsr_tridiagu/v  
730    - remove some store directives and add new ones in an effort to get    - remove some store directives and add new ones in an effort to get
731      finally rid off the recomputation warnings. This is successful      finally rid off the recomputation warnings. This is successful
732      when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are      when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are

Legend:
Removed from v.1.2015  
changed lines
  Added in v.1.2128

  ViewVC Help
Powered by ViewVC 1.1.22