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

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

  ViewVC Help
Powered by ViewVC 1.1.22