/[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.1442 by gforget, Wed May 25 23:56:29 2011 UTC revision 1.1533 by jmc, Thu Nov 10 21:04:47 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 model/src/do_oceanic_phys.F:
8      - reset addMass to zero only if useICEFRONT ;
9      - separated k-loop for rhoInSitu calculation ;
10      - add 2 diagnostics for wVel*delta^k(Rho) at constant pressure (= WdRHO_P)
11        and at constant T,S (= WdRHOdP);
12      NOTE: change diagnostics WRHOMASS : this is now simply the Vertical transport
13        of In-Situ Density (Anomaly) (=wVel*rho^bar-k) (previously was Vertical
14        transport of locally-referenced potential density);
15        to recover old diag: (WRHOMASS)_old = (WRHOMASS)_new -1/2 * (WdRHOdP)
16    o gluemnc:
17      - replace ncrcat with ncks when adding variables to *.glob.nc
18      - change the way variables without record dimensions are handled so that
19        files that have variables with and without record variables can be glued:
20        add a record dimension with a new unique name to be able to differentiate
21        between variable with and without a-prior record dimensions. Remove
22        this record dimension before adding the variable to the *.glob.nc file.
23        This procedure automatically works also for grid.*.nc files that do not
24        have any record dimension.
25    o verification/cpl_aim+ocn:
26      - generate new reference output on baudelaire (gfortran, mpich2) (previously
27        from old aces-grid cluster, ao + ifort) and update 'run_cpl_test' script.
28    o pkg/obcs/obcs_calc_stevens.F:
29      - add code for northern and southern boundaries.
30      - reorder some loops to save some operations and so that drFBar can be scalar
31    o model/src:
32      - re-arrange extrapolation calculation in Adams-Bashforth S/R (affects machine
33        truncation) and add diagnostics for Adams-Bashforth tendency increment.
34      - update test-exp. AD output:
35        1D_ocean_ice_column, bottom_ctrl_5x5, lab_sea.noseaicedyn, obcs_ctrl;
36      and FWD output: exp4 (x3), fizhi-cs-32x32x40, fizhi-cs-aqualev20,
37        front_relax (x3), global_ocean.90x40x15 (x2), global_ocean.cs32x15 (x5),
38        global_ocean_ebm, ideal_2D_oce, internal_wave, isomip (x3), lab_sea (x4),
39        matrix_example, MLAdjust (x5), natl_box (x2), tutorial_advection_in_gyre,
40        tutorial_global_oce_in_p, tutorial_global_oce_latlon and
41        tutorial_plume_on_slope.
42    o pkg/diagnostics/diagstats_calc.F: add special code for TARGET_NEC_SX
43      that vectorises. This code uses 3 extra 2D fields, F90 array assignments
44      and F90 intrinsic routines SUM, MINVAL, MAXVAL, but since TARGET_NEC_SX
45      does not even come with an F77 compiler anymore, this should not be
46      a limitation
47    
48    checkpoint63e (2011/11/06)
49    o pkg/seaice adjoint of LSR:
50      - substantially rework STORE dirs.
51      - add new flag SEAICE_LSR_ADJOINT_ITER and parameter SOLV_MAX_FIXED
52        this flag will do SOLV_MAX_ITERS but only store SOLV_MAX_FIXED fields
53        and only perform SOLV_MAX_FIXED adjoint iters.
54        If flag SEAICE_LSR_ADJOINT_ITER is undef-ined, the store in the iteration
55        always goes to same record, meaning that the last forward field will be
56        the one used in the adjoint - an approximation.
57      - now produces non-zero LSR-related gradients, and acceptable gradients for
58        An's zonal (x-z) test case (to be checked in)
59      - lab_sea: produces acceptable gradients for lab_sea with forward/backward LSR
60        (but these are screwed up by the thermodynamics in the first place);
61        reduce from 4 to 3 timesteps to avoid t.d. issue as temporary solution;
62        output_adm.txt also reflects changes to seaice_lsr
63      - global_ocean.cs32x15:
64        * the "default" input_ad.seaice has been re-defined to always exclude dynamics
65          (output_adm.seaice.txt was updated)
66        * new input_ad.seaice_dynmix tests a forward LSR / backward free-drift
67          (output_adm.seaice_dynmix.txt)
68    o test-exp. exp4+stevens:
69      - switch off pTracers and nonHydrostatic (restart problems with NH); update output
70    o pkg/seaice (lsr solver):
71      - put coriolis term into FORCEX,Y (as in seaice_evp.F; previously in rhsU,V only);
72        update output (change truncation) of FWD test exp lab_sea & global_ocean.cs32x15
73      - fix SEAICEuseFREEDRIFT for new OBCS version (ndef OBCS_UVICE_OLD)
74      - new parameter "LSR_mixIniGuess" allows (if=2,4) to mix free-drift solution
75        into initial guess for linearised solver; use weight ~ (1/err)^2,4.
76      - compute (with new S/R) and print initial (+ free-driff sol. if available)
77        and final residual of linearised system.
78    o pkg/pp81: add diagnostics for vertical eddy viscosity and diffusivity
79      (requires new subroutines pp81_init_fixed.F/pp81_diagnostics_init.F)
80    o pkg/obcs: Stevens BCs (still only for east and west)
81      - fix Stevens BCs by using intermediate velocities of previous
82        time step as "baroclinic" contribution rather velocity of one grid cell
83        inside the boundaries; more consistent but makes the entire treatment
84        more complicated, requires new pickup files and two new S/Rs:
85        obcs_copy_uv_n and obcs_save_uv_n
86        keep old version with flag OBCS_STEVENS_USE_INTERIOR_VELOCITY
87        (undefined by default)
88      - silently move computation of some grid factors into separate loops to
89        save some recomputations
90      - add a hack for non-linear free surface
91      - add a verification experiment to exp4 that tests this code
92    o make gluemnc/xplodemnc work with (moron) non-GNU shell tools
93    
94    checkpoint63d (2011/10/25)
95    o pkg/obcs + seaice-dynamics:
96      - new implementation calls OBCS_APPLY_UVICE (in seaice_dynsolver.F) before
97        solving for uIce,vIce and prevent SEAICE_LSR or SEAICE_EVP to modify OB
98        values (consistent with an implicit method).
99      - add option OBCS_UVICE_OLD (in OBCS_OPTIONS.h, defined by default) to
100        return to older implementation (same results as before); note that none of
101        the "experimental" OBCS_SEAICE options are implemented in the new version.
102      - switch test exp. seaice_obcs to use new version (update output).
103    o pkg/seaice:
104      - add few stop (B-grid & CS-exch, B-grid & obcs, AUTODIFF & SEAICE_maskRHS)
105      - add parenthesis in Water-Ice drag calculations (evp & lsr);
106      - in seaice_lsr.F, simplify and fix AA3 setting in case sNx or sNy=1;
107        and fix case SEAICE_waterDrag=0 (but unstable if no or little seaice)
108      - update output of test exp lab_sea that uses evp or lsr (fwd+ad)
109        and global_ocean.cs32x15 (icedyn & seaice fwd+ad).
110    o pkg/layers:
111      - Include potential density as new coordinate (Thanks to David Munday)
112    o pkg/dic:
113      - Remove subroutine CALC_PCO2_APPROX_CO3 from carbon_chem.F and add
114        carbonate computation/output to CALC_PCO2_APPROX
115    o pkg/generic_advdiff
116      - make TAF generate code that vectorizes:
117        gad_dst3fl_adv_*.F, gad_u3c4_impl_r.F
118    o model/src:
119      - improve vectorization also for adjoint code of
120        solve_tridiagonal and solve_pentadiagonal. As this requires up to
121        5 new 3D-fields, this code is only turned on for the combination of
122        ALLOW_AUTODIFF_TAMC and TARGET_NEC_SX. Also remove error message
123        for singular matrix check (only for TARGET_NEC_SX).
124      - remove hard-wiring of CPP-flag ALLOW_SOLVERS_KLOOPINSIDE to
125        ALLOW_AUTODIFF. This flag now needs to be set outside of
126        solve_tri/pentadiagonal.F
127    o pkg/exf:
128      - fix previous modif in exf_readparms.F (revision 1.66: treatment of
129        optional namelist EXF_NML_OBCS).
130      - add many debug-print (to trace down where pkg/cal error msg comes from)
131    o pkg/mom_vecinv/mom_vi_hdissip.F
132      - rearrange loops so that vectorization is improved and in particular
133        the adjoint routine vectorizes. The code is a little longer now, but I
134        think easier to read.
135        Note: CPP-flag MOM_VI_ORIGINAL_VISCA4 is not tested.
136    o pkg/seaice:
137      - allow to specify initial seaice velocity from files (uIceFile,vIceFile)
138    o pkg/exch2:
139      - alternative code (without tile x tile matrix) for cumulated (global) sum;
140        used as default; keep using matrix version in adjustment.cs-32x32x1.
141    o tools/build_options:
142      - after merging some MPI and/or multi-threads specific optfiles so that
143        the modified default optfile support both built (using genmake2 -mpi
144        for the MPI built, using genmake2 -omp for OpenMP built),
145        move now obsolete optfiles to tools/build_options/unsupported/
146       (add copy of email sent to support list in doc/optfiles_changes.txt)
147    
148    checkpoint63c (2011/09/28)
149    o pkg/ebm:
150      - fix ebm_zonalmean.F for several procs in Ydir (nPy > 1); update output of
151        test exp. global_ocean_ebm (affects machine truncation, 12 digits for cg2d)
152    o pkg/seaice (SItracer pickup)
153    * Simple code for pickup of SItracer fields (#define ALLOW_SITRACER)
154      To be done:
155      - thorough testing of missing fields in S/R seaice_read_pickup
156      - thorough matching between generic tracers and specific fields used
157        (e.g. volume-weighted age, area-weighted age, salinity, ...)
158    o pkg/grdchk:
159      - all procs calculate and print finite-difference gradient (for testreport)
160      - change description output used by testreport;
161      - AD testing: also compare and report Finite-difference gradient;
162        => update all output_adm*.txt
163    o test exp. global_ocean_ebm:
164      - switch back useRealFreshWaterFlux (no problem anymore with run-off);
165        and turn on exactConserve; update (fwd) output.
166    o pkg/seaice (LSR):
167      - print to STDOUT number of solver iterations at SEAICE_monFreq interval.
168      - modify solver to deal cleanly with u/v switch at face edges (CS-grid):
169        * identical results with non-CS topology (but save up to half of EXCH calls)
170        * no much changes in cs-32 verification tests since no ice at face edges
171         (differences due to convergence criteria, since nb of iterations changed)
172        * expect some differences on lat-lon-cap grid.
173        update FWD results of global_ocean.cs32x15 test exp. (icedyn & seaice)
174    o pkg/exch2:
175      - add new CPP option to disable Cumul-Sum matrix (to save storage when using
176        many tiles); until alternative coding is added, just add a stop.
177    o pkg/kpp:
178      - move ptracer/salt correction to KPP diffusivity from calc_3d_diffusivity.F
179        to S/R KPP_CALC_DIFF_PTR (+ add tracer-index to argument list).
180    o optfiles:
181      - merged few MPI specific (*+mpi*) and multi-threads specific (*+mth) optfiles
182        into corresponding standard one, which now support different build:
183        (when using "genmake2 -mpi" for MPI built, "genmake2 -omp" for OpenMP built)
184      - add "darwin_amd64_gfortran" optfile (initially from Constantinos, tested by Gael)
185    o pkg/obcs (seaice):
186      - add missing EXCH for uIce,vIce after applying OBCS;
187      - remove S/R EXF_SWAPFFIELDS_X/Y , disable S/R EXF_SET_OBCS_X/Y by adding
188        argument = number of levels to S/R EXF_SWAPFFIELDS_XZ/YZ and S/R
189        EXF_SET_OBCS_XZ/YZ ; update obcs_exf_load.F;
190      - fix EXF_SET_OBCS_XZ/YZ for multi-threaded (assuming loaded arrays are shared)
191      - verification exp. seaice_obcs: split domain in 2 tiles ; add SIZE.h_mpi
192        and eedata.mth for MPI and mutlti-threaded testing.
193    o pkg/flt:
194      - make FLT EXCH working with multi-threads (and MPI + multi-threads);
195      - use buffer for floats IO (trajectories & profiles); size set in FLT_SIZE.h;
196      - fix pickup and trajectories + profiles output with multi-threads;
197      - add parameter to select group of fields to write along trajectory and
198        profile (default unchanged);
199      - only call PORT_RAND* function when flt_noise <> 0;
200      - add multi-threaded test for verification exp. flt_example.
201    o eesupp/src:
202      - fix S/R ALL_PROC_DIE for MPI+multi-threads.
203      - USE_OMP_THREADING: check that number of threads (from eedata) matches
204        actual number (from env.var. setting).
205    o pkg/ebm:
206      - fix multi-threading in ebm_area_t.F ; clean-up EBM.h header file.
207      - add multi-threaded test for verification exp. global_ocean_ebm
208    
209    checkpoint63b (2011/08/29)
210    o pkg/ebm:
211      - fix sign of runoff;
212      - update directly forcing fields (Qnet,EmPmR) to use standard
213        external_forcing_surf.F (remove ebm_forcing_surf.F);
214      - avoid loading forcing fields a 2nd time (1rst time from ini_forcing.F);
215      - set either tauThetaClimRelax (in data) or tauThetaZonRelax (in data.ebm)
216        and apply relaxation towards corresponding SST field (2-D map or ZonAver).
217      - update global_ocean_ebm parameters file data and update output (fwd+ad).
218    o verification/matrix_example:
219      - split domain in 8 tiles (2x4); add SIZE.h_mpi and eedata.mth for
220        MPI and mutlti-threaded testing.
221    o pkg/matrix:
222      - change name of S/R MATRIX_INIT to S/R MATRIX_INIT_VARIA ;
223      - fix for multi-tiles (add bi,bj indices to exp/impMatrixCounter);
224      - fix for multi-threaded (remove DATA statement);
225      - use standard DIFFERENT_MULTIPLE function;
226      - add MATRIX_OPTIONS.h
227    o verification/matrix_example:
228       To allow to split the domain in several tiles, change the domain size
229        from 31x31 to 32x32 by adding 1 row (on Southern side) + 1 column (on
230        Western side) of land points.
231    o (*_)write_pickup:
232      - fix few bugs in mypackage_read/write_pickup.F
233      - in MDS_WR_METAFILES calls, replace "myTime" by a local copy into
234        array of length 1 (was caught by compiler syntax-check).
235    o pkg/diagnostics (velocity potential solver):
236      - fix initialisation of main diagonal matrix (for overlap values)
237    o tools/build_options:
238      - towards single optfile for MPI and non-MPI built: merge few +mpi optfile
239        into previously non MPI one (linux_am64 pgf77,open64,pathf90,ifort11)
240      - linux_amd64_gfortran: merge +mpi_generic version into standard optfile:
241        * move IEEE flags to DEVEL section; take IEEE flags from +mpi_generic ;
242        * FAST case: for now, keep -O3 with ini_masks_etc.F in NOOPTFILES list;
243        and use "-devel" testreport option for standard testing on baudelaire.
244    o pkg/grdchk:
245      - Assume that all gradient-check position are within the same tile
246        corresponding to global indices (iGloTile,jGloTile) and that
247        positions (i,j indices or nbeg) are local to this tile;
248      - set tile local-indices and proc. number according to tile global-indices;
249      - remove grdchkwhichproc from namelist (retired param);
250      - send adjoint gradient to all procs so that all procs print it to STDOUT;
251      - switch on MPI test for global_ocean.90x40x15 AD test experiment.
252    o adding package bbl (Bottom Boundary Layer)
253      description in MITgcm/pkg/bbl/bbl_description.tex
254      example/test experiment in MITgcm_contrib/bbl
255    o adjoint verifications
256      - changed 5 experiments to multi-tiles
257        * global_ocean.90x40x15
258        * obcs_ctrl
259        * offline_exf_seaice
260        * tutorial_dic_adjoffline
261        * tutorial_tracer_adjsens
262        changed reference output for those that crossed tile boundaries
263        (changed choices of gradient check positions)
264      - with same tiling, switch on MPI test for the last 4 (add SIZE.h_mpi)
265      - temporary bug fix in grdchk_loc.F for obcs
266    o genmake2 & testreport
267      - add target "obj" (just for OBJFILES files) to Makefile;
268      - add option to specify FEXTRAFLAGS on command line.
269    o pkg/mypackage:
270      - remove bi,bj arguments from argument list of S/R MYPACKAGE_CALC_RHS
271    
272    checkpoint63a (2011/08/02)
273    o pkg/diagnostics (velocity potential):
274      - fix velocity-potential calculation when using OBCS: balance net inflow
275        at each level (new S/R OBCS_DIAG_BALANCE).
276      - fix some of the problems with OBCS in stream-function calculation.
277    o pkg/exf/exf_readparms.F
278      - make treatment of optional namelists (EXF_NML_04, EXF_NML_SGRUNOFF,
279        EXF_NML_OBCS) more consistent, so that you need not have these lists
280        in data.exf when they are not used.
281    o optim/optim_readdata.F:
282      - add some output about obcs variables that might help debugging
283      - add a check about nvarlength
284    o pkg/ctrl: once again, fix computation of endrec in s/r ctrl_init_rec
285    o pkg/diagnostics (velocity potential):
286      - fix mask for OBCS (still problems in stream-function with OBCS);
287      - add specific parameter (default = main code CG2D params) for solver;
288      - in case of poor convergence, use solution corresponding to lowest residual.
289    o pkg/seaice/seaice_growth.F: small changes that permit vectorizable
290      adjoint code. In general statements like tmpscal=fld(i,j) are problematic
291      and should be avoided where possible.
292    o model/src (rStar):
293      - include r* effect on reference-state (PhiRef) in totPhiHyd
294        (so that it's really the potential anomaly at the cell center);
295        affect solution only if z* with full pressure in EOS.
296      - test-exp global_ocean.90x40x15: reduce viscA4 (was not stable) and
297        update output (because of z* in totPhiHyd and viscA4 changes);
298      - keep the previous diagnostics as "PHIHYDcR" (closer to potential anomaly
299        @ constant r) until interpolation at constant r is implemented.
300    o pkg/diagnostics
301      - fix RCENTER diagnostics in case cell center is not at interface middle
302    o add code for TEOS-10 (www.teos-10.org, McDougall et al. 2011). Use
303      this eos with eosType = 'TEOS10', in data (PARM01). This eos implies
304      that THETA and SALT are "conservative temperature" and "absolute
305      salinity"
306    o pkg/ctrl
307      - fix computation of endrec in s/r ctrl_init_rec
308      - ctrl_pack/unpack_*: remove unused variables and some obsolete code
309    o pkg/seaice/seaice_growth.F
310      - fix recomputation with FENTY_AREA_EXPANSION_CONTRACTION code,
311        remove then obsolete STORE directives
312      - fix STORE directives for tice and tices, so that only the
313        appropriate part of the fields are stored (and not the entire
314        field); update global_ocean.cs32x15.seaice AD output.
315      - cosmetic changes: adjust CPP flags and indentation for better
316        legibilty
317    o pkg/autodiff: add mnc-output of adBottomDragFld (code contributed by
318      Chris Wilson)
319    o pkg/gmredi:
320       Add Sub-Meso Eddies parameterisation from Baylor (for now, disabled with TAF),
321       and test it in verification exp. "front_relax.bvp" (update output.bvp.txt)
322    
323    checkpoint63  (2011/07/11)
324    o pkg/exch2:
325     - rename+move: nTiles in W2_EXCH2_PARAMS.h --> exch2_nTiles in W2_EXCH2_TOPOLOGY.h
326     - exch2 version of Cumul-Sum routine: S/R W2_SET_MAP_CUMSUM set up the
327       (2*nTiles)x(nTiles) Cumul-Sum matrix and Master Proc collects all tiles X,Y
328       increments, calculates Cumul-Sum @ tile origin and sends results to each tile.
329    o pkg/diagnostics:
330     - deal with pairs of post-processed diags which are computed together; in
331       particular, re-order list of diags within 1 file to save 2nd computation.
332     - add S/R to compute velocity stream-function (called after velocity-potential
333       calculation) from divergence free transport -> new diagnostics "PsiVEL".
334     - add parameter to select grid-point location where PsiVEL == 0.
335    o eesupp/src:
336       new S/R to calculate cumulated sum on tiled array, corner grid-cell location
337       (specific S/R needed with exch2 topology - for now, just print an error msg)
338    o pkg/shelfice
339     - Implement friction velocity-dependent transfer coefficients following
340       Holland and Jenkins, JPO, 1999
341       Original code by M. Losch with small modifs.
342       Enable with CPP option SHI_ALLOW_GAMMAFRICT
343       and runtime flag SHELFICEuseGammaFrict
344    o verification lab_sea & global_ocean.cs32x15:
345     - use tools/xmakedepend (instead of cyrus_makedepend, in genmake_local):
346       does not miss some dependencies (but is slower) and also works with many files
347       (default makedepend limitation for AD built).
348     - use cyrus_makedepend in adjustment.128x64x1 (so that it still tested).
349    o pkg/diagnostics:
350     - add run-time parameter "useMissingValue" (def=False) to fill land-point
351        (i.e., where mask=0) with MissingValue ; used only in MNC output file.
352       This replaces CPP-option DIAGNOSTICS_MISSING_VALUE.
353     - Extend the use of "missing_value" setting from data.diagnostics for the case
354       of counter-diagnostics (where fraction-weight is zero). This applies both to
355       MNC and MDS output files.
356    o pkg/seaice/seaice_growth.F:
357      - add 'a priori' cap of latent heat flux based on actual mass considerations
358        when SEAICE_ADD_SUBLIMATION_TO_FWBUDGET is used in conjunction with the
359        non-legacy seaice_solve4temp.
360      - add diagnostic of the residual sublimation freshwater flux (the freshwater
361        flux taken from the ocean if the total actual latent heat fluxes exceed
362        the maximum)
363      - remove the CPP switch around the *_FWbySublim unit change and move diagnostic
364       fill for SIatmQnt, SIfwSubl, SIatmFW to the end of seaice_growth.F.
365      - add diagnostic of the actual sublimation freshwater flux (that is 0. ifndef
366       SEAICE_ADD_SUBLIMATION_TO_FWBUDGET) and of the latent heat flux (evap+sublim).
367      - bug fix : frWtrAtm needs a_FWbySublim ifdef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET.
368      - bug fix : missing part to Martin's r_FWbySublim pathological case fix.
369    o verification 1D_ocean_ice_column:
370       made model domain truly 1x1x23 instead of 5x5x23 with only center cell (3,3,:) wet
371       update results
372    o pkg/diagnostics:
373     - Implement setting of "Post-Processed" diagnostics (corresponding to gdiag(5)='P')
374       which are not filled-up but computed from other diags ; In this case, the mate
375       diag points to the primary (filled-up) diag to used for post processing.
376     - Update Velocity-potential computation using post-processed diag framework.
377     ==> Change the ordering of fields and time-periods in MDS output file
378       when using periodic averaging: now writes one time record with the full set
379       of fields for this time period, then the next time reccord (it used to be
380       one field with the full set of time records then the next field).
381         Note: this is now similar to NetCDF (MNC) output file. <==
382    
383    checkpoint62z (2011/06/21)
384    o adjoint monitor:
385     - Add adjoint monitor output for packages exf, seaice
386       and update relevant testreport output
387    o pkg/seaice:
388     - re-order diags inits so that they appear in order in available_diagnostics.log
389     - added diags: hsnow thermo. rates of change, area preceeding ridiging process,
390       area/heff/hsnow preceeding thermodynamic growth/melt.
391     - modified diag: SIdA; output actual effect, as the description states.
392     - modified description: SIqneti, SIqneto, SIuheff, SIvheff, SIdAb*, HSNOW.
393     - retired redundant diags: SIyneg, SIfice, SIsnwice, SIthdgrh.
394       (SIyneg->SIdHbOCN; SIfice->SIdHbATC; SIsnwice->SIdHbFLO;
395        and SIthdgrh->SIdHbOCN+SIdHbATC+SIdHbATO)
396     - modified diags (2) : switch all SIdA*, SIdH*, SIdS* from delta to rates.
397     - added diagnostics for seaice generic tracers (SItr*).
398     - added SItrUnit and SItrNameLong run time param (for SItr* diags).
399     - in diag names, replaced 'PrTh' abbrev. of 'preceeding thermo' with 'PT'.
400     I. Fenty: 18-Jun-2011:
401     Minor changes to seaice package:
402     1) Retired old variables (A22, SEAICE_lhsublim, areaMax, areaMin, hiceMin) and
403        added some new ones (SEAICE_area_reg, SEAICE_hice_reg, SEAICE_area_floor)
404       - Differentiated "regularization variables" from "floor variables"
405        * areaMin became SEAICE_area_reg (old A22) and SEAICE_area_floor
406        * hiceMin became SEAICE_hice_reg (old hiceMin)
407          (with _reg meaning regularization variable)
408       - SEAICE_lhSublim becomes lhSublim, the sum of SEAICE_lhEvap and SEAICE_lhFusion
409        so as to ensure energy conservation when going between phases
410      - A22 was not used anywhere
411     2) Changed regularization procedure for heffActual and hsnowActual to ensure
412        well-boundedness and smooth adjoint in seaice_growth.F
413     3) Fixed a bug where seaice_solve4temp would not recognize ice-free grid cells
414        because the old regularization always set heffActual >= 0.05 cm
415     4) Changed the model so that the default behavior is to put a small (10^-5) "floor"
416        on AREA when HEFF > 0.
417      - went from requiring ALLOW_PRECLUDE_INFINITESIMAL_AREA to be defined to
418        requiring that DISABLE_AREA_FLOOR *not* be defined
419     Affected verifications:
420      - 1D_ocean_ice_column (output.txt output_adm.txt)
421      - global_ocean.cs32x15 (output.seaice.txt output_adm.seaice.txt)
422    o pkg/diagnostics:
423      - move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R).
424      - rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument
425        (was _RL, now integer) with option = 0 to retrieve all levels.
426      - add pieces of code to compute velocity potential at each level (new diagnostics
427        PhiVEL, works only when UVELMASS & VVELMASS are also turned on);
428        for now, using same params as CG2D (target-resisual, max Nb of iter ...).
429      - fix few issues with counter diagnostics in diagnostics_setdiag.F &
430        diagstats_setdiag.F (if diagnostic counter is itself a counter diag)
431        and in diagnostics_fract_fill.F (do not need a valid pointer for the
432        diagnostics counter-mate); check that definition of counter-diagnostic
433        includes a valid counter-mate (in diagnostics_set_levels.F).
434    o model/src (rStar):
435      - add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F);
436        affect solution only if z* with full pressure in EOS;
437        update output of test-exp global_ocean.90x40x15.
438    o pkg/seaice:
439      - introduce siEps=1e-5 parameter
440      - use areaMax in AREA update (part 4), consistent with ridging step (part 2.5).
441      - re-organize SEAICE_ADD_SUBLIMATION_TO_FWBUDGET code.
442      - introduce ALLOW_SITRACER and seaice_tracer_phys.F to handle generic seaice tracer.
443        For now it covers, and was tested for, ice salinity and age (attached to HEFF),
444        as well as ice cover age and ridging index (attached to AREA).
445        For now the run time parameters (in data.seaice/SEAICE_PARM03) are
446        SItrName (e.g. 'age') and SItrMate ('HEFF', which is the default, or 'AREA').
447        Up to SItrMaxNum=3 tracers can be used simultaneously.
448    o pkg/salt_plume:
449      -introduce SPsalFRAC run time parameter that sets the fraction of the
450       salt by-product of ice growth (SPsalFRAC*(1-SIsalFRAC)*salt typically)
451       that gets vertically redistributed (fluxed down) by pkg/salt_plume.
452    o model debug options:
453      - Switch reading of debugMode from S/R INI_PARMS (parameter file "data", stored
454        in PARAMS.h) to S/R EESET_PARMS (parameter file "eedata", stored in EEPARAMS.h).
455      - Refine debug-msg printing selection (3 new levels):
456        debugMode  : controls printing of debug messages (sequence of S/R calls).
457        debugLevel : controls printing of algorithm-relevant auxiliary/debug messages
458         debLevZero =  0 ; /* level of disabled aux. msg printing */
459         debLevA =  1 ; /* level of minimum  aux. msg printing */
460         debLevB =  2 ; /* level of low aux. print (report read-file opening)*/
461         debLevC =  3 ; /* level of moderate debug prt (most pkgs debug msg) */
462         debLevD =  4 ; /* level of enhanced debug prt (add DEBUG_STATS prt) */
463         debLevE =  5 ; /* level of extensive debug printing */
464        New debugLevel default: with default debugMode value (=F),
465          = 2 (debLevB) or = 1 (debLevA) in case ALLOW_AUTODIFF is defined.;
466          and if debugMode=T, default debugLevel = 4 (debLevD).
467        Relation with previous settings:
468         debLevB (=2) corresponds to former debLevA (=1)
469         debLevD (=4) corresponds to former debLevB (=2)
470        Note:
471         a) if debugLevel=0, skip WRITE_GRID call when nIter0 > 0 (same as before);
472         b) default debugLevel=1 is convenient in AD runs (avoid many file opening msgs);
473            to recover previous default, set debugLevel=2 (e.g. AD-test hs94.1x64x5)
474      - Add new parameter (printResidualFreq, read from PARM02 namelist) to print
475        detailed CG solvers convergence; off (=0) by default, except if debugLevel=5.
476    o pkg/obcs:
477      - change OBCSfixTopo default from True to False (should not change the results);
478        keep OBCSfixTopo=T in verification-exp. seaice_obcs.
479    o pkg/thsice:
480      - fix bug in thsice_calc_thickn.F (was introduced in version 1.18) in
481        2nd layer seaice sublimation (unlikely to happen)
482      - use Interior mask for OBCS in thsice_advection.F (similar to what is
483        done in gad_advection & seaice_advection).
484    o adjoint:
485      bug fix spotted by Gael Forget:
486      seaice_advection and thsice_advection still had
487      legacy CPP options to avoid CS corner updates for adjoint
488    o pkg/seaice:
489      => Change some of the defaults (2011/05/29):
490         - change SEAICEuseFluxForm default (from False to True)
491         - change DIFF1 default (from 0.004 m/s to 0. m/s)
492         And print warnings if DIFF1 is not set in data.seaice and centered
493          avection scheme is used without any diffusion.
494      also:
495      - fix seaice_diffusion calls in default AdvScheme part of seaice_advdiff.F;
496      - set SEAICEdiffKh[] default in the same way as SEAICEadvSch[]
497      - stop if DIFF1<>0 with SEAICEadvScheme <> 2, if DIFF1<>0 with any
498        other non-zero SEAICEdiffKh[] diffusivity, if SEAICEadvSalt=T with
499        #undef SEAICE_VARIABLE_SALINITY, if SEAICEadvAge=T with #undef SEAICE_AGE.
500      update results of test exp.:
501         lab_sea: output.fd (switch to AdvScheme=33 with diffKh=20)
502             output.hb87, output_adm.evp (SEAICEuseFluxForm=T and diffKh=200)
503             output_adm.noseaicedyn (SEAICEuseFluxForm=T)
504         offline_exf_seaice: output.seaicetd, output_adm (SEAICEuseFluxForm=T)
505         seaice_obcs: output (SEAICEuseFluxForm=T)
506      and prescribe old default for SEAICEuseFluxForm (=F) and DIFF1 (=0.004)
507          for standard fwd & AD lab_sea tests (to keep the same output).
508    o pkg/seaice/seaice_growth.F:
509      - use Ian Fenty's capping formulas for actual ice
510      thickness thoughout EVOLUTION branch.
511      - put treatment pathological case #2) in CPP brackets
512      (ALLOW_AVOID_INFINITESIMAL_AREA, undef by default).
513      - update global_ocean.cs32x15 and 1D_ocean_ice_colum results accordingly.
514    o pkg/seaice:
515      - seaice_diffusion.F : remove the min(DX,DY) factor permanently;
516      pass the Laplacian diffusivity (in m^2/s) diffKh as a parameter;
517      also pass fac as a param, which can be 1. (to update the tendency
518      field) or the time step (to update the field itself).
519      - seaice_advdiff.F: for multidim, call seaice_diffusion with
520      e.g. SEAICEdiffKhHeff and with fac=1; for single-dim, call
521      seaice_diffusion with e.g. SEAICEdiffKhHeff and with fac=time step.
522      - SEAICE_PARAMS.h, seaice_readparms.F, seaice_check.F :
523      hooks to handle SEAICEdiffKhHeff, SEAICEdiffKhArea, etc.
524    o pkg/seaice:
525      diffusion with centered advection scheme (diffus.F & advect.F):
526      - simplify S/R DIFFUS (put deltaT & DIFF1 factor outside, move EXCH outside)
527        to just compute the laplacian of input-field.
528      - unroll k loop (harmonic,biharmonic diff) in advect.F to save 1 exch call.
529      - fix flux-form version in diffus.F to conserve tracer.
530      update output of lab_sea.fd & lab_sea.hb87 (1rst set of modif affects
531       machine truncation) and lab_sea.salt_plume (conservative flux-form modif)
532    
533    checkpoint62y (2011/05/26)
534  o pkg/seaice:  o pkg/seaice:
535   - seaice_growth.F : in EVOLUTION branch, always include   - seaice_growth.F : in EVOLUTION branch, always include
536     a_QSWbyATM_cover in qnet (as it should be).     a_QSWbyATM_cover in qnet (as it should be).
537   - verification/global_ocean.cs32x15 : update results accordingly   - verification/global_ocean.cs32x15 : update results accordingly
538     (output.seaice.txt output_adm.seaice.txt).     (output.seaice.txt output_adm.seaice.txt).
539  o pkg/seaice + obcs:  o pkg/seaice + obcs:
540   - use maskInW & maskInS in multi-dim advection and biharmonic diffusion:   - use maskInW & maskInS in multi-dim advection and biharmonic diffusion:
541     equivalent of assuming no tracer gradient outside the OB region.     equivalent of assuming no tracer gradient outside the OB region.

Legend:
Removed from v.1.1442  
changed lines
  Added in v.1.1533

  ViewVC Help
Powered by ViewVC 1.1.22