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

Legend:
Removed from v.1.1435  
changed lines
  Added in v.1.1516

  ViewVC Help
Powered by ViewVC 1.1.22