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

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

  ViewVC Help
Powered by ViewVC 1.1.22