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

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

  ViewVC Help
Powered by ViewVC 1.1.22