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

Legend:
Removed from v.1.2002  
changed lines
  Added in v.1.2102

  ViewVC Help
Powered by ViewVC 1.1.22