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

Legend:
Removed from v.1.1444  
changed lines
  Added in v.1.1550

  ViewVC Help
Powered by ViewVC 1.1.22