/[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.1335 by jmc, Tue Nov 16 17:53:33 2010 UTC revision 1.1491 by jmc, Fri Aug 12 22:22:50 2011 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/grdchk:
8      - Assume that all gradient-check position are within the same tile
9        corresponding to global indices (iGloTile,jGloTile) and that
10        positions (i,j indices or nbeg) are local to this tile;
11      - set tile local-indices and proc. number according to tile global-indices;
12      - remove grdchkwhichproc from namelist (retired param);
13      - send adjoint gradient to all procs so that all procs print it to STDOUT;
14      - switch on MPI test for global_ocean.90x40x15 AD test experiment.
15    o adding package bbl (Bottom Boundary Layer)
16      description in MITgcm/pkg/bbl/bbl_description.tex
17      example/test experiment in MITgcm_contrib/bbl
18    o adjoint verifications
19      - changed 5 experiments to multi-tiles
20        * global_ocean.90x40x15
21        * obcs_ctrl
22        * offline_exf_seaice
23        * tutorial_dic_adjoffline
24        * tutorial_tracer_adjsens
25        changed reference output for those that crossed tile boundaries
26        (changed choices of gradient check positions)
27      - with same tiling, switch on MPI test for the last 4 (add SIZE.h_mpi)
28      - temporary bug fix in grdchk_loc.F for obcs
29    o genmake2 & testreport
30      - add target "obj" (just for OBJFILES files) to Makefile;
31      - add option to specify FEXTRAFLAGS on command line.
32    o pkg/mypackage:
33      - remove bi,bj arguments from argument list of S/R MYPACKAGE_CALC_RHS
34    
35    checkpoint63a (2011/08/02)
36    o pkg/diagnostics (velocity potential):
37      - fix velocity-potential calculation when using OBCS: balance net inflow
38        at each level (new S/R OBCS_DIAG_BALANCE).
39      - fix some of the problems with OBCS in stream-function calculation.
40    o pkg/exf/exf_readparms.F
41      - make treatment of optional namelists (EXF_NML_04, EXF_NML_SGRUNOFF,
42        EXF_NML_OBCS) more consistent, so that you need not have these lists
43        in data.exf when they are not used.
44    o optim/optim_readdata.F:
45      - add some output about obcs variables that might help debugging
46      - add a check about nvarlength
47    o pkg/ctrl: once again, fix computation of endrec in s/r ctrl_init_rec
48    o pkg/diagnostics (velocity potential):
49      - fix mask for OBCS (still problems in stream-function with OBCS);
50      - add specific parameter (default = main code CG2D params) for solver;
51      - in case of poor convergence, use solution corresponding to lowest residual.
52    o pkg/seaice/seaice_growth.F: small changes that permit vectorizable
53      adjoint code. In general statements like tmpscal=fld(i,j) are problematic
54      and should be avoided where possible.
55    o model/src (rStar):
56      - include r* effect on reference-state (PhiRef) in totPhiHyd
57        (so that it's really the potential anomaly at the cell center);
58        affect solution only if z* with full pressure in EOS.
59      - test-exp global_ocean.90x40x15: reduce viscA4 (was not stable) and
60        update output (because of z* in totPhiHyd and viscA4 changes);
61      - keep the previous diagnostics as "PHIHYDcR" (closer to potential anomaly
62        @ constant r) until interpolation at constant r is implemented.
63    o pkg/diagnostics
64      - fix RCENTER diagnostics in case cell center is not at interface middle
65    o add code for TEOS-10 (www.teos-10.org, McDougall et al. 2011). Use
66      this eos with eosType = 'TEOS10', in data (PARM01). This eos implies
67      that THETA and SALT are "conservative temperature" and "absolute
68      salinity"
69    o pkg/ctrl
70      - fix computation of endrec in s/r ctrl_init_rec
71      - ctrl_pack/unpack_*: remove unused variables and some obsolete code
72    o pkg/seaice/seaice_growth.F
73      - fix recomputation with FENTY_AREA_EXPANSION_CONTRACTION code,
74        remove then obsolete STORE directives
75      - fix STORE directives for tice and tices, so that only the
76        appropriate part of the fields are stored (and not the entire
77        field); update global_ocean.cs32x15.seaice AD output.
78      - cosmetic changes: adjust CPP flags and indentation for better
79        legibilty
80    o pkg/autodiff: add mnc-output of adBottomDragFld (code contributed by
81      Chris Wilson)
82    o pkg/gmredi:
83       Add Sub-Meso Eddies parameterisation from Baylor (for now, disabled with TAF),
84       and test it in verification exp. "front_relax.bvp" (update output.bvp.txt)
85    
86    checkpoint63  (2011/07/11)
87    o pkg/exch2:
88     - rename+move: nTiles in W2_EXCH2_PARAMS.h --> exch2_nTiles in W2_EXCH2_TOPOLOGY.h
89     - exch2 version of Cumul-Sum routine: S/R W2_SET_MAP_CUMSUM set up the
90       (2*nTiles)x(nTiles) Cumul-Sum matrix and Master Proc collects all tiles X,Y
91       increments, calculates Cumul-Sum @ tile origin and sends results to each tile.
92    o pkg/diagnostics:
93     - deal with pairs of post-processed diags which are computed together; in
94       particular, re-order list of diags within 1 file to save 2nd computation.
95     - add S/R to compute velocity stream-function (called after velocity-potential
96       calculation) from divergence free transport -> new diagnostics "PsiVEL".
97     - add parameter to select grid-point location where PsiVEL == 0.
98    o eesupp/src:
99       new S/R to calculate cumulated sum on tiled array, corner grid-cell location
100       (specific S/R needed with exch2 topology - for now, just print an error msg)
101    o pkg/shelfice
102     - Implement friction velocity-dependent transfer coefficients following
103       Holland and Jenkins, JPO, 1999
104       Original code by M. Losch with small modifs.
105       Enable with CPP option SHI_ALLOW_GAMMAFRICT
106       and runtime flag SHELFICEuseGammaFrict
107    o verification lab_sea & global_ocean.cs32x15:
108     - use tools/xmakedepend (instead of cyrus_makedepend, in genmake_local):
109       does not miss some dependencies (but is slower) and also works with many files
110       (default makedepend limitation for AD built).
111     - use cyrus_makedepend in adjustment.128x64x1 (so that it still tested).
112    o pkg/diagnostics:
113     - add run-time parameter "useMissingValue" (def=False) to fill land-point
114        (i.e., where mask=0) with MissingValue ; used only in MNC output file.
115       This replaces CPP-option DIAGNOSTICS_MISSING_VALUE.
116     - Extend the use of "missing_value" setting from data.diagnostics for the case
117       of counter-diagnostics (where fraction-weight is zero). This applies both to
118       MNC and MDS output files.
119    o pkg/seaice/seaice_growth.F:
120      - add 'a priori' cap of latent heat flux based on actual mass considerations
121        when SEAICE_ADD_SUBLIMATION_TO_FWBUDGET is used in conjunction with the
122        non-legacy seaice_solve4temp.
123      - add diagnostic of the residual sublimation freshwater flux (the freshwater
124        flux taken from the ocean if the total actual latent heat fluxes exceed
125        the maximum)
126      - remove the CPP switch around the *_FWbySublim unit change and move diagnostic
127       fill for SIatmQnt, SIfwSubl, SIatmFW to the end of seaice_growth.F.
128      - add diagnostic of the actual sublimation freshwater flux (that is 0. ifndef
129       SEAICE_ADD_SUBLIMATION_TO_FWBUDGET) and of the latent heat flux (evap+sublim).
130      - bug fix : frWtrAtm needs a_FWbySublim ifdef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET.
131      - bug fix : missing part to Martin's r_FWbySublim pathological case fix.
132    o verification 1D_ocean_ice_column:
133       made model domain truly 1x1x23 instead of 5x5x23 with only center cell (3,3,:) wet
134       update results
135    o pkg/diagnostics:
136     - Implement setting of "Post-Processed" diagnostics (corresponding to gdiag(5)='P')
137       which are not filled-up but computed from other diags ; In this case, the mate
138       diag points to the primary (filled-up) diag to used for post processing.
139     - Update Velocity-potential computation using post-processed diag framework.
140     ==> Change the ordering of fields and time-periods in MDS output file
141       when using periodic averaging: now writes one time record with the full set
142       of fields for this time period, then the next time reccord (it used to be
143       one field with the full set of time records then the next field).
144         Note: this is now similar to NetCDF (MNC) output file. <==
145    
146    checkpoint62z (2011/06/21)
147    o adjoint monitor:
148     - Add adjoint monitor output for packages exf, seaice
149       and update relevant testreport output
150    o pkg/seaice:
151     - re-order diags inits so that they appear in order in available_diagnostics.log
152     - added diags: hsnow thermo. rates of change, area preceeding ridiging process,
153       area/heff/hsnow preceeding thermodynamic growth/melt.
154     - modified diag: SIdA; output actual effect, as the description states.
155     - modified description: SIqneti, SIqneto, SIuheff, SIvheff, SIdAb*, HSNOW.
156     - retired redundant diags: SIyneg, SIfice, SIsnwice, SIthdgrh.
157       (SIyneg->SIdHbOCN; SIfice->SIdHbATC; SIsnwice->SIdHbFLO;
158        and SIthdgrh->SIdHbOCN+SIdHbATC+SIdHbATO)
159     - modified diags (2) : switch all SIdA*, SIdH*, SIdS* from delta to rates.
160     - added diagnostics for seaice generic tracers (SItr*).
161     - added SItrUnit and SItrNameLong run time param (for SItr* diags).
162     - in diag names, replaced 'PrTh' abbrev. of 'preceeding thermo' with 'PT'.
163     I. Fenty: 18-Jun-2011:
164     Minor changes to seaice package:
165     1) Retired old variables (A22, SEAICE_lhsublim, areaMax, areaMin, hiceMin) and
166        added some new ones (SEAICE_area_reg, SEAICE_hice_reg, SEAICE_area_floor)
167       - Differentiated "regularization variables" from "floor variables"
168        * areaMin became SEAICE_area_reg (old A22) and SEAICE_area_floor
169        * hiceMin became SEAICE_hice_reg (old hiceMin)
170          (with _reg meaning regularization variable)
171       - SEAICE_lhSublim becomes lhSublim, the sum of SEAICE_lhEvap and SEAICE_lhFusion
172        so as to ensure energy conservation when going between phases
173      - A22 was not used anywhere
174     2) Changed regularization procedure for heffActual and hsnowActual to ensure
175        well-boundedness and smooth adjoint in seaice_growth.F
176     3) Fixed a bug where seaice_solve4temp would not recognize ice-free grid cells
177        because the old regularization always set heffActual >= 0.05 cm
178     4) Changed the model so that the default behavior is to put a small (10^-5) "floor"
179        on AREA when HEFF > 0.
180      - went from requiring ALLOW_PRECLUDE_INFINITESIMAL_AREA to be defined to
181        requiring that DISABLE_AREA_FLOOR *not* be defined
182     Affected verifications:
183      - 1D_ocean_ice_column (output.txt output_adm.txt)
184      - global_ocean.cs32x15 (output.seaice.txt output_adm.seaice.txt)
185    o pkg/diagnostics:
186      - move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R).
187      - rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument
188        (was _RL, now integer) with option = 0 to retrieve all levels.
189      - add pieces of code to compute velocity potential at each level (new diagnostics
190        PhiVEL, works only when UVELMASS & VVELMASS are also turned on);
191        for now, using same params as CG2D (target-resisual, max Nb of iter ...).
192      - fix few issues with counter diagnostics in diagnostics_setdiag.F &
193        diagstats_setdiag.F (if diagnostic counter is itself a counter diag)
194        and in diagnostics_fract_fill.F (do not need a valid pointer for the
195        diagnostics counter-mate); check that definition of counter-diagnostic
196        includes a valid counter-mate (in diagnostics_set_levels.F).
197    o model/src (rStar):
198      - add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F);
199        affect solution only if z* with full pressure in EOS;
200        update output of test-exp global_ocean.90x40x15.
201    o pkg/seaice:
202      - introduce siEps=1e-5 parameter
203      - use areaMax in AREA update (part 4), consistent with ridging step (part 2.5).
204      - re-organize SEAICE_ADD_SUBLIMATION_TO_FWBUDGET code.
205      - introduce ALLOW_SITRACER and seaice_tracer_phys.F to handle generic seaice tracer.
206        For now it covers, and was tested for, ice salinity and age (attached to HEFF),
207        as well as ice cover age and ridging index (attached to AREA).
208        For now the run time parameters (in data.seaice/SEAICE_PARM03) are
209        SItrName (e.g. 'age') and SItrMate ('HEFF', which is the default, or 'AREA').
210        Up to SItrMaxNum=3 tracers can be used simultaneously.
211    o pkg/salt_plume:
212      -introduce SPsalFRAC run time parameter that sets the fraction of the
213       salt by-product of ice growth (SPsalFRAC*(1-SIsalFRAC)*salt typically)
214       that gets vertically redistributed (fluxed down) by pkg/salt_plume.
215    o model debug options:
216      - Switch reading of debugMode from S/R INI_PARMS (parameter file "data", stored
217        in PARAMS.h) to S/R EESET_PARMS (parameter file "eedata", stored in EEPARAMS.h).
218      - Refine debug-msg printing selection (3 new levels):
219        debugMode  : controls printing of debug messages (sequence of S/R calls).
220        debugLevel : controls printing of algorithm-relevant auxiliary/debug messages
221         debLevZero =  0 ; /* level of disabled aux. msg printing */
222         debLevA =  1 ; /* level of minimum  aux. msg printing */
223         debLevB =  2 ; /* level of low aux. print (report read-file opening)*/
224         debLevC =  3 ; /* level of moderate debug prt (most pkgs debug msg) */
225         debLevD =  4 ; /* level of enhanced debug prt (add DEBUG_STATS prt) */
226         debLevE =  5 ; /* level of extensive debug printing */
227        New debugLevel default: with default debugMode value (=F),
228          = 2 (debLevB) or = 1 (debLevA) in case ALLOW_AUTODIFF is defined.;
229          and if debugMode=T, default debugLevel = 4 (debLevD).
230        Relation with previous settings:
231         debLevB (=2) corresponds to former debLevA (=1)
232         debLevD (=4) corresponds to former debLevB (=2)
233        Note:
234         a) if debugLevel=0, skip WRITE_GRID call when nIter0 > 0 (same as before);
235         b) default debugLevel=1 is convenient in AD runs (avoid many file opening msgs);
236            to recover previous default, set debugLevel=2 (e.g. AD-test hs94.1x64x5)
237      - Add new parameter (printResidualFreq, read from PARM02 namelist) to print
238        detailed CG solvers convergence; off (=0) by default, except if debugLevel=5.
239    o pkg/obcs:
240      - change OBCSfixTopo default from True to False (should not change the results);
241        keep OBCSfixTopo=T in verification-exp. seaice_obcs.
242    o pkg/thsice:
243      - fix bug in thsice_calc_thickn.F (was introduced in version 1.18) in
244        2nd layer seaice sublimation (unlikely to happen)
245      - use Interior mask for OBCS in thsice_advection.F (similar to what is
246        done in gad_advection & seaice_advection).
247    o adjoint:
248      bug fix spotted by Gael Forget:
249      seaice_advection and thsice_advection still had
250      legacy CPP options to avoid CS corner updates for adjoint
251    o pkg/seaice:
252      => Change some of the defaults (2011/05/29):
253         - change SEAICEuseFluxForm default (from False to True)
254         - change DIFF1 default (from 0.004 m/s to 0. m/s)
255         And print warnings if DIFF1 is not set in data.seaice and centered
256          avection scheme is used without any diffusion.
257      also:
258      - fix seaice_diffusion calls in default AdvScheme part of seaice_advdiff.F;
259      - set SEAICEdiffKh[] default in the same way as SEAICEadvSch[]
260      - stop if DIFF1<>0 with SEAICEadvScheme <> 2, if DIFF1<>0 with any
261        other non-zero SEAICEdiffKh[] diffusivity, if SEAICEadvSalt=T with
262        #undef SEAICE_VARIABLE_SALINITY, if SEAICEadvAge=T with #undef SEAICE_AGE.
263      update results of test exp.:
264         lab_sea: output.fd (switch to AdvScheme=33 with diffKh=20)
265             output.hb87, output_adm.evp (SEAICEuseFluxForm=T and diffKh=200)
266             output_adm.noseaicedyn (SEAICEuseFluxForm=T)
267         offline_exf_seaice: output.seaicetd, output_adm (SEAICEuseFluxForm=T)
268         seaice_obcs: output (SEAICEuseFluxForm=T)
269      and prescribe old default for SEAICEuseFluxForm (=F) and DIFF1 (=0.004)
270          for standard fwd & AD lab_sea tests (to keep the same output).
271    o pkg/seaice/seaice_growth.F:
272      - use Ian Fenty's capping formulas for actual ice
273      thickness thoughout EVOLUTION branch.
274      - put treatment pathological case #2) in CPP brackets
275      (ALLOW_AVOID_INFINITESIMAL_AREA, undef by default).
276      - update global_ocean.cs32x15 and 1D_ocean_ice_colum results accordingly.
277    o pkg/seaice:
278      - seaice_diffusion.F : remove the min(DX,DY) factor permanently;
279      pass the Laplacian diffusivity (in m^2/s) diffKh as a parameter;
280      also pass fac as a param, which can be 1. (to update the tendency
281      field) or the time step (to update the field itself).
282      - seaice_advdiff.F: for multidim, call seaice_diffusion with
283      e.g. SEAICEdiffKhHeff and with fac=1; for single-dim, call
284      seaice_diffusion with e.g. SEAICEdiffKhHeff and with fac=time step.
285      - SEAICE_PARAMS.h, seaice_readparms.F, seaice_check.F :
286      hooks to handle SEAICEdiffKhHeff, SEAICEdiffKhArea, etc.
287    o pkg/seaice:
288      diffusion with centered advection scheme (diffus.F & advect.F):
289      - simplify S/R DIFFUS (put deltaT & DIFF1 factor outside, move EXCH outside)
290        to just compute the laplacian of input-field.
291      - unroll k loop (harmonic,biharmonic diff) in advect.F to save 1 exch call.
292      - fix flux-form version in diffus.F to conserve tracer.
293      update output of lab_sea.fd & lab_sea.hb87 (1rst set of modif affects
294       machine truncation) and lab_sea.salt_plume (conservative flux-form modif)
295    
296    checkpoint62y (2011/05/26)
297    o pkg/seaice:
298     - seaice_growth.F : in EVOLUTION branch, always include
299       a_QSWbyATM_cover in qnet (as it should be).
300     - verification/global_ocean.cs32x15 : update results accordingly
301       (output.seaice.txt output_adm.seaice.txt).
302    o pkg/seaice + obcs:
303     - use maskInW & maskInS in multi-dim advection and biharmonic diffusion:
304       equivalent of assuming no tracer gradient outside the OB region.
305       update output of seaice_obcs (uses DIFF1 <>0 => biharmonic diffusion)
306     - remove calls to OBCS_COPY_TRACER after EXCH calls (no longer needed
307       after changes above);
308     - obcs+seaice cleaning: apply seaice-tracer OB values to tracer field
309       only at OB location (instead of over a band of OLx width).
310    o pkg/seaice:
311     - fix wrong indices in old (non Flux-Form) diffusion default S/R diffus.F
312       (dxG(I+1, ...) changed to dxG(I, ...), no impact on Lat-Lon grid)
313    o pkg/obcs:
314      - split header file "OBCS.h" into 4 separated files:
315        OBCS_PARAMS.h, OBCS_GRID.h, OBCS_FIELDS.h & OBCS_SEAICE.h
316       Note: OBCS_PARAMS.h & OBCS_GRID.h can be included without OBCS_OPTIONS.h
317         (contain no conditional statement which depends on OBCS options).
318      - move "useOBCSYearlyFields" from "data.obcs" (hold in OBCS_PARAMS.h)
319        to parameter file "data.exf", namelist EXF_NML_OBCS (in EXF_PARAM.h).
320    o ctrl, cost, grdchk & autodiff pkgs:
321      - make options file more standard (like other {PKG}_OPTIONS.h file but
322        with AD_CONFIG.h); clean-up some of the included header files.
323    o pkg/obcs:
324      - do not mask tracer when applying OB (tracer == 0 could generate problems)
325      - apply tracer OB values to tracer field only at OB location (instead of
326        over a band of OLx width)
327      - clean-up obcs_apply_w.F & obcs_apply_eta.F (since less calls to these S/R)
328      - remove OBCS_MULTIDIM_OLD_VERSION code in gad_advection.F and remove
329        obcs_apply_tloc.F & obcs_apply_sloc.F
330    o obcs in model/src:
331      - call OBCS_APPLY_W only if NonHydrostatic.
332      - call OBCS_APPLY_ETA only if NonLinFreeSurf.
333      - reset dEtaHdt and wVel to zero outside OB interior region ;
334      - leave tracer unchanged outside OB interior region: This has no effect
335        on the solution but just to prevent unrealistic tracer value outside OB.
336      - zero out velocity outside OB interior region: This has no effect on
337        the solution but just to prevent unrealistic velocity outside OB.
338    o obcs and non-lin free-surf:
339       move call to OBCS_APPLY_R_STAR from update_r_star.F to calc_r_star.F
340       and call to OBCS_APPLY_SURF_DR from update_surf_dr.F to calc_surf_dr.F
341       + add argument "etaFld" to OBCS_APPLY_R_STAR & OBCS_APPLY_SURF_DR:
342       this fixes missing EXCH + get consistent eta OB value (+ fix restart).
343       update results of test-exp. exp4(nlfs).
344    o exp4 (nlfs) test-exp:
345       use OBC for Eta at Western & Eastern OB (to test prescribing Eta
346       with NonLin-FreeSurf); update output.nlfs.txt
347    o obcs and 2d/3d solver norm:
348       use interior masks (maskInC) to cancel out cg2d & cg3d matrix coeff at OB
349       and outside OB interior region (will allow to place OB further inside the
350       domain). Depending on the domain, can affects cg2d-Norm (previous
351       cancellation outside OB was only partial), e.g. in exp4 & obcs_ctrl,
352       and cg3d-Norm (previous Norm was computed before canceling OB terms),
353       e.g. in tutorial_plume_on_slope.
354      - update output of exp.: exp4 (x2), obcs_ctrl and tutorial_plume_on_slope.
355    o pkg rbcs:
356      - split RBCS.h into 3 files: RBCS_SIZE.h, RBCS_PARAMS.h & RBCS_FIELDS.h
357      - add capability to apply relaxation to horizontal velocity uVel & vVel.
358    o pkg/grdchk: add gradient check for control variable xx_shifwflx
359    o pkg/shelfice/shelfice_init_fixed.F
360      fix CPP-flag combinations
361    o pkg/seaice: Merge iceage code of Pierre Rampal
362      * update/change/correct ice age calculations
363      * add age updates for pathological cases
364      Probably needs more testing...
365    
366    checkpoint62x (2011/05/13)
367    o pkg/mom_vecinv:
368       high-order vorticity scheme: use interior masks (maskInW & S)
369       to zero-out (outside OB) gradient of vorticity.
370    o verification exp.:
371       turn on "useEnergyConservingCoriolis" (better discretisation) in exp.
372       hs94.128x64x5 and seaice_obcs ; update results.
373    o pkg/obcs:
374      fix bug in OBeta for YZ sections in obcs_exf_load.F
375    o pkg/ctrl, pkg/shelfice, and optim:
376      - add new control variable xx_shifwflx (fresh water flux underneath ice
377        shelves). This is almost as tedious as obcs-ctrl, because the
378        variables needs its own mask.
379      - add a cost function term that penalizes the deviation of xx_shifwflx
380        from the first guess (zero) in analogy to other control variables
381    o pkg/shelfice:
382      - start basic adjoint
383    o pkg/ctrl:
384      - remove extra 2D field "for good measure" when initializing in
385        ctrl_set_globfld_[xy/xz/yz].F
386      - replace hard coded precision 32 (a bug) in ctrl_map_ini_gen by ctrlprec
387      - improve error messages in ctrl_set_unpack_*
388    o OBC implementation in momentum:
389       use interior masks (maskInC,W & S) in momentum S/R:
390       - multiply divergence, tension and some del^i.u or del^j.v by maskInC
391       - multiply del2u,del2v by maskInW/S (biharmonic viscosity)
392       - multiply horiz. grad of vorticity by maskInW/S (in Leith scheme)
393       - multiply gradient of wVel by maskInW/S in del2w calculation (NonHyd)
394       Motivation: fix/clean implementation of OBC with biharmonic-viscosity
395        (and also with Leith/Smagorinsky harmonic-viscosity).
396       Update output of experiment dome and exp4 (+nlfs).
397    o exp4 test-exp:
398      - turn on: nonHydrostatic, exactConserv, viscA4 (with momDissip_In_AB=F)
399        and prescribe time-varying OB (without pkg/exf) for zonal-velocity
400        at Western & Eastern Boundaries (+/- 1 per-cent); Also prescribe
401        time-varying OB at Western-side for wVel (NonHyd); update output.
402      - add secondary set-up (.nlfs) using NonLin FreeSurf (z*) + mom_vecinv
403        and biharmonic-viscosity ; also use prescribed time varying OB.
404    o pkg/obcs:
405      fix bug in OBWeta,OBWeta indices in obcs_apply_r_star.F
406    o model/src:
407      - fix startTime setting when baseTime<>0 & nIter0=0 are specified ;
408      - initialise startTime & nIter0 with unlikely values: allows to set one
409        from the other without ambiguity.
410    o seaice_obcs test-exp.:
411      add small diffK4T,S to test biharmonic diffusivity with OBCS ; update output.
412    o pkg/obcs:
413      - remove calls to OBCS_COPY_TRACER after EXCH for T,S & pTracer:
414        no longer needed with maskInC,W,S in pkg/generic_advdiff.
415    o pkg/seaice:
416      - retired SEAICE_SALINITY and SEAICE_salinity in favor of
417        SEAICE_VARIABLE_SALINITY and SIsalFRAC, respectively.
418      - fixed bug in the initialization of sea ice salinity variable HSALT
419        in seaice_init_varia.F  (removed dependence on ICE2WATR)
420    o fizhi-cs test exp.:
421       switch reference output convention for these 2 non-standard test-exp,
422        from: pgi  6.1-5 on faulks (FC.6, -of linux_ia32_pgf77+authors_fc5)
423          to: ifort 11.1 on baudelaire (FC.13, -of linux_amd64_ifort11)
424       reason: faulks might get retired soon and pkg/fizhi has still Pb with gfortran
425    o model/inc:
426      - change type of PmEpR array (from _RS to _RL) to fix restart (with "-use_r4")
427        of exp. global_ocean.90x40x15 (Suncronous time-stepping + Real-FW + NonLin-FS)
428    o pkg/seaice:
429      - fix calculation of saltFlux and saltPlumeFlux when using SEAICE_SALINITY
430    o verification/lab_sea, 1D_ocean_ice_column, seaice_obcs, global_ocean.cs32x15
431      - updated output*.txt files due to bug fixes in salt, saltPlumeFlux,
432        and initial HSALT
433    
434    checkpoint62w (2011/04/26)
435    o pkg/mom_fluxform:
436      - fix calculation of del2u & del2v (no-slip BC) when using Non-Lin Free-Surf.
437      - use parameter "sideDragFactor" in no-slip BC side-drag part.
438      - update output of exp. global_ocean.90x40x15
439    o pkg/mom_vecinv:
440      mask del2u & del2v (no effect on results, but cleaner & closer to mom_fluxform)
441    o update seaice exp.:
442      use more consistent parameter values (remove "backward compatability only":
443       ICE2WATR, SEAICE_lhSublim, SEAICE_cpAir, SEAICE_rhoAir + set rhoConstFresh)
444      related to thermodynamics seaice. Update output (fwd+AD) of exp.:
445       1D_ocean_ice_column (x2), lab_sea (x8), ioffline_exf_seaice (x2) & seaice_obcs
446    o update test-exp global_ocean.90x40x15:
447      o use default CD_CODE_OPTIONS file (Adams-Bashforth on CD Mom & Coriolis).
448      o increase Overlap size from 2 to 3 (to allow to test bi-harmonic Visc.)
449      o new pickup-files from a 100.yr run with pkg/down_slope (input.dwnslp params)
450      o turn on zStar & viscA4 in standard set-up (dir input/)
451        and update output files: output.txt & output.dwnslp.txt
452    o new AD-test experiment: obcs_ctrl
453      (From Matt MITgcm_Contrib/SOSE/BoxAdj) to test OBCS as control vector.
454    o pkg/dic:
455      fix two bugs in handling water vapour pressure in carbonate chemistry
456      and air-sea fluxes. Found by Val Bennington and Galen McKinley
457      (add DIC Option = WATERVAP_BUG to recover old results)
458      update output of tutorial_global_oce_biogeo (fwd+AD) & tutorial_dic_adjoffline
459    o adding allowInteriorFreezing option to check for water below freezing point
460      at depth and bring the negative heat anomaly to the surface level
461    o pkgs _fields_load:
462      - extend GET_PERIODIC_INTERVAL to deal with non-periodic case (from pkg/rbcs)
463      - use new S/R GET_PERIODIC_INTERVAL in pkgs:
464        bulk_force, cheapaml, cfc, dic, obcs (+ ctrl/ctrl_get_gen_rec), offline and
465        rbcs to get interpolation weights and time reccord number.
466      - fix multi-threading in aim_fields_load.F
467      - apply EXCH to temp arrays [0,1] after reading in dic_fields_load.F
468    o external_fields_load:
469      new S/R GET_PERIODIC_INTERVAL to calculate which time-record (and linear
470       interpolation weights) to use in a periodic time-series ; do not divide by
471       time-step to convert to integer:
472       - this fixes case where externForcingPeriod is not multiple of time-step
473          (Thanks to Christopher L. Wolfe)
474       - this fixes case where externForcingPeriod is an odd multiple of time-step
475         (was wrong by half of time-step); update results of tutorial_global_oce_in_p.
476      store index of time-record which is currently loaded:
477       - works without any assumption on sequence of calls to EXTERNAL_FIELDS_LOAD ;
478       - needed for the adjoint but not yet used because of extensive recomputations;
479         (to be fixed soon)
480    
481    checkpoint62v (2011/04/02)
482    o verification/1D_ocean_ice_column added to test Ian Fenty's
483      pkg/seaice_growth.F modifications for improving sea ice code differentiability
484    o update output of exp4, internal_wave, seaice_obcs, tutorial_plume_on_slope
485      (new velocity statistics after changing maskInW & maskInS definition)
486    o pkg/generic_advdiff with OBCS:
487      use maksInW & maskInS in advective flux and in biharmonic diffusion calculation:
488      equivalent to assumption of no tracer gradient outside the OB region.
489      This will affect the results if using obcs+biharmonic diffusion.
490      update output_adm.txt of experiment bottom_ctrl_5x5 (not expected since no obc)
491    o pkg/obcs:
492      change definition of maskInW & maskInS: leave OB edges inside (maskIn=1)
493      (e.g., maskInW(OB_Ie)=1 ) so that velocity normal-component at OB is still
494      in Interior region. No impact on solution but affects Velocity monitor stats.
495    o pkg/ptracers (adjoint)
496      New option AUTODIFF_PTRACERS_SPLIT_FILES for writing separate
497      tape file for each tracer
498    o model/inc/src and pkg/autodiff: add parameters that allow to turn
499      of parts of the adjoint code at run time. For now, there are only
500      useKPPinAdMode, useGMrediInAdMode, and useSEAICEinAdMode. These
501      parameters are set in data.pkg.
502      This is the lazy coward's version of doing this, but still useful for
503      debugging. In order to do it right, everything needs to be moved to
504      pkg/autodiff.
505    o pkg/autodiff: fix global_sum_tile_ad.F by resetting adsumPhi at
506      the end; this fixes the adjoint balancing code for open boundaries.
507    o pkg/ctrl:
508      - change behavior of xx_${varname}period to be analogous to exf-conventions:
509        xx_${varname}period =   0.,  means time-independent control part
510        xx_${varname}period = -12., means one-year-periodic monthly control part
511      - introduce helper routine ctrl_init_rec (part of ctrl_init.F) to
512        clean up ctrl_init a little, remove unused variables
513      - ctrl_init: fixed the handling of the start/endrec for obcs-variables
514      - move "call cal_GetMonthsRec" from s/r ctrl_get_gen to s/r ctrl_get_gen_rec
515    
516    checkpoint62u (2011/03/15)
517    o model/src:
518      - for the adjoint, change NonLin-FreeSurf initialisation sequence: fill-in
519        h0Fac from INITIALISE_FIXED and reset hFac to h0Fac in INITIALISE_VARIA ;
520      - in initialise_varia.F (except for ALLOW_DEPTH_CONTROL) remove 2nd call to
521        INI_DEPTHS, INI_MASKS_ETC & INI_LINEAR_PHISURF.
522    o pkg/ctrl/obcs/ecco:
523      - remove obsolete, unused, and partially broken code:
524        ctrl_obcsvol/ctrl_obcsbal/ctrl_volflux and code within
525        ALLOW_CTRL_OBCS_BALANCE
526      - put a stop statement into ecco/cost_obcsvol.F, but also add
527        cost_obcsvol to ecco_ad_diff.list
528    o pkg/ecco: fix counting cost function contributions for obcs (code
529      by Matt M.) and diffkr for diagnostics
530    o pkg/ecco, pkg/ctrl, pkg/grdchk:
531      add cost penalty terms for initial uvel, vvel, eta controls
532      and I/O for prior error files
533    o pkg/mdsio:
534       move mds_check4file.F from eesupp/src to mdsio_check4file.F ; add option
535       (new argument) to check for tiled file in mdsioLocalDir : this fix the
536       restart from pickup_som , pickup_dic (& dic_co2atm) with mdsioLocalDir.
537    o pkg/ctrl:
538     - ctrl_obcsbal.F, ctrl_obcsvol.F: replace last calls of ctrl_getrec by
539       ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove
540       unused and superfluous variables
541     - ctrl_get_gen_rec.F: catch the case of xx_genperiod=0.
542    o pkg/ecco
543     - enable adjoint of Stevens OB
544    o pkg/ctrl/ecco/grdchk:
545      - remove global declaration of tmpfldx/yz and tmpfldx/yz2.
546        Fortunately, we do not have any tests for the numerous cpp-flagged
547        option of "obcs as control parameters" so we will never know
548        if this is an improvement (but at least now things compile).
549      - remove an obsolete initialization from ecco_cost_init_barfiles.F
550      - fix some problems within never used ifdefs to make the code compile
551    o pkg/obcs:
552     - Refine Interior mask definition to work with more complex OB (e.g.
553       if OB_Ie < OB_Iw); In case default setting is not sufficient, allows to
554       read in Interior mask from file. Check if Interior mask is consistent
555       with OB list of indices.
556    o pkg/seaice
557     - beginning code for a seaice tracer package,
558       but currently only used for seaice age: SEAICE_AGE
559       SEAICE_num = 4
560       iTracer = 1: area-weighted ice age
561               = 2: volume-weighted ice age
562               = 3, 4: template for one-year vs. multi-year ice
563       data.seaice has new namelist SEAICE_PARM03 for arrays related to
564       SEAICE_num
565    
566    checkpoint62t (2011/03/05)
567    o pkg/obcs:
568     - obcs_apply_uv.F: change to a 2 steps method, first tangential component;
569       then normal component. This ensures that the normal component is set
570       correctly even when it conficts with tangential setting from an other OB.
571       Affects results of test-experiment seaice_obcs: update the output.txt
572    o pkg/obcs:
573     - add code to monitor statistics of dynamical fields at OB.
574     - take OBCS_BALANCE code out of obcs_calc.F into new S/R OBCS_BALANCE_FLOW :
575       - fix to OBCS_BALANCE code (right hFac ; deal with simple OB intersection).
576       - change default: balance the Net inflow through all OB (instead of balancing
577         each OB separately); keep the old method if setting OBC_balanceFacX < 0.
578     - switch on useOBCSbalance in dome experiment: only correct Western OB outflow
579       to match Nortern OB inflow (OBCS_balanceFacN=0).
580    o pkg/seaice:
581     - redefined actual sea ice age to be ICEAGE/HEFF ifdef SEAICE_AGE_VOL
582    o pkg/seaice (seaice_growth v 1.113):
583     - reverting seaice_growth to v 1.111 in order to have code with exact bit
584       compatibility with MITgcm_contrib/ifenty/Fenty_seaice_thermo_code_merge
585       CPP option SEAICE_OCN_MELT_ACT_ON_AREA removed in v 1.112 is reintroduced
586       runtime flag SEAICEareaFormula is kept but is inactive
587    o model/src:
588     - add new param to scale curvilinear grid distance and area when using
589       a different sphere radius from the grid-files.
590     - test/check multi-threads EXCH applied to local variable (cg2d_x)
591    o adjoint:
592     - enable adjoint of Stevens OB
593     - add dummy_in_dynamics to enable extraction of ADJrhoinsitu
594       (a bit delicate because of potentially modified adj. common block structure;
595       current switch is ALLOW_AUTODIFF_MONITOR_DIAG, could be changed later)
596    
597    checkpoint62s (2011/02/15)
598    o pkg/seaice (seaice_growth v 1.112):
599     - introduce SEAICEareaFormula run time parameter, which selects the recipe for
600       computing the ice cover tendency from effective thickness tendencies. Include
601       Ian Fenty's formula.
602     - remove 'undef SEAICE_OCN_MELT_ACT_ON_AREA' which may now be achieved using
603       SEAICEareaFormula.
604     - simplify notations for the various d_HEFF/d_AREA terms.
605    o pkg/gmredi:
606     - add Boundary-Value-Problem bolus transport (Ferrari etal, OM 2010) code
607       from Christopher Wolfe (UCSD); add partial cell factor in vertical derivative;
608       add a verification test-run (front_relax.bvp) to test GM_useBVP.
609    o pkg/seaice (seaice_growth v 1.111):
610     - for SEAICE_DO_OPEN_WATER_GROWTH, replace Gael's implementation with Ian's.
611     - the new SEAICE_DO_OPEN_WATER_MELT allows open-water air-sea heat fluxes to
612       also melt ice.
613    o pkg/seaice:
614     - McPhee formula for Ice-Ocean fluxes (provided by Ian Fenty).
615     - can be used by #define MCPHEE_OCEAN_ICE_HEAT_FLUX in SEAICE_OPTIONS.h
616    o pkg/cheapaml:
617     - from Nico Wienders: New version of this package.
618    o pkg/flt:
619     - add CPP options to prevent floats to re-enter the opposite side of
620       a periodic domain (default: keep periodicity)
621    o pkg/gmredi:
622     - apply exchange to GM_PsiX,GM_PsiY to get valid values near CS-corners
623       (needed for multi-dim advection).
624     - switch on GM Advective form in global_ocean.cs32x15 and update output.txt
625    o model/src:
626     - fix wrong re-setting of addMass array (ALLOW_ADDFLUID) for atmospheric run.
627    o tutorial_tracer_adjsens
628     - extend to NLFS and replace maskC by hFacC
629       (change reference output accordingly)
630    
631    checkpoint62r (2011/01/24)
632    o testreport:
633     - add option -deloutp (-do) to remove output file after successful run
634     - add option -mfile (-mf) for MPI machile-file and for each test-exp,
635       extract exact list of procs from this file ; adjust COMMAND by
636       replacing TR_MFILE & TR_NPROC with local machile-file & Nb of MPI procs.
637    o pkg/ecco: replace old ineffective way of penalizing deviations from
638      first guess (of obcs) with code by Matt Mazloff
639    o pkg/ctrl: add code that allows the use of ALLOW_OBCS?_CONTROL without
640      exf/cal
641      - ctrl_init: fix initialisation (computation of diffrec) for obcs-ctrl
642        and handle case of obcs?period == 0
643        Not affected by these changes: There is still an inconsistency in
644        the computation of start/endrec for the obcs variables for ALLOW_CAL
645        defined (see comment by Menemenlis, 7-Mar-2003)
646      - make S/R ctrl_get_gen_rec return something meaningful even if
647        ALLOW_CAL is not defined
648      - ctrl_getobcs?: simplify code so that it does not need to use
649                       S/R exf_swapfields
650    o testreport:
651       allow to test MPI with different number of processors for each experiment:
652       create file "SIZE.h.mpi" in each build dir.
653       Note: update of "-command" argument not yet implemented.
654    o model/src, pkg/autodiff, pkg/ecco, pkg/seaice:
655      alleviate the need for additional 3D tapes when using
656      the non-inear free surface in the adjoint. This is done
657      by adding an 'update' of hfacc etc. to their current
658      value at the beginning of forward_step.F.
659    o pkg/seaice
660      seaice_lsr: move stress-divergence computations out of outer pseudo-
661      timestepping loop
662    o pkg/obcs/obcs_prescribe_read.F: move 'CALL OBCS_EXTERNAL_FIELDS_LOAD'
663      up, so that the calls of the ctrl_* subroutines are really at the end
664      of the routine.
665    o pkg/gmredi:
666      allow to specify a 2-D horizontal map and a 1-D vertical profil
667      as scaling factor for Isopycnal diffusivity (Redi) and GM diffusivity.
668    o pkg/seaice:
669      move lsr iterations from seaice_dynsolver to seaice_lsr.
670    o pkg/seaice:
671      reduce memory footprint of seaice mutldim advection tapes,
672      by using a 2D tape independent of the generic_advdiff ones,
673      and setting GAD_AREA=1 etc. rather than GAD_AREA=101 etc.
674    
675    checkpoint62q (2010/12/29)
676    o model/src:
677      - check horizontal grid-spacing for unset or zero/negative values.
678      - change AD test hs94.1x64x5 to be truly a 2-D set-up.
679    o pkg/flt:
680      - use (recent) mdsio S/R MDS_READVEC_LOC instead of local FLT_MDSREADVECTOR
681      - precision of input and output files set according to readBinaryPrec
682        and writeBinaryPrec (previously always 64.b), pickup remains at 64 bits.
683      - initial float position from tiled file was not converted to index space
684        (looks like a bug): fixed to make it similar to initial pos. global file.
685    o global_ocean.cs32x15:
686       change SIZE.h of AD set-up to get same tiling as with MPI.
687       Update output_adm, output_adm.thsice (pass@14) & output_adm.seaice (fail@11)
688    o model/src:
689       add flag to control printing of domain fields (bathymetry, hFac ...) in
690       ini_mask_etc (call to plot_fieds_xy*).
691    o pkg/thsice:
692       if useEXF, some forcing fields are not valid in overlap: fixed by computing
693       over the interior only + apply EXCH at the end (like with SEAICE advection).
694    o pkg/mdsio:
695      - add 2 arguments to S/R MDS_PASS_R4/8toRL/S for overlap size of buffer
696        to copy to/from, so that it can be used to replace MDS_PASS_WH_R8toRL/RS.
697      - change barrier call for safe multi-threads access to 3-D shared buffer.
698      - MDS_READ/WRITEVEC_LOC use buffers from MDSIO_BUFF_3D.h (instead of local ones)
699      - replace call to MDS_PASS_WH_R4/8toRL with call to MDS_PASS_R4/8toRL and
700        remove the 4 S/R MDS_PASS_WH_R4/8toRL/S.
701    o pkg/flt:
702      - add fourth-order Runge-Kutta integration
703      - add basic exch2 support (only 1 facet supported so far!)
704    o pkg/mdsio+rw:
705      new S/R to read local (or tile independent) vector (read counterpart of
706       mds_writevec_loc, and front-end write_glvec_rl/rs).
707    o global_ocean.cs32x15: additional input_ad.seaice experiment
708        that uses pkg/seaice rather than pkg/thsice.
709        (using multidim advection for seaice)
710    o towards more F95 syntax for array specification in namelist:
711      - change "data.diagnostics" (data.ptracers was changed before checkpoint62p)
712        of all verification experiments.
713           e.g.:    line: fields(1,3)='ETAN    ','ETANSQ  ',
714          was changed to: fields(1:2,3)='ETAN    ','ETANSQ  ',
715      - finish adding "-DNML_EXTENDED_F77" to DEFINES list in pgf77 and g77 optfiles
716    o global_ocean.cs32x15: additional input.seaice experiment
717        that uses pkg/seaice rather than pkg/thsice.
718    
719    checkpoint62p (2010/12/17)
720    o pkg/thsice: rename (ad tape index) iicekey as ticekey, and move it
721        to THSICE_SIZE.h to avoid conflict with pkg/seaice.
722    o pkg/seaice: add seaice_diffusion.f seaice_map_thsice.f to adjoint.
723        allow for use of multim. advection in seaice adjoint.
724    o pkg/seaice: add diagnostics for snow precipitation and sublimation flux
725      - first attempt to close budgets by taking into account the freshwater
726        flux implied by the sublimation of snow and ice. So far only the
727        volume budget is closed, turn on with soon-to-be-retired-again CPP-Flag
728        SEAICE_ADD_SUBLIMATION_TO_FWBUDGET
729    o eesupp/src:
730      new S/R with new option (NML_EXTENDED_F77) to change array specification
731      from F95 standard to commonly accepted extended F77 form.
732      This would allow to use F95 syntax in namelist (needed with gfortran 4.4.5)
733      and to revert back to the original syntax (with -DNML_EXTENDED_F77)
734      for less tolerant f77 compiler (e.g., pgf77, g77).
735    o globalFiles:
736      commented out in parameter file "data" since it's not safe with MPI
737      (e.g., wrong on aces); keep it if useSingleCpuIO=T (but not doing much
738      in this case); no longer commented out in restart test (tst_2+2).
739    o add adTapeDir to specify a special directory where adjoint tapes are
740      written/read (adread_adwrite.F). adTapeDir is specified in data/PARM05
741      and cannot be used together with mdsioLocalDir.
742    o nesting pkgs:
743      - packages_init_variables : put call to OBCS_INIT_VARIABLES in last position
744      - update Gianmaria's Nesting pkgs (from Contrib/nesting_sannino)
745      - add parameter files + utils dir + output from short run on beagle.
746    o pkg/seaice:
747        fix seaice_growth.F store directives; update results of exp. lab_sea.ad
748    o pkg/seaice: explicitly store tsurfloc in seaice_solve4temp.F to avoid
749      unnecessary copying in adjoint code, requires new parameter NMAX_ITER
750    
751    checkpoint62o (2010/11/25)
752    o pkg/exf:
753      - change CPP option EXF_VERBOSE to run-time logical param exf_verbose.
754    o pkg/seaice:
755      - seaice_ocean_stress: split a loop for better vectorization of the
756        adjoint code
757      - seaice_growth.F: fix bug in conservation of freshwater connected to
758        capping of heff, put contribution into d_HEFFbyNEG
759      - replace irritating parameters SEAICE_latentWater/Ice and SEAICE_sensHeat
760        by something more sensible (parameters that are what their name implies)
761      - change some defaults, so that by default exf-parameters are used for
762        things like rhoAir, cpAir,latent/sensible heat parameters, in order
763        to reproduce the old results, many data.seaice now contain funny values
764        for cpAir and latent heat of sublimation
765    o packages_readparms.F: move exf_readparms up in line so that
766        exf-parameters are visible for other packages (e.g. seaice)
767    o debugMode & debugLevel=2:
768      - differentiate between debugMode & debugLevel=2:
769        debugMode: controls printing of debug messages (sequence of S/R calls).
770        debugLevel: controls printing of algorithm intermediate results and stats.
771      - remove "if debugLevel=2 => debugMode" but keep "debugMode =>  debugLevel=2";
772        => allows to print debug-stats without all sequence of call messages.
773      - switch control of debug print from debugLevel to debugMode in many S/R.
774    o pkg/obcs (obcs-sponge):
775        fix bug that was introduced on Oct 25 (in dynamics.F v1.151): put back the
776        call to OBCS_PRESCRIBE_EXCHANGES (need to exch gU,gV when using obcs-sponge)
777  o pkg/generic_advdiff:  o pkg/generic_advdiff:
778    - record overlap minimum size for each advection scheme;    - record overlap minimum size for each advection scheme;
779    - refine criteria on overlap minimum size;    - refine criteria on overlap minimum size;

Legend:
Removed from v.1.1335  
changed lines
  Added in v.1.1491

  ViewVC Help
Powered by ViewVC 1.1.22