/[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.1980 by mlosch, Wed Apr 23 12:42:19 2014 UTC revision 1.2149 by mlosch, Tue May 5 16:11:26 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/seaice:
8      - seaice_calc_viscosity.F: change computation of deltaC**2 to ensure
9        positiveness, modify a few comments and improve variable names,
10      - the changed computation of deltaC affects most seaice-related
11        experiments at the truncation level.
12        seaice_itd.thermo is affected by far the most, with
13        only 7 digits of agreement remaining; update experiments.
14    
15    checkpoint65l (2015/05/04)
16    o pkg/shelfice:
17      - in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set
18        factor drKp1 to zero where it is negative (ie. do not use
19        SHELFICEBoundaryLayer if hFacC>1)
20      - the same for factor drLoc in shelfice_forcing.F
21    o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem
22        with modules in ptracers, when using testreport option "-small_f"
23    o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD)
24      - replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1))
25    o verification/testreport
26      - add new option -small_f
27        with this option testreport first makes the target small_f (*.f files)
28        before running make (all). This is useful for explicit inlining when
29        all sources need to be full available.
30    o pkg/exf/exf_interp.F:
31        remove previous changes related to reverse (decreasing) input grids latitude
32    
33    checkpoint65k (2015/04/01)
34    o pkg/ecco:
35        fix missing cosphi initialization; use eccoiter in place of optimcycle;
36        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
37        instead of active read/write
38    o pkg/ctrl:
39        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
40        instead of active read/write.
41    o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F
42        return if .NOT.useAUTODIFF
43    o pkg/seaice: add CPP brackets (cost function related).
44    o model/src:
45        add useAUTODIFF run time switch.
46    o pkg/exf/exf_interp.F:
47        add code to allow input grids with latitude starting in the north (i.e. when
48        j=1 corresponds to northern edge of field); modify global_with_exf to test
49        this feature.
50    o verification/testreport:
51      - replace "grep -A3" with POSIX conformal sed command, because there are
52        implementations of grep that cannot do contextual searches
53      - replace "cat -n" by "nl" (two occurrences), because not all implementations
54        of "cat" have the option "-n"
55    o model/src:
56        add new file gsw_teos10.F that contains 3 functions, more or less a copy
57        of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to
58        convert from conservative to potential temperature. For now they are not
59        called anywhere.
60    o pkg/ggl90: make "useIDEMIX" useful
61      - re-organize code in s/r ggl90_calc a little to move computations that
62        are different for idemix into separate loops (changes verification
63        experiment idemix at truncation level, 12 digits remain -> updated)
64      - requires 2 new 2D fields KappaM, verticalShear
65      - make hFacI and recip_hFacI local 3D variables that are passed to
66        s/r ggl90_idemix
67      - fix and improve some comments
68    
69    checkpoint65j (2015/02/25)
70    o pkg/openad
71      - synchronize seawater.F with version in model/src: replace routine
72        body of sw_temp by calling sw_ptmp and fix/add a few comments.
73    o pkg/mnc:
74      - change default value of pickup_read/write_mnc params to FALSE
75        (since few features are missing in reading MNC pickup files).
76    o model/src:
77      - change default (background) vertical diffusivity for salt to be the
78        temperature (background) vertical diffusivity.
79      - change background vertical diffusivity in vertical mixing pkgs ggl90,
80        kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity.
81        This makes ptracers default diffusivity (that uses salt diffKr) more
82        consistent with vertical mixing schemes.
83    o verification/testreport:
84      - fix typo in "-pcls" option ;
85      - put temp files in /tmp (instead of in local dir)
86      - add option "-ncad" to use genmake2 new option "-nocat4ad"
87      - allow to use "-j" option (for multi-procs make) for AD, OAD and TLM.
88    o pkg/ggl90 (idemix code):
89      - apply few fixes ; add some missing "_d 0" ; update output of exp.
90        global_ocean.90x40x15.idemix
91    o OpenAD
92      - enable active file I/O and begin removal of work-around code
93        for OpenAD for handling control variables (memory vs. active files)
94      - new CPP options file OPENAD_OPTIONS.h
95      - revert to genarr2d gradient check for hs94.1x64x5
96      - (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens)
97      - gentim2d works for halfpipe_streamice but not yet hs94.1x64x5
98    o tools/genmake2:
99      - add option for an alternative Makefile (from Martin) where multiple
100        source files are sent to TAF (instead of all in one file).
101    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013)
102      - code provided by Carsten Eden as an extension of ggl90
103      - so far the code is turned on within ggl90 by setting a CPP-flag at
104        compile time; a runtime flag implementation is not yet complete
105      - tested in new verification experiment global_ocean.90x40x15.idemix
106    o verification:
107      - reduce length of the AD test run by half for experiments
108        global_ocean.cs32x15 (std + thsice) and isomip
109      - enable active file I/O for OpenAD, adjust verifications accordingly
110      - halfpipe_streamice: change gradient check from genarr2d to gentim2d
111    o verification/testreport:
112      - fix two non-POSIX sed statements so that there are no error messages
113        on Mac OS X
114      - replace hostname -s with hostname | sed 's/\..*$//'
115    o model/src/seawater.F:
116      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
117        (following the matlab code), which would have avoided the bug caught
118        by Matt (see below) in the first place
119    o pkg/shelfice:
120      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
121        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
122      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
123        ice-shelf case (i.e., within surface level).
124      - add config summary in shelfice_check.F
125      - remove global variable recip_SHELFICElatentHeat and replace by a local
126        variable recip_latentHeat
127      - introduce diagnostics for friction velocity uStar (in case of
128        SHELFICEuseGammaFrict)
129      - change verification experiment isomip.htd:
130        + start from pickup (as input_ad at nIter0=8640)
131        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
132        + test SHELFICEuseGammaFrict = .TRUE.
133        + test SHELFICEadvDiffHeatFlux = .TRUE.
134    o model/src:
135      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
136        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
137        update output of experiments global_with_exf.yearly and isomip (all 6).
138    o pkg/shelfice:
139      - change setting of kTopC to also be zero where there is no ice-shelf.
140      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
141        ice-shelf is.
142      - first attempt to get RealFreshWaterFlux effects: for now, only without
143        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
144    o pkg/seaice: add the option to prescribe a fixed thickness PDF
145      for thermodynamic calculations
146      - because of divisions of the type 7/7 not exactly equal to 1, this change
147        affects results of some verification experiments by up to 4 digits:
148        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
149        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
150        adjoint: lab_sea, lab_sea.noseaicedyn
151        -> updated
152    
153    checkpoint65i (2015/01/23)
154    o model/src:
155      - change units of frictionHeating field from W to W/m^2
156      - fix bug in frictional heating from stratospheric drag in
157        S/R ATM_PHYS_TENDENCY_APPLY_V
158      - with synchronous time-stepping: move resetting to zero of frictionHeating
159        field from load_fields_driver.F to thermodynamics.F ;
160      - add diagnostics for frictional heating.
161    o model/src & gmredi K3D:
162      - add frictionHeating field to pickup-files (for synchronous time-stepping)
163      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
164      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
165        and name in pickup file).
166      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
167    o model/src:
168      - move (from ini_forcing.F) initialisation of all arrays in header file
169        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
170        (since Nov 2012) with option selectAddFluid=1.
171    o pkg/shelfice:
172      - change units (+ document) of newly added field "shelfIceMassDynTendency"
173      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
174    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
175    o pkg/seaice: two new runtime parameters:
176      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
177        long overdue
178      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
179        parameterization of tensil stress for fast ice (does not do anything yet)
180    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
181        for LSR: move checking overlaps out of JFNK-if-block
182    o pkg/atm_phys:
183      - move copy of grid and dynamical fields out of atm_phys_driver.F into
184        new S/R ATM_PHYS_DYN2PHYS.
185      - fix level height for Linear Free-Surf case (to be consistent with
186        fixed-in-time pressure levels).
187    o pkg/mom_common (bottomdrag):
188      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
189        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
190        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
191    o pkg/shelfice (u/v_drag):
192      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
193      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
194        (now similar to shelfice_u_drag.F)
195      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
196        from mom_vecinv.F (similar to mom_fluxform calls).
197    o pkg/mom_common (bottomdrag):
198      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
199      - add options for alternative discretisation of velocity norm in quadratic
200        bottom drag: averaging of grid-cell-center KE to U.point and V.point
201        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
202        improves when averaging only the other component (e.g. vVel for U bottom
203        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
204      - add options (bottomVisc_pCell) to account for partial-cell in bottom
205        friction (no-slip BC) thus getting the true distance from the bottom;
206        off by default since this also reduces model stability (explicit bottom
207        friction). Changes produce different machine truncation with linear-drag
208        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
209        front_relax (bvp & mxl, 10 & 11 digits).
210    o model/src & mom pkgs:
211      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
212        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
213      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
214        just copy level Nr value to level Nr+1.
215    o doc:
216      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
217    o pkg/streamice:
218      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
219        SHELFICE.h: move array shelficemass to init_varia, initialise
220        from array shelficemassinit, which is set in init_fixed and
221        has option to be set from file; introduce array
222        shelficeMassDynTend array, set thru file in init_fixed
223      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
224        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
225        pkg/streamice
226      - shelfice_thermodynamics.F: call shelfice_step_icemass if
227        SHELFICEMassStepping = .true.
228      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
229    
230    checkpoint65h (2014/12/17)
231    o verification/global_ocean.90x40x15, global_ocean_ebm:
232      - update to generic controls.
233    o pkg/ctrl:
234      - ctrl_map_ini_genarr.F: test for igen>0
235      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
236      - move gentim2d part of ctrl_map_ini_genarr.F to
237        new separate routine : ctrl_map_ini_gentim2d.F
238      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
239        add time variable weights and cyclic controls (time mean,
240        seasonal cycle, etc) capabilities to gentim2d
241    o pkg/ecco:
242      - move reading of error, conversion to weights from
243        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
244    o global_oce_llc90, cs32:
245      - activte sbo.
246      - CTRL_SIZE.h : add maxCtrlProc.
247      - activate the new genctrl capabilities.
248      - update following reorganization of global_oce_input_fields.tar.gz  
249    o pkg/ctrl/ctrl_ad_diff.list:
250      - add missing ctrl_init_rec.f
251    o tools/OAD_support/keepOriginal:
252      - add ctrl_init_rec.F
253    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
254      - avoid recomputations of xx_gentim2d_dummy.
255    o momentum diagnostics:
256      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
257        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
258    o pkg/seaice/seaice_lsr.F:
259      - fix computation of BU/BV, make sure they are non-zero, only necessary
260        for cubed sphere exchanges and SEAICE_OLx/y>0.
261        This makes calling s/r fill_cs_corner_rl obsolete (removed).
262    o verification/global_ocean.cs32x15/input.seaice
263      - add test for strong implicit coupling and restricted addtive Schwarz
264        methods for LSR
265      - update results/output.seaice.txt
266    o verification/tutorial_global_oce_biogeo:
267      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
268        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
269        update output_adm,_oadm,_tlm.txt
270    o pkg/dic:
271      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
272      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
273        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
274    o verification/tutorial_global_oce_biogeo:
275      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
276        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
277        update output_adm,_oadm,_tlm.txt
278    o eesupp/src:
279      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
280        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
281    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
282      LSR (following Hutchings et al. 2004)
283      - introduce zetaZ as a global variable (requires adjustments in
284        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
285        in seaice_calc_viscosities.F
286      - new flag SEAICEuseStrImpCpl (default off)
287      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
288        momentum equations
289      - JFNK-solver (preconditioner) adjusted to allow using this method
290        (where it does not have any positive effect)
291    o pkg/seaice
292      - add overlap for restrictive additive Schwartz method also to LSR, but
293        turn it off by default (because it only seems to work for non-cubed
294        sphere/llc topologies)
295    o pkg/autodiff
296      - add extra exchanges in addummy_in_steppging also for mnc output
297    o pkg/seaice:
298      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
299        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
300    o pkg/obcs:
301      - add option to specify domain-connected piece Id along OB though files
302        (for now, only used to diagnose PhiVel; default =1 -> global correction)
303      - modify obcs_diag_balance.F to process each connected-part separately;
304        exclude OB where Id = 0 but keep the full divergence there (-> constant
305        Psi along this portion of OB and all inflow derived from grad(Phi))
306      - add example of OB-conect files in verification/so_box_biogeo/input.
307    o pkg/diagnostics:
308      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
309      a) use non zero matrix element across OB and solve for Phi 1 grid point
310         outside OB (i.e, where tracer OBCS are applied).
311      b) global imbalance of inFlow/outFlow across OB: instead of modifying
312         velocity across OB, spread it uniformly along the OB in the RHS.
313    
314    checkpoint65g (2014/11/19)
315    o pkg/diagnostcis:
316      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
317    o pkg/my82,pp81,kl10:
318      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
319        field diffKr as background diffusivity to set minimum diffusivity value.
320    o pkg/seaice:
321      - add new parameter SEAICEuseEVPrev (for revisited EVP by
322        Bouillon et al 2013)
323      - add SEAICE_evpAlpha/Beta to namelist
324      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
325        involve trivial re-ordering of divisions/multiplications that should not
326        have any effects, but ... they do change the results of lab_sea.hb87 so
327        that only 2 digits of agreement remain, in line with the general
328        instability/fragility of the evp-code. For now, I do not care and just
329        update the verification experiment
330    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
331      - remove xx_genarr2d_numsmooth etc
332      - use xx_genarr2d_preproc etc instead
333      - carry out smooth_correl2D at initialization stage rather than during
334        time stepping.
335      - get smoothOpNb from xx_gentim2d_preproc
336    o global_oce_cs32 :
337      - add test of generic ecco capabilities.
338    o pkg/exf/exf_getsurfacefluxes.F :
339      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
340    o pkg/ctrl,ecco :
341      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
342        is defined.
343    o pkg/seaice: add diagnostics for Delta (deformation parameter)
344    o model/src:
345      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
346        diffusivity (background) is specified but ignored.
347    o verification:
348      - in testreport, convert hostname to lower case for default output dir name
349    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
350    o pkg/dic: add modifications from Hajoon:
351      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
352      - light attenuation: add self-shading effect by climatological Chlorophyll
353        (read from file).
354    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
355        compiles when SEAICE_ALLOW_DYNAMICS is undefined
356    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
357        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
358        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
359        approach where CPP_OPTIONS.h includes an omnipotent
360        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
361    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
362        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
363    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
364        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
365        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
366    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
367      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
368      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
369      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
370      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
371    o pkg/ctrl,ecco,exf :
372      - remove variables associated with NON-generic costs,
373        unless ECCO_CTRL_DEPRECATED is defined.
374      - remove NON-generic NON-obcs controls,
375        unless ECCO_CTRL_DEPRECATED is defined.
376    o pkg/ctrl : added ctrl_local_params.h
377    o pkg/ecco : added ecco_local_params.h
378    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
379        experiments, which will progressively be removed once the
380        experiments are revised to use only generic controls/costs.
381    
382    checkpoint65f (2014/10/13)
383    o pkg/ctrl, ecco, seaice : minor changes in headers
384    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
385        cost function and control capabilities added since checkpoint65c.
386    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
387    o pkg/ecco: increase modularity and improve logic
388      - ecco_toolbox.F (new) : basic operations that are often used,
389        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
390        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
391      - cost_gencal.F (new) : determine filnames and records.
392      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
393      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
394        and exploit the above functions leading to more compact code.
395      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
396      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
397        using_ers, using_gfo, using_mdt is now only defined within gencost)
398    o pkg/ecco: extend generic cost capabilities
399      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
400        capabilities via gencost_preproc (+ _c,_i,_r related params),
401        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
402        gencost_outputlevel arguments to cost_generic
403      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
404        and active_read, making room for gencost_preproc to take effect.
405        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
406      - pkg/ecco/cost_generic.F :
407        compute and store misfit maks*(model-data) in localdif that is
408        then used in cost and for output, output misfit if outlev.GT.0
409      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
410        rather gencost_barfile for deciding whether to write barfile
411      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
412      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
413        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
414      - pkg/ecco/ecco_summary.F : report gencost variables
415      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
416    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
417    o pkg/ecco: internal re-organization
418      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
419        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
420        mv relevant variables definition from ecco_cost.h to ecco.h,
421        make sure gencost routines only include ecco.h)
422      - throughout : add missing CCP switches, rm unused variables,
423        and rm un-necessary CPP switches
424      - throughout gencost routines : replace modelstartdate with
425        gencost_startdate when needed
426      - cost_bp_read.F : use arguments, instead of common blocs
427        so that it can be used also by (new) cost_gencost_bpv4.F
428      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
429      - ecco_phys.F : compute etanFull
430      - ecco_readparms.F : rename using_topex as using_tpj, add
431        bpv4-grace to gencost list, initialize added parameters
432      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
433    
434    checkpoint65e (2014/09/28)
435    o pkg/obcs:
436      - replaced the just-added CPP options with run-time variables
437        (see pkg/obcs/OBCS_PARAMS.h for details)
438    o pkg/obcs:
439      - add additional CPP options for sponge boundary layers
440        (see pkg/obcs/OBCS_OPTIONS.h for details)
441    o pkg/atm_phys:
442      - implement simple (obliquity only, assuming circular planet orbit)
443        seasonal cycle for incoming insolation ; used when run-time parameter
444        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
445    o pkg/exf, pkg/ecco, pkg/ctrl:
446      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
447      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
448      - implement gentim2d for xx_tauu, xx_tauv
449    o pkg/ctrl, pkg/ecco :
450      - fix and complement the generic controls implementation
451    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
452        pkg/shelfice/shelfice_thermodynamics.F,
453        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
454        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
455      - add weight in CTRL_GET_GEN calls
456    o pkg/ctrl :
457      - ctrl_get_gen.F : add weight as input parameter, and apply
458        it directly rather than using smooth_correl2Dw (to be retired).
459      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
460    o pkg/ctrl :
461      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
462        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
463      - re-activate ctrl_summary (call in ctrl_init.F)
464    o pkg/ctrl/ctrl_cost_gen.F :
465      - fix CCP brackets, remove un-necessary myiter, mytime
466    o pkg/ecco, pkg/ctrl :
467      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
468      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
469      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
470      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
471    
472    checkpoint65d (2014/09/15)
473    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
474      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
475        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
476    o pkg/ctrl/ctrl_map_ini_genarr.F :
477      - remove compilation failure
478      - replace hard coded example
479      - use ctrl_map_ini_gen2D, 3D
480    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
481      - on/off switch based upon xx_genarr2d_weight,3d
482    o src/packages_init_variables.F :
483      - regroup pkg/estimation calls
484      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
485        (moved to ctrl_init_variables)
486    o cost/cost_init_varia.F :
487      - remove ecco_cost_init_varia
488        (moved to ecco_init_varia)
489    o ctrl/ctrl_init_variables.F :
490      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
491      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
492    o ctrl/ctrl_map_ini.F :
493      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
494        (moved to ctrl_init_variables)
495    o ctrl/ctrl_map_ini_ecco.F :
496      - remove ECCO_PHYS (mv to ecco_init_varia)
497      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
498    o ecco/ecco_ad_diff.list :
499      - add ecco_init_varia.f
500    o ecco/ecco_init_varia.F
501      - new routine
502    o pkg/streamice:
503      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
504        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
505      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
506    o pkg/generic_advdiff:
507      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
508    o pkg/exf:
509      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
510         xxg_precip capability
511      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
512    o pkg/ctrl:
513      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
514    o model/src/load_fields_driver.F :
515      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
516        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
517    o OpenAD verification experiments:
518      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
519        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
520        for now, only in pkgs used in OpenAD verification experiments.
521      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
522        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
523        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
524        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
525    o OpenAD verification tests:
526      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
527      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
528        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
529      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
530        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
531    o model/src & generic_advdiff:
532      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
533        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
534        dynamics requires valid tracer forcing only over tile interior but, for
535        some diagnostics, may need to extend it over 1 point in tile halo region.
536      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
537        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
538        setting in temp/salt/ptracer_integrate.F
539    o pkg/dic:
540      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
541        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
542        in gchem_forcing_sep.F
543    o pkg/autodiff & obcs:
544      - add storage of current OB values for U & V (was already done for T & S).
545    
546    checkpoint65c (2014/08/30)
547    o pkg/dic:
548      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
549        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
550        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
551    o verification:
552      - new experiment testing OBCS and DIC pkgs, using params & output from
553        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
554        passage: take OBCS from the last year of a 2 yrs simulation and initial
555        conditions from t=1.yr while keeping the same forcing.
556    o model/src:
557      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
558        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
559    o pkg/diagnostics (Stats-Diags):
560      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
561        a) refine region where stats are computed, excluding where arrhFac=0 ;
562        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
563        c) extend regional stats over the region edges (for U or V pt location).
564    o pkg/gchem:
565      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
566        pkg/dic is currently changing/updating ptracers values beyond the OB).
567    o verification (hs94):
568      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
569        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
570        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
571        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
572    o pkg/ptracers:
573      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
574        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
575      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
576        with AB-2 code (so that it get tested).
577    o model/src:
578      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
579        with AB-2 code (previously only available with AB-3 code).
580        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
581        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
582        there, by calling CYCLE_AB_TRACER).
583    o pkg/generic_advdiff:
584      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
585        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
586        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
587        S/R temp/salt/ptracers_integrate.F
588    o model/src & pkg/ptracers:
589      - remove common block variables gT,gS (in DYNVARS.h), except when
590         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
591      - remove common block variable gPtr.
592    o model/src & pkgs:
593      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
594         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
595         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
596         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
597      + change accordingly all calling S/R.
598      - use local temperature/salinity/ptracer tendency array (without bi,bj)
599        in S/R temp/salt/ptracers_integrate.F
600    o pkg/seaice:
601      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
602        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
603      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
604        in seaice_lsr
605      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
606        in s/r seaice_lsr_calc_coeffs
607    o pkg/mdsio:
608      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
609        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
610        too long (e.g., > MAX_LEN_FNAM/2 )
611    
612    checkpoint65b (2014/08/12)
613    o pkg/matrix:
614      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
615    o model/src:
616      - fix initialisation of geothermalFile; compile geothermal-flux code in
617        natl_box verification experiment.
618    o model/src & pkg/down_slope:
619      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
620      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
621        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
622        results at machine truncation level: update output of experiments
623        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
624    o pkg/diagnostics (Stats-Diags):
625      - do not cumulate the full volume when DIAGNOSTICS_FILL is
626        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
627        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
628        times (but Min,Max and StD are still wrong).
629    o model/src:
630      - add geothermal flux forcing: read in ini_forcing.F as time-constant
631        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
632    o model/src:
633      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
634        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
635        arrays are already updated while adjustments (filters, conv.adjustment) are
636        still applied later, in S/R TRACERS_CORRECTION_STEP.
637    o model/src:
638      - store in common bloc array "rhoInSitu" the virtual potential temperature
639        anomaly that is used to compute geopotential: this make the atmos code
640        more similar to ocean code which already uses rhoInSitu in calc_phi_hyd.F
641    o pkg/seaice/seaice_lsr.F
642      - rename integer variable ilcall to ipass (that's what it is called
643        in the residual diagnostics
644      - change time stepping for NPSEUDOTIMESTEP > 2 (does not change the
645        default) for improved non-linear convergence of the first few steps
646      - adjust a few comments and add new ones to explain some of the store
647        directives
648    o pkg/generic_advdiff (& ptracers):
649      - re-work the code to check for valid advection scheme and for minimum
650        size of overlap (now stored in local common bloc in gad_advscheme.F)
651    o pkg/seaice: another attempt to make the adjoint work for sea ice dynamics
652      - re-initialize more variables in seaice_lsr: u/vIceC, u/vIceNm1
653      - add an auxilliary variable "bet" and fix store directives and keys in
654        seaice_lsr_tridiagu/v, this seems to do the trick (i.e. more or
655        less exact gradients in my tests); but there are still
656        recomputation warning (although gradients are sort of OK), when
657        SEAICE_LSR_VECTORIZE is not defined, so this flag and
658        SEAICE_LSR_VECTORIZE_ZEBRA are recommended for efficiency.
659      - update verification experiments lab_sea.
660      - change some comments in S/R seaice_calc_viscosities
661    o model/src:
662      - if staggerTimeStep=T, always apply exchange to velocity field in
663        do_stagger_fields_exchanges.F instead of in do_fields_blocking_exchanges.F
664        (independent of using multi-dim advection or not); no effect on FWD run
665        but affects AD results (at machine truncation level): update output of
666        experiment 1D_ocean_ice_column (ad: 12 digits), hs94.1x64x5 (ad,oad: 13.d)
667        and isomip (oad: 12.d).
668    o pkg/generic_advdiff:
669      - stop if doAB_onGtGs is set to FALSE but ignored
670      - refine warning related to stability of tracer time-stepping
671        regarding internal wave dynamics.
672      - setting of AdamsBashforth_T,S when doAB_onGtGs=F: remove condition
673        on staggerTimeStep & implicitIntGravWave (will now get a warning
674        if potentially unstable).
675    o pkg/kl10:
676      - add new pkg "kl10" for mixing due to internal wave breaking, from
677        http://www.sciencedirect.com/science/article/pii/S1463500310000144
678        (contribution from Jody Klymak), tested in verification experiment
679        verification/internal_wave/input.kl10/
680    o isomip experiment:
681      - test pkg/shelfice with Non-Lin Free-Surf in one of the FWD set-up
682        (input.htd) and update the output.
683    o cd_code experiments:
684      - use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM &
685        #undef CD_CODE_NO_AB_CORIOLIS) in experiments: cfc_example (fwd)
686        global_ocean.90x40x15 (ad & oad) and OpenAD (ad & oad) and
687        update the corresponding output.
688    o pkg/seaice:
689      - reduce the number of include files and store directives in
690        S/R seaice_lsr_tridiagu/v
691      - change the order of loops in one case in S/R seaice_lsr_tridiagv
692        (only for SEAICE_VECTORIZE_LSR_ZEBRA defined), which allows me to
693        get rid off one store directive (a TAF bug?)
694      - add one more instance of ifdef SEAICE_VECTORIZE_LSR_ZEBRA in
695        S/R seaice_lsr_tridiagv to change the loop range for consistency
696      - remove ilcall, m from parameter list of S/R seaice_lsr_tridiagu/v
697      - fix a bug that affects the JFNK solver: replace sNx/y by i/jMax in
698        S/R seaice_lsr_tridiagu/v (requires update of
699        offline_exf_seaice/input.dyn_jfnk)
700    
701    checkpoint65a (2014/07/27)
702    o model/src:
703      - Non-Lin Free-Surf in p/z coords: allows hFacW,S to be larger than
704        surrounding hFacC=1 @ edge of a step with different kSurfC on either side
705        (topo in p-coords, ice-shelf in z-coords); update output of experiments
706        tutorial_global_oce_in_p and isomip (both AD and OpenAD output).
707    o model/src:
708      - collect momentum forcing tendency into local 2-D array (passed as argument
709        to apply_forcing S/R); this simplifies mom. Forcing diagnostics and CD_CODE
710        parts in timestep.F (without CD_CODE_NO_AB_MOMENTUM defined = the default);
711        affects results at machine truncation level (e.g., if using OBCS_SPONGE).
712      - collect T & S forcing tendency into local 2-D array (passed as argument to
713        apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
714        affects results at machine truncation level (e.g., ocean: if using
715        SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
716        correction due to vertical advection).
717      - update output of experiments: fizhi-cs-32x32x40 (13 digits),
718        global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
719        seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
720        obcs_ctrl (ad & fwd grd @ 12 & 7).
721    o pkg/ptracers & diagnostics:
722      - use ptracers (short) name (instead of long one) to make ptracers diagnostics
723        title (to avoid some unexpected truncation); sort out ptracers diags units.
724      - collect ptracer forcing tendency into local 2-D array (passed as argument
725        to apply_forcing S/R); add 3-D diagnostics for ptracers forcing tendency.
726    
727    checkpoint65 (2014/07/18)
728    o pkg/fizhi:
729      - add parenthesis around fizhi tendencies in fizhi_tendency_apply.F: this
730        affects results at machine truncation level. Update output of experiments
731        fizhi-cs-32x32x40 (12 digits for cg2d) & fizhi-cs-aqualev20 (13 digits).
732    o pkg/seaice: more clean up
733      - rename TAF common block tapes to be more consistent and remove
734        unnecessary duplicates
735      - add store directives to remove more recomputations, but use smaller
736        tapes (and adjust keys) when SEAICE_LSR_ADJOINT_ITER is undefined.
737        The idea behind this flag is to reduce the memory footprint when the
738        adjoint of the LSR is not required. As of now, defining the flag
739        SEAICE_LSR_ADJOINT_ITER increases 4 common block tapes for 2D field by
740        a factor of SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h).
741        For experiment offline_exf_seaice, this means on a linux box with gfortran
742        nearly a factor of 10 (but keep in mind there is mostly seaice code in
743        this experiment):
744        > size mitgcmuv_ad
745        text    data        bss     dec        hex
746        5100659 1216  220458952  225560827  d71c8fb
747        5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
748        but only a moderate increase of 36% for global_ocean.cs32x15:
749        text    data        bss     dec        hex
750        6695027 1648 1014578664 1021275339 3cdf6ccb
751        6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER)
752      - note: there are still recomputations in global_ocean.cs32x15 and
753        offline_exf_seaice and the gradient agreement changes (gets a
754        little worse) for global_ocean.cs32x15 (-> update output_adm.seaice.txt)
755      - in general, the AD gradients still are wrong
756    o OpenAD
757      - clean up code_oad/ directories somewhat by moving files
758        dontCompile, dontTransform, keepOriginal to OAD_support/
759    o model/src:
760      - using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F
761        (not currently tested): add dissipation terms before NLFS rescaling of
762        tendencies (previously done after).
763    o pkg/diagnostics:
764      - write stats-diags in ascii file with more digits (same as in monitor).
765    o pkg/down_slope:
766      - drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with
767        NLFS (not tested), use new recip_hFac value in order to conserve tracer.
768    o model/src:
769      - new file "apply_forcing.F" containing all the code previously in
770        external_forcing.F, but with new argument list: pass, as new argument,
771        the current level tendency array to update (instead of a direct update
772        of the common bloc array). Change the corresponding calls.
773      - add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use
774        EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility).
775    o pkg/seaice/seaice_lsr, a little bit of clean up
776      - rearrange some code blocks, so that now all calculations for
777        setting up the right-hand-sides done within one single block
778        (I find that easier to read and understand)
779      - rearrange freedrift-code to reduce the number of ifdefs
780      - adjust some indentations and comments
781    
782    checkpoint64z (2014/07/10)
783    o model/src and several pkgs:
784      - change argument list of all S/R called from external_forcing.F and
785        called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)
786        to pass, as argument, the current level tendency array to update
787        (instead of a direct update of the common bloc array).
788      - change also (in the same way) argument list of PTRACERS_APPLY_FORCING;
789      - rename taueddy_external_forcing.f to taueddy_tendency_apply.F
790    o pkg/seaice/seaice_lsr.F
791      - always initialize local arrays in seaice_lsr_tridiagu/v
792      - add more local tapes to seaice_lsr_tridiagu/v
793      - move storing u/vice(:,:,bi,bj) out of seaice_lsr_tridiagu/v, but
794        keep it in bi/bj loop; this seems to be essential
795      - gradients are still wrong but only by 4-7 orders of magnitude
796        instead of 15 orders of magnitude, lab_sea improves a little
797    o pkg/seaice
798      - (pkg/autodiff) remove storing/restoring of seaiceMaskU/V that
799        generates unnecessary code in seaice_lsr_ad
800      - add more store directives in seaice_lsr to avoid unnecessary code
801        in seaice_lsr_ad
802      - exclude some residual computations in seaice_lsr when
803        ALLOW_AUTODIFF_TAMC is defined in order to avoid unnecessary code
804        in seaice_lsr_ad
805      - add more storing, a new tape (model/src/the_main_loop.F) and
806        another key for SEAICE_LSR_VECTORIZE_ZEBRA (the local keys ilockey
807        and klockey should be checked by a specialist)
808      - modify ( define SEAICE_VECTORIZE_LSR and SEAICE_LSR_ADJOINT_ITER )
809        and update lab_sea after previous changes in pkg/seaice below
810    o pkg/autodiff:
811      - introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and
812        viscFacInAd : run time parameters allowing for adjoint switches
813        note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F
814    o pkg/ecco:
815      - introduce cost_gencost_boxmean.F that computes a box mean
816        temperature (for use in adjoint sensitivity studies).
817    o model/src/set_defaults.F : initialize viscFacAdj to 1.
818    o pkg/mom_common/mom_calc_visc.F:
819      - ifdef ALLOW_AUTODIFF then include viscFacAdj factor.
820    o pkg/seaice/seaice_summary.F:
821      - statement for SEAICEadjMODE now in autodiff_readparms.F
822    o pkg/seaice:
823      - remove some store directives and add new ones in an effort to get
824        finally rid off the recomputation warnings. This is successful
825        when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are
826        defined (i.e. no extensive recomputation warnings left), but there
827        are still too many recomputations on the solver iteration level
828      - define SEAICE_VECTORISZE_LSR in offline_exf_seaice/code_ad/SEAICE_OPTIONS.h
829      - move definition of MPSEUDOTIMESTEPS into TAMC-block in
830        SEAICE_SIZE.h
831      - add a store directive in S/R seaice_calc_viscosities
832    o pkg/seaice (ITD code):
833      - fix definition of Hlimit for multi-threaded case
834      - use double precision arithmetic to compute Hlimit: this affects results;
835        update output of experiment seaice_itd.
836    o replace content of verification/seaice_itd
837      - instead of a 1D column use the configuration of offline_exf_seaice
838        to test the ice thickness distribution code with ridging
839      - this is a first shot at this experiment
840      - change of some defaults of ridging parameters SEAICEhStar (from
841        100 to 25) and SEAICEmuRidging (from 5 to 3) in seaice_readparms.F
842        and lot of new comments.
843    
844    checkpoint64y (2014/06/20)
845    o pkg/seaice/seaice_reg_ridge.F:
846      - modify the regularization of very small volumes of ice; only check
847        total volume HEFF, and do not apply correction to individual ice
848        classes because that leads to funny patterns in the heat and fw-fluxes
849        into the ocean. Adjust seaice_itd/results/output.txt
850      - replace nITD by SEAICE_multDim in loop-ranges
851    o pkg/exf:
852      - add code to process the case field period = -12. with UV interpolation.
853      - move debug print (formerly active when exf_verbose=T) from EXF_getFFieldRec
854        into S/R that calls it (i.e., exf_set_gen.F, exf_set_uv.F & obcs_exf_load.F)
855    o verification/global_with_exf:
856      - switch all fields period to -12. (was previously untested) in input/data.exf
857        (but keep secondary test ".yearly" unchanged); update the reference output.
858    o pkg/cal:
859      - new calendar type "noLeapYear" for 365 days calendar without any leap year.
860    o pkg/exf:
861      - new integer parameter "exf_debugLev" (default set to main model debugLevel)
862        to replace logical switch "exf_verbose"
863      - report in STDOUT when loading a new record (if exf_debugLev >= 3)
864    o pkg/sbo:
865      - update from Katherine Quinn: evaluate mass directly from density and SSH
866        (budget using Finite Volume method) instead of from bottom pressure.
867      - allow testreport to collect few selected SBO output ; tested in exp.
868        global_ocean.90x40x15 (after updating the results, to include SBO output).
869      - fix some multi-threading issues (in output part).
870    o model/src & most packages:
871      - always call {PKG}_READPARMS even if corresponding use{PKG}=F;
872      - in {PKG}_READPARMS, in case use{PKG}=F: add a call to new S/R
873        PACKAGES_UNUSED_MSG to print a weak warning when parameter file
874        "data.{pkg}" exist ; and leave the S/R (return) just after.
875      - more standard LAND pkg interface (land_init_fixed.F, land_check.F).
876        + call LAND_READPARMS from packages_readparms.F
877    o pkg/seaice:
878      - remove code that resets useThSice in S/R seaice_readparms and
879        replace it by a warning in S/R seaice_check
880      - remove parameter MULTDIM, replace with nITD and runtime
881        parameter SEAICE_multDim (still hard-wired to nITD if
882        SEAICE_ITD is defined)
883    
884    checkpoint64x (2014/05/24)
885    o verification/lab_sea:
886      - update adjoint and TLM output following changes to pkg/salt_plume
887      - un-do the update after putting back local recip_Cp in few places.
888    o pkg/salt_plume: modifications by An Nguyen:
889      - add capability to do brine rejection (salt-plume) as function of
890        volume+tracers (instead of only salinity tracer).
891      - conserve volume by exchanging volume from each kLev to above to
892        accommodate in-coming brine volume
893      - store surface and klev exchanged fraction + volume in 4 new 3-d arrays
894      - switch KPP surf buoyancy due to brine forcing to 3-d
895        (3 more 3-d arrays, 2 for SPforcing[T,S], 1 for boplume)
896      - add salt_plume_volfrac, salt_plume_apply, salt_plume_tendency_apply_t
897      - unrelatedly, also add ad-hoc capability to vary salt_plume scheme
898        in East/West Arctic.
899    o pkg/sbo:
900      - incorporate modifications from Katherine Quinn to enable the use of sbo
901        pkg in ECCO-v4 set-up ; remove SBO-TimeAve output ; add monitor-like
902        output for future testreport verification (unfinished).
903    o pkg/atm_phys:
904      - change diagnostics (AtPh_Trf & AtPh_Qrf) of DARGAN_BETTSMILLER S/R:
905        skip the reseting of t_ref & q_ref to initial t & q ; this preserve the
906        output of S/R CAPECALCNEW (Parcel temp & q) for diagnostics.
907    o pkg/seaice
908      seaice_calc_ice_strength.F: modify expression to avoid divisions
909        (affects truncation)
910      seaice_do_ridging.F: clean up the insectarium
911      - fix a bug that was compensated by areaScaling (-> remove areaScaling code)
912      - added SEAICEsnowFracRidge to redistributed snow (2nd bug)
913      - set closing/openingRate to zero where no extra iteration is need (3rd bug)
914      - add some debugging information and error messages (warnings)
915    o model/src: modifications relatd to atmosphere p*:
916      - Switch to more accurate p* coordinate slope term (calc_grad_phi_hyd.F)
917      - With p* or Sigma-P, use constant reference Pot.Temp (thetaConst) instead
918        of vertical profile tRef in geopotential background and anomaly.
919      - Acount for true p* correction in theta <-> T conversion in pkg/aim_v23
920        and pkg/atm_phys.
921      - Update FWD output of experiments: aim.5l_cs (x2), fizhi-cs-32x32x40,
922        fizhi-cs-aqualev20, fizhi-gridalt-hs, tutorial_held_suarez_cs, cpl_aim+ocn.
923    o pkg/seaice: fix a bug in seaice_prepare_ridging.F, forgot a sqrt
924    o pkg/ptracers: compute ptracer source/sink due to linear free surface.
925        not used right now, but can be used in BGC packages to fix conservation.
926    o pkg/dic, pkg/gchem: move tracer_meanarea to gchem, so it can be used by
927        other packages too.
928    o pkg/seaice/seaice_calc_ice_strength.F: replace SEAICE_rhoSnow by
929        SEAICE_rhoIce in the Rothrock (1975)-type strength calculations (bug fix)
930    o model/src:
931      - since we have several heat capacity (even in model/src), define "recip_Cp"
932        as local variable (no longer in common block) to avoid any confusion.
933      - add thetaConst in PARAMS.h (to be used with pStar or sigma-P coords).
934    o pkg/exf:
935      - from Jeff Scott: add option (#define EXF_CALC_ATMRHO) to calculate local
936        air density as function of air Temp, Humidity and atm pressure.
937    
938    checkpoint64w (2014/05/02)
939    o verification:
940      - update output_adm.txt files for experiment global_ocean.cs32x15 (seaice &
941        seaice_dynmix) and lab_sea (primary test & noseaicedyn): moving/changing
942        code from seaice_growth.F & seaice_advdiff.F to new ridging routines
943        seaice_reg_ridge.F seaice_do_ridging.F affects AD gradient
944        (down to 8-7 matching digits for global_ocean and 5-6 for lab_sea).
945    o model/src: for atmosphere in p* coords:
946      - store factor rStarFacC**atm_kappa (= pStarFacK) in common block
947      - implement more accurate p* coordinate slope term (in calc_grad_phi_hyd.F),
948        but not yet activated.
949    o pkg/seaice: fix restart problem for ITD with new ice strength parameterisation:
950      - move computation of opnWtrFrac = 1-AREA to before computing ice strength
951      - this changes the results (but not for any verification experiment, because
952        none tests this), but avoids having an extra field in the restart files
953    o pkg/seaice: remove global variable TICE (not needed)
954      - replace by TICES or local variable where necessary (cost_seaice_test,
955        seaice_diagnostics_state)
956      - move copying TICE to TICES from seaice_check_pickup to seaice_read_pickup
957      - use specific read/write routines for reading and writing individual leves
958        of a multilevel field
959    o pkg/ctrl & model/inc:
960      - move additional anomaly fields of control vars (related to options:
961         ALLOW_KAPGM_CONTROL, ALLOW_KAPREDI_CONTROL and ALLOW_BOTTOMDRAG_CONTROL)
962        from DYNVARS.h into new header file: CTRL_FIELDS.h
963    o pkg/seaice: some small modifications to the ridging code
964      - make fw2ObyRidge a global variable and add the freshwater flux to
965        seaice_growth
966      - pass actual thickness from seaice_prepare_ridging, so that it is
967        computed only in one place and compute it in the same way as in
968        seaice_growth
969      - initialise more fields in seaice_do_ridging that where cause floating
970        point exceptions over land
971  o pkg/seaice: preparations for ridging code and first real ridging code  o pkg/seaice: preparations for ridging code and first real ridging code
972    - move most of "PART 1" of S/R seaice_growth into a new and separate    - move most of "PART 1" of S/R seaice_growth into a new and separate
973      S/R seaice_reg_ridge that will both regularize the state variable after      S/R seaice_reg_ridge that will both regularize the state variable after
974      advection call the actual ridging routine;      advection call the actual ridging routine;
975    - requires to make 5 fields global fields: d_HEFFbyNEG,d_HSNWbyNEG,    - requires to make 5 fields global fields: d_HEFFbyNEG,d_HSNWbyNEG,
976      d_AREAbyRLX,d_HEFFbyRLX,saltFluxAdjust;      d_AREAbyRLX,d_HEFFbyRLX,saltFluxAdjust;
977    - remove ridging code from seaice_advdiff    - remove ridging code from seaice_advdiff
978    - clean up remaining part 1 of seaice_growth in an attempt to make it    - clean up remaining part 1 of seaice_growth in an attempt to make it
979      more readable (this is probably subjective)      more readable (this is probably subjective)
980    - call seaice_itd_redist once in the initialisation phase to have the initial    - call seaice_itd_redist once in the initialisation phase to have the initial
981      conditions in the correct category      conditions in the correct category

Legend:
Removed from v.1.1980  
changed lines
  Added in v.1.2149

  ViewVC Help
Powered by ViewVC 1.1.22