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

Legend:
Removed from v.1.2005  
changed lines
  Added in v.1.2112

  ViewVC Help
Powered by ViewVC 1.1.22