/[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.2040 by jmc, Wed Aug 6 23:19:25 2014 UTC revision 1.2185 by mlosch, Wed Oct 7 12:07:50 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      - replace SEAICE_EVP_USE_ADAPTATION by run time parameters, requires
9        5 additionals 2D fields and 6 new store directives
10      - change logic in seaice_readparms.F: EVP code can now be turned on in
11        various ways, setting SEAICE_deltaTev is no longer required,
12        alternatively set SEAICE_evpAlpha/Beta, SEAICEuseEVPstar, SEAICEuseEVPrev,
13        or SEAICEaEVPcoeff
14    o pkg/shelfice/shelfice_thermodynamics.F
15      - redefining uLoc/vLoc to u/v, instead of 2u/v
16    o pkg/seaice/seaice_evp.F: introduce "adaptive EVP" by Madlen Kimmritz
17      - this is an intermediate state of a truely converging EVP that has
18        the potential of outperforming implicit VP methods, I do not recommend
19        using it yet.
20      - for now, "adaptive EVP" is turned on by setting SEAICE_EVP_USE_ADAPTATION
21        and all parameters are hardwired
22      - for convergence it still requires very smooth regularisations, that means,
23        if SEAICE_DELTA_SMOOTHREG is defined, deltaCreg=deltaC+deltaMin, which is
24        different from the VP case with deltaCreg=sqrt(deltaC**2+deltaMin**2); also
25        specific averaging appears to be required, still subject to tuning
26      - still needs cleaning and I need to turn parameter into runtime parameters
27      - add code to compute and print residuals of iteration, compile with
28        defining ALLOW_SEAICE_EVP_RESIDUAL to enable it
29    o pkg/seaice/seaice_evp.F: fix a bug (factor of four in front of e12Csq)
30      that entered with r1.54 on Sep04, 2015, -> update results
31    
32    checkpoint65o (2015/09/14)
33    o pkg/mom_vecinv & mom_common:
34      - add deep-atmosphere geometry factor in mom_calc_visc.F + in routines
35        called from there.
36      - add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this
37        allows to use Vector-Invariant form in deep atmos and anelastic formulation
38    o pkg/seaice: introduce fast ice parameterisation following Itkin et al. (2015)
39      and Koenig-Beatty+Holland (2012)
40      - two new parameters SEAICE_tensilFac and SEAICE_tensilDepth
41      - global 2D field tensileStrength, computed in seaice_calc_ice_strength
42      - requires an extra input argument for S/R seaice_calc_viscosities
43      - tensileStrength's depth dependence is different from Itkin et al. (2015)
44        (to be changed and played with, for now exponential)
45    o pkg/seaice: introduce new parameter SEAICEscaleSurfStress (default = .FALSE.)
46      - if TRUE scale ice-ocean and ice-atmosphere stress acting on sea ice
47        by AREA according to Connelly et al. (2004), JPO.
48      - For EVP and the LSR solver, the implicit part of the drag term is
49        the only non-zero term in the denominator when there is no ice (which
50        prevented running the model with zero ice-ocean drag). If
51        SEAICEscaleSurfStress = .TRUE., this results in a division by zero
52        (or zero main diagonals BU/BV) which need to be caught. A practical
53        consequence is that for open water, the momentum equation reduce
54        to trivially 0 = 0 + 0 (for EVP). For LSR, BU/BV are reset to 1, if
55        they happen to be zero, often leading to a non-zero solution over
56        open water.
57    o pkg/seaice: revise EVP code (seaice_evp.F) in preparation for a more
58        efficient EVP method.
59      - introduce area-weighted averages for e12 (analogously to
60        seaice_calc_viscosities.F); this totally changes lab_sea.hb87 (2 digits
61        remain, but also changing the order of terms in the previous average
62        changed the results as much) -> update experiment
63      - add SEAICE_DELTA_SMOOTHREG code
64      - disentangle computation of zetaC/deltaC and zetaZ/deltaZ, also for
65        TEM-code
66      - adjust loop bounds so that only required fields are computed
67      - add new averaging code for zetaZ/deltaZ (again similar to
68        seaice_calc_viscosities.F), inactive by default for now (will change
69        results again), but will replace old code eventually
70    o eesupp/src:
71      - add an other alternative for multi-proc GLOBAL_SUM (in global_sum_tile.F)
72        to always cumulate tile local-sum in the same order
73        (option #define GLOBAL_SUM_ORDER_TILES in CPP_EEOPTIONS.h).
74        Still uses MPI_Allreduce (like standard code) but on array of tiles
75        and should be faster than GLOBAL_SUM_SEND_RECV code.
76      - switch almost all verification experiments that use GLOBAL_SUM_SEND_RECV
77        (defined in CPP_EEOPTIONS.h_mpi) to GLOBAL_SUM_ORDER_TILES instead.
78      - add CPP_EEOPTIONS.h_mpi with GLOBAL_SUM_ORDER_TILES defined in 14 more exp.:
79         aim.5l_cs, cheapAML_box, deep_anelastic, dome, fizhi-cs-32x32x40,
80         fizhi-cs-aqualev20, fizhi-gridalt-hs, global_ocean_ebm, matrix_example,
81         natl_box, solid-body.cs-32x32x1, tutorial_advection_in_gyre,
82         tutorial_baroclinic_gyre and tutorial_held_suarez_cs.
83    
84    checkpoint65n (2015/07/29)
85    o pkg/thsice:
86      - add a warning when used with pkg/aim but without updating SST
87        (stepFwd_oceMxL=F & useCoupler=F & tauRelax_MxL<>-1 ).
88    o pkg/offline:
89      - change where Offline-Fields are loaded, from load_fields_driver.F to
90        directly within FORWARD_STEP, just after updating iter number and time;
91      - move setting of GM and KPP diffusivity out of OFFLINE_FIELDS_LOAD into new
92        S/R OFFLINE_GET_DIFFUS that is called towards the end of DO_OCEANIC_PHYS;
93       These changes allow:
94        a) to recover exactly on-line results using deltaToffline=deltaTClock,
95        tested (using offlineIter0= nIter0 -1 and offlineTimeOffset= -deltaT/2)
96        both with Lin & Non-Lin Free-Surf, both with staggerTimeStep & synchronous
97        time-step, both with GM & KPP files and with recomputing these fields;
98        b) no needs to switch on staggerTimeStep anymore;
99        c) simplify rescaling of offline horiz. velocity with Non-Lin Free-Surf.
100      - update output of experiment tutorial_dic_adjoffline (only 3 digits left).
101    o pkg/offline:
102      - change (rarely used) offset-iteration parameter to an offset time (in s):
103        can easily recover previous offset-iter effect by setting offset-time
104        (offlineTimeOffset) to offset-iter x deltaToffline;
105      - do not turn-off Temp & Salinity surface relaxation when using KPP (used
106        in KPP as part of surface buoyancy forcing) in offline run.
107      - fix ptracers KPP non-local term in the case where KPP is re-computed.
108    o OpenAD
109      - Adding preliminary ggl90 test to OpenAD verification.
110        Config. with ggl90 currently diverges after 64 time steps
111        so will need more work to become more stable
112      - Adding preliminary kpp test to OpenAD verification.
113        required small tweakes in kpp_routines.F
114      - Merge and update from Krishna Narayanan's contrib area:
115        * Add one variable for preliminary OpenAD DIVA
116        * Add replacement time-stepping for OpenAD DIVA
117        * genmake2 flag -diva (but only for OpenAD; preliminary)
118        * required modifs for OAD_support
119        successful preliminary test for tutorial_global_oce_biogeo/
120    o pkg/seaice:
121      - initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr
122      - add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising
123        delta with a smooth function in s/r seaice_calc_viscosity
124        (no effect on EVP)
125      - rename local suffix "sqr" into "sq" for more consistent variable names
126    o pkg/seaice:
127        add new parameter SEAICE_deltaMin that is used ***only***
128        for regularizing Delta (and nothing else, like the parameter
129        which is also used for all sorts of things SEAICE_EPS).
130        Defaults to SEAICE_EPS for backward compatibility only.
131    o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with
132        the wrong key by inialising it before use -> fixes a recomputation
133        problem but does not fix the gradient
134    o pkg/layers:
135      - move resetting of flux arrays to outside the iLa loop
136        (this caused layers_diapycnal to not work with more than one layer coord.)
137      - fix bug in calculation of layers_recip_delta in layers_init_fixed.F
138    o pkg/layers:
139      - remove from common block 3D layers fields (used to diagnose transport
140        in tracer coords) and declare them as local arrays in layers_calc.F
141    o pkg/seaice:
142      - Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it
143        in lab_sea forward experiment (changes results -> updated)
144      - update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v
145    o pkg/seaice: modify seaice_lsr.F in order to improve the gradient
146       computations; for SEAICE_VECTORIZE_LSR
147      - move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v)
148        sweep to the outside,
149      - remove store directives and add "CADJ loop sequential" directives
150        in analogy to model/src/solve_tridiagonal.F
151      - replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop
152        boundaries to yield more readable code. This has also the charming side
153        effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without
154        SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in
155        seaice_lsr_tridiagu/v now requires either of these flags, vectorization
156        still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as
157        an additional option)
158       The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F
159       but the adjoint gradients (which are affected by this change) still explode.
160    o coupler (atm & ocn _compon_interf):
161      - avoid using Exch2 IO mapping if not suitable.
162    
163    checkpoint65m (2015/06/15)
164    o pkg/layers:
165      - clean-up old parameters setting (from Sep 2012):
166        + remove old parameters setting from common block (declared locally);
167        + stop if any old parameter is mixed with new parameters;
168        + check for valid or consistent parameter setting (e.g., layers_name)
169      - check that layers_bounds for Pot.Density are in the right range;
170        this is supposed to catch un-updated setting after recently shifting
171        potential density field "prho" by -1000 (now in "sigma" scale).
172    o pkg/layers:
173      - Added missing call to layers_fill for keeping track of tottend in
174        pkg/diagnostics/diagnostics_fill_state.F
175    o pkg/layers:
176      - added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning
177        of diapycnal fluxes
178    o pkg/layers:
179      - reverted changes to interpolation to previous treatment; there
180        was never actually a problem
181    o pkg/layers:
182      - fix interpolation of layers tracers in the presence of partial cells
183      - add lots of new functionality to compute water mass transformation
184        (enabled by CPP flag LAYERS_THERMODYNAMICS)
185      - add new calls from main code (diags_oceanic_surf_flux.F,
186        thermodynamics.F, impldiff.F) and gad to save the necessary fields
187        for layers_thermodynamics calculations
188    o pkg/ptracers:
189      - add capability of stepping a passive tracer forward without advection
190        by setting PTRACERS_advScheme to 0.
191    o pkg/diagnostics:
192      - add few (threads) _BARRIER around any update of "diag_pkgStatus".
193    o pkg/layers:
194      - shift potential density field "prho" by -1000 for density layer averaging so
195        that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000);
196        Note that density bin boundaries (layers_bounds in data.layers) have
197        to be set accordingly (i.e., shifted, in sigma scale).
198    o pkg/layers:
199      - fix snap-shot output of layer thickness @ V.pt and output of pot.density
200      - fix calculation of layer non-weighted velocity and layer probability
201      - add diagnostics for pot.density used for layer averaging
202    o pkg/seaice:
203      - seaice_calc_viscosity.F: change computation of deltaC**2 to ensure
204        positiveness, modify a few comments and improve variable names,
205      - the changed computation of deltaC affects most seaice-related
206        experiments at the truncation level.
207        seaice_itd.thermo is affected by far the most, with
208        only 7 digits of agreement remaining; update experiments.
209    
210    checkpoint65l (2015/05/04)
211    o pkg/shelfice:
212      - in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set
213        factor drKp1 to zero where it is negative (ie. do not use
214        SHELFICEBoundaryLayer if hFacC>1)
215      - the same for factor drLoc in shelfice_forcing.F
216    o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem
217        with modules in ptracers, when using testreport option "-small_f"
218    o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD)
219      - replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1))
220    o verification/testreport
221      - add new option -small_f
222        with this option testreport first makes the target small_f (*.f files)
223        before running make (all). This is useful for explicit inlining when
224        all sources need to be full available.
225    o pkg/exf/exf_interp.F:
226        remove previous changes related to reverse (decreasing) input grids latitude
227    
228    checkpoint65k (2015/04/01)
229    o pkg/ecco:
230        fix missing cosphi initialization; use eccoiter in place of optimcycle;
231        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
232        instead of active read/write
233    o pkg/ctrl:
234        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
235        instead of active read/write.
236    o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F
237        return if .NOT.useAUTODIFF
238    o pkg/seaice: add CPP brackets (cost function related).
239    o model/src:
240        add useAUTODIFF run time switch.
241    o pkg/exf/exf_interp.F:
242        add code to allow input grids with latitude starting in the north (i.e. when
243        j=1 corresponds to northern edge of field); modify global_with_exf to test
244        this feature.
245    o verification/testreport:
246      - replace "grep -A3" with POSIX conformal sed command, because there are
247        implementations of grep that cannot do contextual searches
248      - replace "cat -n" by "nl" (two occurrences), because not all implementations
249        of "cat" have the option "-n"
250    o model/src:
251        add new file gsw_teos10.F that contains 3 functions, more or less a copy
252        of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to
253        convert from conservative to potential temperature. For now they are not
254        called anywhere.
255    o pkg/ggl90: make "useIDEMIX" useful
256      - re-organize code in s/r ggl90_calc a little to move computations that
257        are different for idemix into separate loops (changes verification
258        experiment idemix at truncation level, 12 digits remain -> updated)
259      - requires 2 new 2D fields KappaM, verticalShear
260      - make hFacI and recip_hFacI local 3D variables that are passed to
261        s/r ggl90_idemix
262      - fix and improve some comments
263    
264    checkpoint65j (2015/02/25)
265    o pkg/openad
266      - synchronize seawater.F with version in model/src: replace routine
267        body of sw_temp by calling sw_ptmp and fix/add a few comments.
268    o pkg/mnc:
269      - change default value of pickup_read/write_mnc params to FALSE
270        (since few features are missing in reading MNC pickup files).
271    o model/src:
272      - change default (background) vertical diffusivity for salt to be the
273        temperature (background) vertical diffusivity.
274      - change background vertical diffusivity in vertical mixing pkgs ggl90,
275        kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity.
276        This makes ptracers default diffusivity (that uses salt diffKr) more
277        consistent with vertical mixing schemes.
278    o verification/testreport:
279      - fix typo in "-pcls" option ;
280      - put temp files in /tmp (instead of in local dir)
281      - add option "-ncad" to use genmake2 new option "-nocat4ad"
282      - allow to use "-j" option (for multi-procs make) for AD, OAD and TLM.
283    o pkg/ggl90 (idemix code):
284      - apply few fixes ; add some missing "_d 0" ; update output of exp.
285        global_ocean.90x40x15.idemix
286    o OpenAD
287      - enable active file I/O and begin removal of work-around code
288        for OpenAD for handling control variables (memory vs. active files)
289      - new CPP options file OPENAD_OPTIONS.h
290      - revert to genarr2d gradient check for hs94.1x64x5
291      - (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens)
292      - gentim2d works for halfpipe_streamice but not yet hs94.1x64x5
293    o tools/genmake2:
294      - add option for an alternative Makefile (from Martin) where multiple
295        source files are sent to TAF (instead of all in one file).
296    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013)
297      - code provided by Carsten Eden as an extension of ggl90
298      - so far the code is turned on within ggl90 by setting a CPP-flag at
299        compile time; a runtime flag implementation is not yet complete
300      - tested in new verification experiment global_ocean.90x40x15.idemix
301    o verification:
302      - reduce length of the AD test run by half for experiments
303        global_ocean.cs32x15 (std + thsice) and isomip
304      - enable active file I/O for OpenAD, adjust verifications accordingly
305      - halfpipe_streamice: change gradient check from genarr2d to gentim2d
306    o verification/testreport:
307      - fix two non-POSIX sed statements so that there are no error messages
308        on Mac OS X
309      - replace hostname -s with hostname | sed 's/\..*$//'
310    o model/src/seawater.F:
311      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
312        (following the matlab code), which would have avoided the bug caught
313        by Matt (see below) in the first place
314    o pkg/shelfice:
315      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
316        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
317      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
318        ice-shelf case (i.e., within surface level).
319      - add config summary in shelfice_check.F
320      - remove global variable recip_SHELFICElatentHeat and replace by a local
321        variable recip_latentHeat
322      - introduce diagnostics for friction velocity uStar (in case of
323        SHELFICEuseGammaFrict)
324      - change verification experiment isomip.htd:
325        + start from pickup (as input_ad at nIter0=8640)
326        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
327        + test SHELFICEuseGammaFrict = .TRUE.
328        + test SHELFICEadvDiffHeatFlux = .TRUE.
329    o model/src:
330      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
331        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
332        update output of experiments global_with_exf.yearly and isomip (all 6).
333    o pkg/shelfice:
334      - change setting of kTopC to also be zero where there is no ice-shelf.
335      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
336        ice-shelf is.
337      - first attempt to get RealFreshWaterFlux effects: for now, only without
338        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
339    o pkg/seaice: add the option to prescribe a fixed thickness PDF
340      for thermodynamic calculations
341      - because of divisions of the type 7/7 not exactly equal to 1, this change
342        affects results of some verification experiments by up to 4 digits:
343        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
344        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
345        adjoint: lab_sea, lab_sea.noseaicedyn
346        -> updated
347    
348    checkpoint65i (2015/01/23)
349    o model/src:
350      - change units of frictionHeating field from W to W/m^2
351      - fix bug in frictional heating from stratospheric drag in
352        S/R ATM_PHYS_TENDENCY_APPLY_V
353      - with synchronous time-stepping: move resetting to zero of frictionHeating
354        field from load_fields_driver.F to thermodynamics.F ;
355      - add diagnostics for frictional heating.
356    o model/src & gmredi K3D:
357      - add frictionHeating field to pickup-files (for synchronous time-stepping)
358      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
359      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
360        and name in pickup file).
361      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
362    o model/src:
363      - move (from ini_forcing.F) initialisation of all arrays in header file
364        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
365        (since Nov 2012) with option selectAddFluid=1.
366    o pkg/shelfice:
367      - change units (+ document) of newly added field "shelfIceMassDynTendency"
368      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
369    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
370    o pkg/seaice: two new runtime parameters:
371      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
372        long overdue
373      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
374        parameterization of tensil stress for fast ice (does not do anything yet)
375    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
376        for LSR: move checking overlaps out of JFNK-if-block
377    o pkg/atm_phys:
378      - move copy of grid and dynamical fields out of atm_phys_driver.F into
379        new S/R ATM_PHYS_DYN2PHYS.
380      - fix level height for Linear Free-Surf case (to be consistent with
381        fixed-in-time pressure levels).
382    o pkg/mom_common (bottomdrag):
383      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
384        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
385        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
386    o pkg/shelfice (u/v_drag):
387      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
388      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
389        (now similar to shelfice_u_drag.F)
390      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
391        from mom_vecinv.F (similar to mom_fluxform calls).
392    o pkg/mom_common (bottomdrag):
393      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
394      - add options for alternative discretisation of velocity norm in quadratic
395        bottom drag: averaging of grid-cell-center KE to U.point and V.point
396        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
397        improves when averaging only the other component (e.g. vVel for U bottom
398        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
399      - add options (bottomVisc_pCell) to account for partial-cell in bottom
400        friction (no-slip BC) thus getting the true distance from the bottom;
401        off by default since this also reduces model stability (explicit bottom
402        friction). Changes produce different machine truncation with linear-drag
403        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
404        front_relax (bvp & mxl, 10 & 11 digits).
405    o model/src & mom pkgs:
406      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
407        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
408      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
409        just copy level Nr value to level Nr+1.
410    o doc:
411      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
412    o pkg/streamice:
413      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
414        SHELFICE.h: move array shelficemass to init_varia, initialise
415        from array shelficemassinit, which is set in init_fixed and
416        has option to be set from file; introduce array
417        shelficeMassDynTend array, set thru file in init_fixed
418      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
419        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
420        pkg/streamice
421      - shelfice_thermodynamics.F: call shelfice_step_icemass if
422        SHELFICEMassStepping = .true.
423      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
424    
425    checkpoint65h (2014/12/17)
426    o verification/global_ocean.90x40x15, global_ocean_ebm:
427      - update to generic controls.
428    o pkg/ctrl:
429      - ctrl_map_ini_genarr.F: test for igen>0
430      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
431      - move gentim2d part of ctrl_map_ini_genarr.F to
432        new separate routine : ctrl_map_ini_gentim2d.F
433      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
434        add time variable weights and cyclic controls (time mean,
435        seasonal cycle, etc) capabilities to gentim2d
436    o pkg/ecco:
437      - move reading of error, conversion to weights from
438        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
439    o global_oce_llc90, cs32:
440      - activte sbo.
441      - CTRL_SIZE.h : add maxCtrlProc.
442      - activate the new genctrl capabilities.
443      - update following reorganization of global_oce_input_fields.tar.gz  
444    o pkg/ctrl/ctrl_ad_diff.list:
445      - add missing ctrl_init_rec.f
446    o tools/OAD_support/keepOriginal:
447      - add ctrl_init_rec.F
448    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
449      - avoid recomputations of xx_gentim2d_dummy.
450    o momentum diagnostics:
451      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
452        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
453    o pkg/seaice/seaice_lsr.F:
454      - fix computation of BU/BV, make sure they are non-zero, only necessary
455        for cubed sphere exchanges and SEAICE_OLx/y>0.
456        This makes calling s/r fill_cs_corner_rl obsolete (removed).
457    o verification/global_ocean.cs32x15/input.seaice
458      - add test for strong implicit coupling and restricted addtive Schwarz
459        methods for LSR
460      - update results/output.seaice.txt
461    o verification/tutorial_global_oce_biogeo:
462      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
463        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
464        update output_adm,_oadm,_tlm.txt
465    o pkg/dic:
466      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
467      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
468        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
469    o verification/tutorial_global_oce_biogeo:
470      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
471        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
472        update output_adm,_oadm,_tlm.txt
473    o eesupp/src:
474      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
475        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
476    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
477      LSR (following Hutchings et al. 2004)
478      - introduce zetaZ as a global variable (requires adjustments in
479        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
480        in seaice_calc_viscosities.F
481      - new flag SEAICEuseStrImpCpl (default off)
482      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
483        momentum equations
484      - JFNK-solver (preconditioner) adjusted to allow using this method
485        (where it does not have any positive effect)
486    o pkg/seaice
487      - add overlap for restrictive additive Schwartz method also to LSR, but
488        turn it off by default (because it only seems to work for non-cubed
489        sphere/llc topologies)
490    o pkg/autodiff
491      - add extra exchanges in addummy_in_steppging also for mnc output
492    o pkg/seaice:
493      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
494        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
495    o pkg/obcs:
496      - add option to specify domain-connected piece Id along OB though files
497        (for now, only used to diagnose PhiVel; default =1 -> global correction)
498      - modify obcs_diag_balance.F to process each connected-part separately;
499        exclude OB where Id = 0 but keep the full divergence there (-> constant
500        Psi along this portion of OB and all inflow derived from grad(Phi))
501      - add example of OB-conect files in verification/so_box_biogeo/input.
502    o pkg/diagnostics:
503      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
504      a) use non zero matrix element across OB and solve for Phi 1 grid point
505         outside OB (i.e, where tracer OBCS are applied).
506      b) global imbalance of inFlow/outFlow across OB: instead of modifying
507         velocity across OB, spread it uniformly along the OB in the RHS.
508    
509    checkpoint65g (2014/11/19)
510    o pkg/diagnostcis:
511      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
512    o pkg/my82,pp81,kl10:
513      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
514        field diffKr as background diffusivity to set minimum diffusivity value.
515    o pkg/seaice:
516      - add new parameter SEAICEuseEVPrev (for revisited EVP by
517        Bouillon et al 2013)
518      - add SEAICE_evpAlpha/Beta to namelist
519      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
520        involve trivial re-ordering of divisions/multiplications that should not
521        have any effects, but ... they do change the results of lab_sea.hb87 so
522        that only 2 digits of agreement remain, in line with the general
523        instability/fragility of the evp-code. For now, I do not care and just
524        update the verification experiment
525    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
526      - remove xx_genarr2d_numsmooth etc
527      - use xx_genarr2d_preproc etc instead
528      - carry out smooth_correl2D at initialization stage rather than during
529        time stepping.
530      - get smoothOpNb from xx_gentim2d_preproc
531    o global_oce_cs32 :
532      - add test of generic ecco capabilities.
533    o pkg/exf/exf_getsurfacefluxes.F :
534      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
535    o pkg/ctrl,ecco :
536      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
537        is defined.
538    o pkg/seaice: add diagnostics for Delta (deformation parameter)
539    o model/src:
540      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
541        diffusivity (background) is specified but ignored.
542    o verification:
543      - in testreport, convert hostname to lower case for default output dir name
544    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
545    o pkg/dic: add modifications from Hajoon:
546      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
547      - light attenuation: add self-shading effect by climatological Chlorophyll
548        (read from file).
549    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
550        compiles when SEAICE_ALLOW_DYNAMICS is undefined
551    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
552        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
553        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
554        approach where CPP_OPTIONS.h includes an omnipotent
555        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
556    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
557        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
558    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
559        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
560        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
561    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
562      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
563      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
564      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
565      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
566    o pkg/ctrl,ecco,exf :
567      - remove variables associated with NON-generic costs,
568        unless ECCO_CTRL_DEPRECATED is defined.
569      - remove NON-generic NON-obcs controls,
570        unless ECCO_CTRL_DEPRECATED is defined.
571    o pkg/ctrl : added ctrl_local_params.h
572    o pkg/ecco : added ecco_local_params.h
573    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
574        experiments, which will progressively be removed once the
575        experiments are revised to use only generic controls/costs.
576    
577    checkpoint65f (2014/10/13)
578    o pkg/ctrl, ecco, seaice : minor changes in headers
579    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
580        cost function and control capabilities added since checkpoint65c.
581    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
582    o pkg/ecco: increase modularity and improve logic
583      - ecco_toolbox.F (new) : basic operations that are often used,
584        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
585        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
586      - cost_gencal.F (new) : determine filnames and records.
587      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
588      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
589        and exploit the above functions leading to more compact code.
590      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
591      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
592        using_ers, using_gfo, using_mdt is now only defined within gencost)
593    o pkg/ecco: extend generic cost capabilities
594      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
595        capabilities via gencost_preproc (+ _c,_i,_r related params),
596        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
597        gencost_outputlevel arguments to cost_generic
598      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
599        and active_read, making room for gencost_preproc to take effect.
600        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
601      - pkg/ecco/cost_generic.F :
602        compute and store misfit maks*(model-data) in localdif that is
603        then used in cost and for output, output misfit if outlev.GT.0
604      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
605        rather gencost_barfile for deciding whether to write barfile
606      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
607      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
608        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
609      - pkg/ecco/ecco_summary.F : report gencost variables
610      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
611    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
612    o pkg/ecco: internal re-organization
613      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
614        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
615        mv relevant variables definition from ecco_cost.h to ecco.h,
616        make sure gencost routines only include ecco.h)
617      - throughout : add missing CCP switches, rm unused variables,
618        and rm un-necessary CPP switches
619      - throughout gencost routines : replace modelstartdate with
620        gencost_startdate when needed
621      - cost_bp_read.F : use arguments, instead of common blocs
622        so that it can be used also by (new) cost_gencost_bpv4.F
623      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
624      - ecco_phys.F : compute etanFull
625      - ecco_readparms.F : rename using_topex as using_tpj, add
626        bpv4-grace to gencost list, initialize added parameters
627      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
628    
629    checkpoint65e (2014/09/28)
630    o pkg/obcs:
631      - replaced the just-added CPP options with run-time variables
632        (see pkg/obcs/OBCS_PARAMS.h for details)
633    o pkg/obcs:
634      - add additional CPP options for sponge boundary layers
635        (see pkg/obcs/OBCS_OPTIONS.h for details)
636    o pkg/atm_phys:
637      - implement simple (obliquity only, assuming circular planet orbit)
638        seasonal cycle for incoming insolation ; used when run-time parameter
639        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
640    o pkg/exf, pkg/ecco, pkg/ctrl:
641      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
642      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
643      - implement gentim2d for xx_tauu, xx_tauv
644    o pkg/ctrl, pkg/ecco :
645      - fix and complement the generic controls implementation
646    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
647        pkg/shelfice/shelfice_thermodynamics.F,
648        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
649        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
650      - add weight in CTRL_GET_GEN calls
651    o pkg/ctrl :
652      - ctrl_get_gen.F : add weight as input parameter, and apply
653        it directly rather than using smooth_correl2Dw (to be retired).
654      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
655    o pkg/ctrl :
656      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
657        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
658      - re-activate ctrl_summary (call in ctrl_init.F)
659    o pkg/ctrl/ctrl_cost_gen.F :
660      - fix CCP brackets, remove un-necessary myiter, mytime
661    o pkg/ecco, pkg/ctrl :
662      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
663      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
664      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
665      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
666    
667    checkpoint65d (2014/09/15)
668    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
669      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
670        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
671    o pkg/ctrl/ctrl_map_ini_genarr.F :
672      - remove compilation failure
673      - replace hard coded example
674      - use ctrl_map_ini_gen2D, 3D
675    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
676      - on/off switch based upon xx_genarr2d_weight,3d
677    o src/packages_init_variables.F :
678      - regroup pkg/estimation calls
679      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
680        (moved to ctrl_init_variables)
681    o cost/cost_init_varia.F :
682      - remove ecco_cost_init_varia
683        (moved to ecco_init_varia)
684    o ctrl/ctrl_init_variables.F :
685      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
686      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
687    o ctrl/ctrl_map_ini.F :
688      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
689        (moved to ctrl_init_variables)
690    o ctrl/ctrl_map_ini_ecco.F :
691      - remove ECCO_PHYS (mv to ecco_init_varia)
692      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
693    o ecco/ecco_ad_diff.list :
694      - add ecco_init_varia.f
695    o ecco/ecco_init_varia.F
696      - new routine
697    o pkg/streamice:
698      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
699        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
700      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
701    o pkg/generic_advdiff:
702      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
703    o pkg/exf:
704      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
705         xxg_precip capability
706      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
707    o pkg/ctrl:
708      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
709    o model/src/load_fields_driver.F :
710      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
711        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
712    o OpenAD verification experiments:
713      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
714        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
715        for now, only in pkgs used in OpenAD verification experiments.
716      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
717        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
718        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
719        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
720    o OpenAD verification tests:
721      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
722      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
723        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
724      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
725        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
726    o model/src & generic_advdiff:
727      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
728        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
729        dynamics requires valid tracer forcing only over tile interior but, for
730        some diagnostics, may need to extend it over 1 point in tile halo region.
731      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
732        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
733        setting in temp/salt/ptracer_integrate.F
734    o pkg/dic:
735      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
736        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
737        in gchem_forcing_sep.F
738    o pkg/autodiff & obcs:
739      - add storage of current OB values for U & V (was already done for T & S).
740    
741    checkpoint65c (2014/08/30)
742    o pkg/dic:
743      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
744        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
745        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
746    o verification:
747      - new experiment testing OBCS and DIC pkgs, using params & output from
748        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
749        passage: take OBCS from the last year of a 2 yrs simulation and initial
750        conditions from t=1.yr while keeping the same forcing.
751    o model/src:
752      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
753        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
754    o pkg/diagnostics (Stats-Diags):
755      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
756        a) refine region where stats are computed, excluding where arrhFac=0 ;
757        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
758        c) extend regional stats over the region edges (for U or V pt location).
759    o pkg/gchem:
760      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
761        pkg/dic is currently changing/updating ptracers values beyond the OB).
762    o verification (hs94):
763      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
764        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
765        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
766        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
767    o pkg/ptracers:
768      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
769        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
770      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
771        with AB-2 code (so that it get tested).
772    o model/src:
773      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
774        with AB-2 code (previously only available with AB-3 code).
775        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
776        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
777        there, by calling CYCLE_AB_TRACER).
778    o pkg/generic_advdiff:
779      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
780        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
781        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
782        S/R temp/salt/ptracers_integrate.F
783    o model/src & pkg/ptracers:
784      - remove common block variables gT,gS (in DYNVARS.h), except when
785         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
786      - remove common block variable gPtr.
787    o model/src & pkgs:
788      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
789         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
790         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
791         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
792      + change accordingly all calling S/R.
793      - use local temperature/salinity/ptracer tendency array (without bi,bj)
794        in S/R temp/salt/ptracers_integrate.F
795    o pkg/seaice:
796      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
797        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
798      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
799        in seaice_lsr
800      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
801        in s/r seaice_lsr_calc_coeffs
802    o pkg/mdsio:
803      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
804        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
805        too long (e.g., > MAX_LEN_FNAM/2 )
806    
807    checkpoint65b (2014/08/12)
808    o pkg/matrix:
809      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
810    o model/src:
811      - fix initialisation of geothermalFile; compile geothermal-flux code in
812        natl_box verification experiment.
813    o model/src & pkg/down_slope:
814      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
815      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
816        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
817        results at machine truncation level: update output of experiments
818        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
819    o pkg/diagnostics (Stats-Diags):
820      - do not cumulate the full volume when DIAGNOSTICS_FILL is
821        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
822        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
823        times (but Min,Max and StD are still wrong).
824    o model/src:
825      - add geothermal flux forcing: read in ini_forcing.F as time-constant
826        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
827    o model/src:
828      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
829        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
830        arrays are already updated while adjustments (filters, conv.adjustment) are
831        still applied later, in S/R TRACERS_CORRECTION_STEP.
832  o model/src:  o model/src:
833    - store in common bloc array "rhoInSitu" the virtual potential temperature    - store in common bloc array "rhoInSitu" the virtual potential temperature
834      anomaly that is used to compute geopotential: this make the atmos code      anomaly that is used to compute geopotential: this make the atmos code
# Line 82  o model/src: Line 907  o model/src:
907    - collect T & S forcing tendency into local 2-D array (passed as argument to    - collect T & S forcing tendency into local 2-D array (passed as argument to
908      apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.      apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
909      affects results at machine truncation level (e.g., ocean: if using      affects results at machine truncation level (e.g., ocean: if using
910      SHORTWAVE_HEATING and atmos:, if using FrictionHeating or (atm_Rq<>0)      SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
911      moist correction due to vertical advection).      correction due to vertical advection).
912    - update output of experiments: fizhi-cs-32x32x40 (13 digits),    - update output of experiments: fizhi-cs-32x32x40 (13 digits),
913      global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:      global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
914      seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),      seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
# Line 112  o pkg/seaice: more clean up Line 937  o pkg/seaice: more clean up
937      nearly a factor of 10 (but keep in mind there is mostly seaice code in      nearly a factor of 10 (but keep in mind there is mostly seaice code in
938      this experiment):      this experiment):
939      > size mitgcmuv_ad      > size mitgcmuv_ad
940      text    data        bss     dec        hex        text    data        bss     dec        hex
941      5100659 1216  220458952  225560827  d71c8fb      5100659 1216  220458952  225560827  d71c8fb
942      5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)      5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
943      but only a moderate increase of 36% for global_ocean.cs32x15:      but only a moderate increase of 36% for global_ocean.cs32x15:
944      text    data        bss     dec        hex      text    data        bss     dec        hex

Legend:
Removed from v.1.2040  
changed lines
  Added in v.1.2185

  ViewVC Help
Powered by ViewVC 1.1.22