/[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.1738 by jmc, Mon Sep 17 22:32:32 2012 UTC revision 1.1808 by mlosch, Thu Jan 17 09:00:32 2013 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: add a line search option to the JFNK solver
8      - move update of u/vIce and computation of initial residual into a separate
9        routine (same file); makes the code a little easier to read (?)
10      - the line search requires computation of the residual and for some reason
11        I cannot do the update of u/vIce at the beginning of the Newton loop
12        without changing the results, so we move computation of the new residual
13        also to the end of the Newton loop, even without the line search
14    o pkg/mdsio:
15      - write missing value (corresponding to undefined array value) to meta files;
16        skip this if missing value is one (UNSET_RL would be a better value for the
17        case of undefined missing value but it's current the default missing-value);
18        Also update mdsio_read_meta.F (reading timeInterval & missing-value).
19    o pkg/exf & thsice:
20      - for diagnostics purpose, fill-up and update Qsw array (+ fill the diagnostics)
21        even when SHORTWAVE_HEATING is #undef;
22    o verification/cfc_example:
23      - turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to illustrate
24        how to use it).
25    o verification/offline_exf_seaice:
26      in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing
27        files to only one time-record.
28      in input.thermo: narrow the 2 bands of low initial ice-concentration near
29        N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for
30        snapshot output; same mcPheePiston value as in thsice with surf-current=0.2m/s.
31      in input.thsice: similar set-up as in input.thermo (channel with same seaice
32        initial conditions).
33    o verification/cfc_example:
34      - update file "data" with more standard choice (default rotationPeriod,
35        exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F,
36        set deltaTFreeSurf to deltaTtracer) and update the output.
37    o pkg/layers:
38      - fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC;
39      - ensure that "layers_bolus" is switched to False when useGMRedi=False.
40    o verification/offline_exf_seaice:
41      - set all {field}period to zero for constant-in-time forcing (not tested
42        anywhere else).
43    o verification/offline_exf_seaice:
44      - dyn_lsr  : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice;
45      - dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice.
46    o model/src:
47      - implement Finite-Volume method for (hydrostatic) presure gradient
48        from S.-J. Lin (QJRMS 1997), for atmosphere using sigma-coordinate.
49    o pkg/seaice: implement EVP* by Lemieux et al. (2012).
50      - In order to be compatible with the default EVP code, this requires changing
51        the EVP code around a little; and because any small change immediately
52        breaks the lab_sea.hb87 verification experiment, the reference output is
53        updated two times (each time the remaining aggrement was only 2 digits):
54        - after replacing 1/dt by 1*recip_dt with a precomputed recip_dt
55        - after replacing 1/(1+0.5*dt/tau) by a/(a+1), with a=2*tau/dt
56        The adjoint test lab_sea.evp also needed to be updated.
57      - Turn on EVP* by setting SEAICE_deltaTevp as before, and setting
58        SEAICEuseEVPstar=.true.; for EVP* SEAICE_deltaTevp does not need to be
59        a factor of SEAICE_deltaTdyn, and you can set the number of EVP steps
60        explicitly with SEAICEnEVPstarSteps (thereby overriding the default of
61        INT(SEAICE_deltaTdyn/SEAICE_deltaTevp)). Controlling EVP* is deliberately
62        kept obscure, because I need to test it a little more.
63    o pkg/cheapaml:
64      - fix few incorrect type (_RL/_RS) in subroutine calls.
65    o pkg/seaice:
66      - new S/R SEAICE_MAP_RS2VEC (similar to SEAICE_MAP2VEC) to map _RS arrays
67        to _RL vector; this fixes JFNK code when compiling with "-use_r4" option.
68    o model/src:
69      - add a warning if using select_rStar=2 with nonlinFreeSurf <> 4;
70        change (in input_ad*/data) select_rStar from 2 to 1 for AD verification
71        experiments global_ocean.cs32x15 & tutorial_tracer_adjsens (+ update output)
72    o pkg/cheapaml:
73      - replace "273.1 _d 0" by celsius2K in pkg/cheapaml/cheapaml.F and
74        update output of experiment cheapAML_box.
75      - store in CHEAPAML.h coeffs ssq[0:2] for saturation specific humidity,
76        and set them only in one place (cheapaml_readparms.F).
77      - replace "273.16 _d 0" by celsius2K & replace "3.14159 _d 0" by constant "PI"
78      - remove re-setting of main-model parameter "celsius2K" (in cheapaml_readparms)
79        and re-setting of cheapAML params "lath" & "p0" (in cheapaml_init_varia).
80    o model/src/the_main_loop.F:
81      - fix revision 129 : need both ALLOW_ECCO and ALLOW_ECCO_EVOLUTION.
82    o pkg/seaice:
83      - remove legacy branch code.
84      - retire SEAICE_GROWTH_LEGACY and SEAICE_CAP_HEFF accordingly.
85    o verification/*/code*/SEAICE_OPTIONS.h:
86      - remove documentation for retired CPP flags (SEAICE_GROWTH_LEGACY,
87        SEAICE_CAP_HEFF).
88    o pkg/cheapaml:
89      - use standard routine (S/R GET_PERIODIC_INTERVAL) to decide when it is time
90        to load new forcing fields.
91      - add missing "_d 0" where it's needed; + some editing (improve indentation).
92      - remove switch to "-r8" compiler option (no longer needed) in verification
93        cheapAML_box, keep same output (small trucation error differences).
94    o verification/offline_exf_seaice:
95      - add thermodynamics only test.
96    o verification/cheapAML_box:
97      - split the domain in 8 (2x4) tiles; add MPI and multi-threaded test;
98        keep same output (same 14 digits for cg2d).
99      - switch on "-r8" compiler option (some numerical values are missing
100        the "_d 0") and update output (only 6 digits for cg2d were preserved).
101    
102    checkpoint64b (2012/12/24)
103    o pkg/cheapaml:
104      - remove un-used variables (Qnet,EmPmR) from pickup files.
105      - store tendency of advected variables into cheapaml pickup file
106        and fix the AB-2 restart.
107    o verification/offline_exf_seaice and lab_sea adjoint:
108      - switch to new code (#undef SEAICE_GROWTH_LEGACY).
109      - switch to 4 time steps in offline, consistent with lab_sea.
110      - match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice.
111      - update results after change of experiment seaice.
112    o pkg/seaice:
113      - remove option SEAICE_MULTICATEGORY; has been replaced with run-time
114        parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is
115        still defined since SEAICE_multDim needs to be set to MULTDIM value (from
116        SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default.
117    o model/src:
118      - add run-time parameter to select CG2D solver minimum-residual solution
119        (in case of a poor convergence).
120    o pkg/seaice/seaice_lsr.F
121      - move calculation of matrix coefficients into new
122        S/R SEAICE_CALC_LSR_COEFFS; for now this routine remains in the same
123        file; the main purpose of this change is to be able to reuse the code
124        in S/R SEAICE_PRECONDITIONER
125      - modify the computation of the residual so that the mass of sea-ice
126        is not used twice; this simplifies the calculations, but since
127        the residual is never used except when LSR_mixIniGuess.ge.4---and this is
128        not tested in testreport---this does not affect the testreport results.
129    o verification/seaice_obcs:
130      - disable SEAICE_GROWTH_LEGACY; reset input files to match those of
131        verification/lab_sea/input.salt_plume; changes results/output.txt*
132    o model/src:
133      - adapt quasi-hydrostatic formulation to work with p or p* coordinate.
134    o pkg/seaice:
135      - improve description of parameters in seaice_fgmres.F and start
136        cleaning up the code
137      - change name of SCALPROD to SEAICE_SCALPROD and modify meaning of
138        second argument
139      - add a metric based on grid cell area to SEAICE_SCALPROD; update
140        results of offline_exf_seaice.dyn_jfnk
141      - compute initial residual norm in seaice_jfnk based on SEAICE_SCALPROD
142    o pkg/aim_v23:
143      - fix an other bug in dissipation heating (grid-cell area was missing).
144    o model/src + pkg/seaice:
145      - add global (multi-tile) linear solver for pair of tri-diagonal system
146        along X and Y lines, respectively for U and V component.
147        Note: 1) MPI and cube-exchange not yet coded.
148            2) probably not accurate for poorly conditioned / large size problem.
149      - add option for SEAICE_LSR to use global (multi-tile) tri-diagonal solver;
150        default: not compiled and not used.
151    o pkg/seaice:
152      - first attempt at a multi-threaded fgmres solver for the JFNK solver:
153        introduce bi/bj loops and use global_sum_tile_rl instead of
154        mpi_allreduce in seaice_fgmres.F
155      - improve diagnostics output for fgmres solver (seaice_fgmres.F)
156      - replace a few unnecessary goto statements by if-blocks  (seaice_fgmres.F)
157      - add a verification experiment for JFNK in offline_exf_seaice
158    o verification:
159      - change (for now, only fwd test) offline_exf_seaice experiment:
160        use a re-entrant channel with idealized coastline (trapezoidal shape)
161        at southern boundary to explore seaice dynamics and thermodynamics
162        with simple forcing. Main set-up has dynamics+thermo and SST relaxation;
163        secondary test (input.thsice) use thermodynamics only with SST relaxation.
164      - add seaice-dynamics only secondary test using LSR and pkg/thsice advection.
165    o pkg/exf:
166      - disable "sstExtrapol" when Nr=1
167    o verification:
168      - add new experiment "cheapAML_box" (simple 1 layer set-up from Bruno Deremble)
169        to test pkg/cheapaml.
170    o pkg/aim_v23 & pkg/shap_filt:
171      - fix dissipation heating (erroneous gravity multiplication factor).
172    o pkg/seaice:
173      - remove unused field pressPre from jfnk solver
174      - rename two subroutines in seaice_preconditioner.F
175    o eesupp/src:
176       - S/R MDSFINDUNIT avoids reserved unit numbers (scrUnit1, eeDataUnit ...)
177    o pkg/seaice/seaice_preconditioner.F: fix preconditioner once again
178       - remove wrong parts of the rhs and the lhs (were in there
179         because I did not understand the concept of this preconditioner)
180       - add an exchange between u- and v-sweep. This increases communication
181         by a factor of two but improves the convergence of jfnk. Ideally,
182         one would like the u- and v-sweep to be independent. So far within
183         undocumented ifdefs
184       - reorganize the extra computations for printing the residuals
185    o tools/genmake2:
186      - comment out the "mpif.h" include in NetCDF test programm (for MPI built)
187        since it's not necessary (and was preventing to use MNC in some cases).
188    
189    checkpoint64a (2012/11/16)
190    o pkg/autodiff:
191      - improve pkg-internal logical parameter switch (inAd/inFwd mode) so that
192        autodiff_readparms.F no longer depends on calling order (within
193        packages_readparms.F) and no longer requires to include ${PKG}_PARMS.h):
194        rename param turnFreeDriftInAdMode to SEAICEuseFREEDRIFTswitchInAd
195        and change param SEAICEuseDYNAMICSinAdMode to SEAICEuseDYNAMICSswitchInAd.
196    o pkg/obcs:
197      - adding tidal velocity forcing capability to obcs
198        for usage example, see verification/seaice_obcs/input.tides
199    o pkg/seaice:
200      - turn the LSR-relaxation parameters WFAU/V into runtime parameters
201        SEAICE_LSRrelaxU/V
202      - introduce runtime parameter SEAICEetaZmethod (=0 by default)
203    o pkg/aim_v23:
204      - implement heating from friction (bottom friction and stratospheric drag).
205    o pkg/shap_filt:
206      - fix diagnostic "SHAP_dKE" (was 2 time smaller); implement heating from
207        dissipation but only for Shap_funct=2, active when addFrictionHeating=T.
208    o model/src:
209      - move AddMass common block from DYNVARS.h to FFIELDS.h; allow to read-in
210        time-constant addMass field from file (addMassFile);
211      - support for heating due to friction (and Kinetic Energy dissipation):
212        add option, run-time switch and 3-D field array + support code ; each pkg
213        or S/R can add heating contribution (if there is a sink of KE); the sum is
214        accounted for as a Temperature tendency term (EXTERNAL_FORCING_T).
215    o pkg/seaice:
216      - complete merge of ITD code into seaice_growth.F
217        from MITgcm_contrib/torge/itd/code/
218        no verification so far, but Torge Martin tested
219        "1-D test case and Beaufort set up;
220        deliver okay results after 1 model year."
221      - complete merge of SEAICE_SIZE.h into all relevant routines
222      - move computation of eta at Z-points into calc_viscosities
223        + introduce global field etaZ
224        + add different methods for computing etaZ, for now the old
225          method (simple averages of eta to Z-points) is hardwired
226        + replace etaMeanZ by etaZ in seaice_lsr, seaice_calc_residual,
227          seaice_preconditioner
228      - simplify computations for SEAICE_ZETA_SMOOTHREG
229      - seaice_preconditioner:
230        + replace one remaining press by pressLoc (mistake)
231        + adjust printing of residuals
232      - improve I/O of diagnostics of JFNK in seaice_jfnk.F:
233        + add (SEAICE.h) and rename some counters (initiliased in
234          seaice_init_fixed.F)
235        + add _BEGIN/END_MASTER (myThid)  around print statements
236        + print total number of iterations and failures over SEAICE_monFreq
237          interval to STDOUT
238      - move control over output-messages by fgmres to seaice_jfnk to save
239        some operations
240      - move resetting initial guess for fgmres outside of seaice_fgmres_driver
241        in order to make restarts with sol .ne. zero (fgmres with restarts)
242        (seaice_jfnk.F, seaice_fgmres.F)
243      - seaice_calc_l/rhs.F: replace maskW/S by maskInW/S; this fixes
244        a serious convergence problem when open boundaries are involved
245    o pkg/ggl90: fix computation of control volumes for the case of
246      ALLOW_GGL90_HORIZDIFF (probably not used very often): move control volumes
247      up half a grid cell from C-centered to W-centered (pointed out by C. Eden)
248    o pkg/seaice: simplify seaice_evp by avoiding use of extra fields u/vIceC
249    o pkg/autodiff
250      - Add inAdMode switch for SEAICEuseDYNAMICS:
251        SEAICEuseDYNAMICSinAdMode
252        (extend logic in ADAUTODIFF_INADMODE_SET)
253    o pkg/seaice
254      - Step 1 of merging ice-thickness distribution (ITD) code from
255        MITgcm_contrib/torge/itd/ (author: Torge Martin)
256        The code implements concept laid out in Thorndike et al. (1975);
257        code is enabled via CPP flag SEAICE_ITD
258        nITD (in SEAICE_SIZE.h) defines number of ice thickness categories;
259        code is not complete yet!!
260      - SEAICE_SIZE.h now included in almost all seaice routines
261    o verification (using seaice):
262      - switch back seaice-dynamics (+ lower SOLV_MAX_ITERS) in ADM exp.
263        global_ocean.cs32x15.seaice ; update results.
264      - compile B-grid dynamics in FW test exp 1D_ocean_ice_column ;
265      - compile C-grid dynamics with #define SEAICE_ALLOW_JFNK in FW test exp
266        offline_exf_seaice (previously compiling B-grid).
267    o pkg/exf:
268      - fix some STOP conditions in exf_check.F (from Aug 28, modifs did not allow
269        to specify neither just 1 comp of wind or wind-stress, nor no surface momentum
270        forcing): just replace CPP option ALLOW_ATM_WIND with run-time param useAtmWind.
271    o pkg/layers (adjust changes from Sept 19):
272      - do snap-shot output and fill diagnostics from inside iLa loop (layers_calc.F)
273        this allows to remove "layers_maxNum" dimension from all layers arrays.
274    o pkg/layers (adjust changes from Sept 19):
275      - remove ALLOW_LAYERS_OUTPUT ; fix snap-shot and time-ave output ;
276      - snap-shot extended to all type of layers (not just the 1rst type);
277      - remove layers variables when corresponding CPP option is undef.
278    o pkg/layers:
279      - rename pkg/layers variable and add new output (layer exist & un-weighted
280        velocity in layer)
281    o pkg/seaice:
282      - simplify (?) ocean-drag coefficent computations by using
283        the same routine in all three solvers (saves some code lines)
284      - remove global fields DRAGA and DRAGS from C-grid code and
285        declare them locally in lsr.F (the only place where they are
286        still used)
287      - update AD output of lab_sea.evp (very sensitive anyway).
288    o pkg/seaice: add Jacobian-free Newton Krylov solver for ice dynamics
289      (Lemieux et al. 2010, 2012). Turn on with the usual SEAICE_ALLOW_JFNK
290      and SEAICEuseJFNK=.true. A few things to note:
291      - involves a FGMRES, that is parallel but very inefficient,
292        because of many scalar products (global sums) in the Gram-Schmidt
293        orthogonalization method. Needs to be replaced. Original code
294        from J.-F. Lemieux
295      - preconditioner for FGMRES is a stripped down version of LSOR
296      - SOLV_MAX_ITERS is now used for LSOR as a solver and as a
297        preconditioner. For the preconditioner, the default is set to 10.
298      - Jacobian times vector is computed with finite differences
299      - marginally related to JFNK-solver: add a smooth regularization for
300        zeta with tanh that will improve convergence (Lemieux and Tremblay,
301        2009) for any implicit solver (not implemented for EVP because EVP
302        does not need this regularization in the first place). Define
303        SEAICE_ZETA_SMOOTHREG in SEAICE_OPTIONS.h to use.
304    o eesupp/src:
305      - check in genmake2 that intrinsic S/R flush is available.
306      - add S/R to flush IO unit (if intrinsic S/R flush is available)
307      - flush standard & error msg unit before MPI termination
308      - if debugMode, flush IO unit after printing msg
309    o pkg/ctrl:
310      - ctrl_unpack.F, ALLOW_GENARR3D_CONTROL code: fix missing argument in call
311        to ctrl_set_unpack_xyz.
312    
313    checkpoint64 (2012/10/09)
314    o pkg/shelfice
315      - in mom_fluxform.F, mom_vecinv.F:
316        CALL SHELFICE_V_DRAG(bi,bj,k,vFld,KE,KappaRU,vF,myThid)
317        Bug fix KappaRU -> KappaRV
318        does not change verification/isomip but may change other setups
319        (presumably constant KappaRU=KappaRV)
320      - fix diagnostics SHIU/Vdrag (thanks to Tom Millgate)
321    o pkg/obcs:
322      - fixed some indexing bugs in obcs_seaice_sponge.F
323      - added obcs relaxation subroutines for HSALT and HSNOW
324      - changes verification/seaice_obcs/results/obcs_seaice_sponge.F
325    o pkg/seaice:
326      - add "multicategory" parameterization for snow in analogy to ice,
327        default is off for now.
328    o pkg/obcs:
329      - added obcs_seaice_sponge.F for obcs relaxation of seaice variables;
330        see verification/seaice_obcs/input.seaiceSponge for example application.
331      - remove local commom bloc "OBCS_GLOBAL" in obcs_readparms.F and do all the OB
332        index setting by master-thread. This fix multi-threads Pb in previous modifs.
333    o pkg/layers :
334      - add diagnostics to pkg/layers
335      - move the meat of pkg/layers from layers_calc.F to layers_fluxcalc.F
336        (from R.Tulloch). Layers_calc.F now calls layers_fluxcalc.F accordingly.
337    o pkg/generic_advdiff/gad_implicit_r.F :
338      - fix ADVr diagnostics in case of both implicit vertical advection and diffusion.
339    o pkg/seaice/seaice_growth.F:
340      - fix SItflux diagnostics in virtual salt flux + balanceEmpmr case.
341    o pkg/obcs:
342      - change default setting of OBCS_UVICE_OLD from defined to undef;
343      - use new parameter OB_indexNone for null index value (instead of hard-coded 0)
344        in all pkg/obcs code and in other pkgs; remove k loop in obcs_check_depths.F;
345      - pass OB_indexNone as (new) argument to S/R CTRL_MASK_SET_[X,Y]Z;
346      - change OB null index value (OB_indexNone) to -99 ; this fix the problem
347        with Southern & Western OB at a tile edge (at least in a simple set-up).
348  o pkg/obcs:  o pkg/obcs:
349    - change settings of OB index in case OB coincides with tile edge (shared by    - change settings of OB index in case OB coincides with tile edge (shared by
350      2 tiles), so that common OB location is registered by both tiles (instead of      2 tiles), so that common OB location is registered by both tiles (instead of
351      only 1). However, for Southern and Western OB, index value = 0 is not      only 1). However, for Southern and Western OB, index value = 0 is not
352      recognized as valid OB index (=default null value) and needs to be fixed.      recognized as valid OB index (=default null value) and needs to be fixed.
353    - modify accordingly OBCS_BALANCE_FLOW and OBCS_MONITOR (avoid double counting)    - modify accordingly OBCS_BALANCE_FLOW and OBCS_MONITOR (avoid double counting)
354    - new parameter "OB_indexNone" for null index value (for now, still zero)    - new parameter "OB_indexNone" for null index value (for now, still zero)
355      to replace hard-coded null index value of zero.      to replace hard-coded null index value of zero.
356  o pkg/exch2:  o pkg/exch2:
357    - improve W2_USE_E2_SAFEMODE (faster) and W2_E2_DEBUG_ON:    - improve W2_USE_E2_SAFEMODE (faster) and W2_E2_DEBUG_ON:

Legend:
Removed from v.1.1738  
changed lines
  Added in v.1.1808

  ViewVC Help
Powered by ViewVC 1.1.22