/[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.1990 by mlosch, Wed May 7 10:24:19 2014 UTC revision 1.2295 by gforget, Fri Jan 20 21:02:55 2017 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_calc_ice_strength.F: replace SEAICE_rhoSnow by  o pkg/ecco:
8     SEAICE_rhoIce in the Rothrock (1975)-type strength calculations    - cost_gencost_customize.F,ecco.h,ecco_phys.F,ecco_readparms.F, and
9     (bug fix)      ecco_summary.F: add passive tracer cost functions to gencost;
10        m_ptracer and m_boxmean_ptracer
11    o pkg/ctrl:
12      - ctrl_map_forcing.F: pass myIter and myTime to ctrl_map_forcing as input
13        parameters; move myIter .EQ. nIter0 inside ctrl_map_forcing; add to list
14        of implemented gentim2d contol parameters: xx_qnet, xx_empmr, xx_qsw,
15        xx_sst, xx_sss, xx_pload, xx_saltflux, xx_fu, xx_fv, xx_fe, xx_fn
16    o model/src:
17      - forward_step.F: pass myIter and myTime to ctrl_map_forcing as input
18        parameters; move myIter .EQ. nIter0 inside ctrl_map_forcing
19    o pkg/exf:
20      - exf_getffields.F: add to list of implemented gentim2d contol parameters:
21        xx_lwflux, xx_swflux, xx_evap, xx_apressure, xx_areamask
22    
23    checkpoint66c (2017/01/19)
24    o verification:
25      - add new option "-src" to testreport to only produce source code (*.f),
26        including taf output src code (if using '-adm'/'-tlm' option).
27    o pkg/exf:
28      - add saltflx :: Net upward salt flux in psu.kg/m^2/s
29    o pkg/diagnostics:
30      - add run-time variable diagMdsDir to specify a subdirectory for
31        diagnostic output when mds is being used and mdsioLocalDir is not.
32    o pkg/mnc:
33      - mnc_utils.F: edit stop message
34    o pkg/autodiff:
35      - autodiff_ini_model_io.F: PRINT_MESSAGE, clean-up comments, add _*_MASTER,
36        add HAVE_SYSTEM bracket around system call to mkdir
37    o pkg/profiles:
38      - profiles_findunit.F, profiles_init_fixed.F, profiles_interp.F,
39        profiles_readparms.F: call ALL_PROC_DIE before 'stop'
40      - profiles_ini_io.F: use PRINT_MESSAGE, clean-up comments, add _*_MASTER,
41        add HAVE_SYSTEM bracket around system call to mkdir
42    o pkg/smooth:
43      - smooth_filtervar2d.F, smooth_filtervar3d.F: call ALL_PROC_DIE before 'stop'
44      - smooth_init2d.F, smooth_init3d.F: move print statements to readparms
45      - smooth_readparms.F: add cleaner print statements from smooth_init?d.F
46    o pkg/exf:
47      - check: count errors and stop cleanly at the end (call to ALL_PROC_DIE);
48        issue error message when climsst_interpMethod.GT.0 and climsst_lon_inc > 500
49        generalize tests on interpMethod, nlat, and lon_inc to all exf variables.
50      - summary: skip detailed field report if not used (empty file-name).
51    o tools/xmakedepend:
52      - In case line editor "ed" is missing, switch to "sed" command to clean-up
53        Makefile from previous dependencies (anything after "# DO NOT DELETE" line).
54    o pkg/exf:
55      - change definition of "hflux" input file to always include Short-Wave;
56        this is now consistent with hflux computation (if using bulk-formulae)
57        and hflux diagnostic & documentation (in EXF_FIELDS.h).
58    
59    checkpoint66b (2016/12/01)
60    o model & momentum pkgs:
61      - implement fully implicit bottom friction combined with implicit surf.
62        pressure, for now, only in hydrostic formulation:
63        + to use: compile with #define ALLOW_SOLVE4_PS_AND_DRAG in CPP_OPTIONS.h
64          and run with selectImplicitDrag=2 ;
65        + currently missing diagnostics of bottom drag and vert. viscosity tendency;
66      - partial implicit time-stepping (bot. friction + vert. visc first, then
67        surf. press) corresponding to selectImplicitDrag=1 should be applicable
68        to NH formulation but not available until we solve for surf. pressure
69        increment (instead of full etaN).
70      - change exp. global_ocean.cs32x15.thsice to test implicit bottom drag
71        with implicit vertical viscosity.
72    o pkg/seaice: add linear remapping scheme (Lipscomb 2001) to ITD model
73      - this is a first version that includes many regularisations that may
74        not all be necessary, to be sorted out,
75      - turned on by runtime parameter SEAICEuseLinRemapITD (true by default)
76      - change one verification experiment in seaice_itd to use and test new code
77      - seaice_growth: catch a case where the argument of log can be zero
78        or smaller (important for code stability)
79    o model/src:
80      - modify SOLVE_DIAGONAL_LOWMEMORY version of solve_tridiagonal.F
81        & solve_pentadiagonal.F to enable to re-used inverse matrix for solving
82        similar A.X'=Y' system (with same matrix A) in subsequent calls;
83        switch based on errCode (In/Out) argument value; in calling routines,
84        initialise errCode before first call.
85    
86    checkpoint66a (2016/10/18)
87    o pkg/bling:
88      - BLING package now loads in atmospheric pCO2 file using exf package routines
89        Enable with #define USE_EXFCO2 in BLING_OPTIONS.h
90    o model/src & pkg/ptracers:
91      - with INCLUDE_IMPLVERTADV_CODE defined, also call MOM_U,V_IMPLICIT_R &
92        GAD_IMPLICIT_R (instead of IMPLDIFF) when just implicitViscosity and
93        implicitDiffusion (respectively) are used (even without momImplVertAdv
94        or temp,salt,PTRACERS_ImplVertAdv).
95    o model/src & generic_advdiff:
96      - add parenthesis in main diagonal calculation of implicit vertical
97        diffusion matrix (impldiff.F & gad_implicit_r.F).
98        This affects results at machine truncation level; update output of many
99        verification experiments (31 fwd ; 10 adm ; 8 tlm ; 3 oad).
100    o pkg/mom_commom & generic_advdiff:
101      - add deep atmosphere and anelastic scaling factor in implicit vertical
102        advection routines (mom_u,v_implicit_r.F & gad*_impl*_r.F).
103    o model/src:
104      - remove few unnecessary temp array copies in solve_tridiagonal.F
105        & solve_pentadiagonal.F
106    
107    checkpoint65z (2016/09/28)
108    o pkg/seaice: fix multithreading for seaice_fgmres.F
109      - remove unecessary variables from common blocks
110      - use extra dimension MAX_NO_THREADS for all variables of the Krylov space
111        basis, that are stored in commom blocks (including integer variable i1)
112      - clean up code a little by removing commented lines that refer to
113        original code
114      - turn on multi-threaded test for experiment offline_exf_seaice.dyn_jfnk.
115    o MITgcm manual:
116      - add uptodate pkg/ecco documentation to the manual (section 8.1; ecco.tex),
117        preliminary documentation for generic controls (8.3; ctrl.tex),
118        a placeholder for smooth (8.4; smooth.tex), and comment out the deprecated
119        ecco_costfunction.tex
120    o pkg/ecco:
121      - update and cleanup list of CCP options
122      - re-assign gencost_mask to specify masks rather than gencost_errfile; 'c'
123        is now always passed to cost_generic; gencost_mask is now MAX_LEN_FNAM
124      - add checks that retired run-time options are not used, and in relation
125        to gencost_mask and gencost_errfile
126      - finish deprecating gencost_scalefile, gencost_smooth2Ddiffnbt, and
127        gencost_nrecperiod
128      - fix m_eta computation for virtual salt flux case
129      - add m_horflux_vol case (selected via gencost_barfile) that computes
130        transports via cost_gencost_boxmean (gencost_flag=-3)
131      - use gencost_flag more systematically (i.e., avoid using gencost_name)
132        for code switches (aside from physical variable selection)
133    o pkg/seaice: make seaice_fgmres.F fit for multithreading; this first
134      attempt appears to be a bit of a hack and my need some repair down the road
135    o pkg/exf:
136      - interpolation near South Pole: fix criteria on input field latitude.
137    o pkg/icefront & pkg/exf:
138      - move setting of icefront Sub-Glacial RunOff forcing (currently unused)
139        from pkg/exf (read from data.exf) to pkg/icefront (read from data.icefront)
140    o pkg/exf:
141      - replace CPP option ALLOW_EXF_OUTPUT_INTERP with run-time parameter
142        "exf_output_interp" (in namelist: EXF_NML_04); change output file name
143        (add suffix "_out" instead of a prefix); keep same record number as in
144        input file but always write record 1 first (to avoid a STOP in I/O S/R).
145        Change output file content by writing interpolated field before applying
146        land-sea mask (helpful for debug).
147      - 2 compon. vector interpolation with rotation: apply scaling factor on
148        each compon. (Eastward and Northward) just before rotation.
149    o pkg/bling:
150      - Cleaned package. Removed not needed code and comments.
151      - adjoint example now works
152        (MITgcm_contrib/verification_other/global_oce_biogeo_bling/code_ad)
153    o pkg/ptracers:
154      - add Bruno Deremble's code to complete the linear surface correction
155        for tracer conservation;
156      - enabled for individual ptracers by PTRACERS_linFSConserve(iTr)=.TRUE.
157    
158    checkpoint65y (2016/07/29)
159    o pkg/debug (stats):
160      - change GLOBAL_SUM to GLOBAL_SUM_TILE (result independent of tile to
161        proc/thread mapping);
162      - fix Min & Max for case where 1 thread has only empty tiles;
163      - use RL variable to count number of wet grid points (with big domain,
164        can be too large to fit into integer*4).
165    o pkg/monitor:
166      - use RL variable to count number of wet grid points (but used only for del2)
167      - add new routine to compute Advective CFL within tracer time-stepping with
168        writing delayed until next monitor output.
169    o pkg/obcs:
170      - fix bug in OBCS_BALANCE_FLOW (OBCS_balanceFacN misspelled OBCS_balanceFacW)
171    o pkg/cal:
172      - calandar-dump: treat case myTime < timePhase in the same way as in
173        eesupp/src/diff_phase_multiple.F (when not using calandar-dump).
174    o pkg/dic & seaice:
175      - fix compilation of ocean component for coupled atm+ocn model with
176        seaice dynamics & dic.
177    
178    checkpoint65x (2016/06/11)
179    o add a license text file in main MITgcm tree.
180    o added pkg/bling:
181      - intermediate complexity biogeochemical model
182      - see bling_description.txt for details
183      - verification experiment is global_oce_biogeo_bling (for now, in
184        Contrib/verification_other/); tested daily on baudelaire with gfortran.
185      - add entry point in pkg/gchem for new pkg "bling".
186    o pkg/seaice: fix tensile stength computation
187      - replace global field tensileStrength by tensileStrFac
188      - tensileStrFac can be computed once in S/R seaice_init_varia
189      - fortunately that does not affect any verification results
190    
191    checkpoint65w (2016/05/12)
192    o pkg/ctrl/ctrl.h: fix a comma in common block list, so that code compiles
193         with ECCO_CTRL_DEPRECATED defined
194    o verification/global_ocean.cs32x15:
195      - change secondary test "viscA4" to also test "selectP_inEOS_Zc=3"
196        with "selectNHfreeSurf=1".
197    o model/src (non-hydrostatic free-surface):
198      - More "natural" expression of NH free-surface term (case selectNHfreeSurf=1):
199        was: tmpSurf/(1+tmpSurf); changed to: 1/(1+Gamma) with Gamma=1/tmpSurf.
200      - Calculate surface vertical velocity after 2-D solver adjustment (accounts
201        for EmPmR if RealFreshWaterFlux); used in RHS (cg3d_b) if exactConserv
202        and used to compute dPhiNH (in post_cg3d.F) if selectNHfreeSurf=1.
203        This fixes EmPmR contribution when selectNHfreeSurf=1 & RealFreshWaterFlux.
204      - Update output (changes at machine truncation level) of verification exp:
205        exp4 (11 digits for cg2d), global_ocean.cs32x15.viscA4 (11.d),
206        short_surf_wave (13.d) and tutorial_deep_convection.smag3d (12.d).
207    o pkg/seaice: ITD code
208      - fix picking up from a single category model by initialising
209        heff/area/hsnowITD = 0. in seaice_itd_pickup.F
210      - split a long warning message in seaice_check_pickup.F into two lines,
211        because NEC SX-ACE cannot deal with the long line.
212    o model/src:
213      - fix missing dPhiNH in pressure_for_eos.F (case: selectP_inEOS_Zc=3)
214    o pkg/seaice:
215      - add missing checks for SEAICE_ALLOW_KRYLOV and SEAICE_ALLOW_BOTTOMDRAG
216    o pkg/seaice:
217      - add basal stress as parameterisation for grounding ice
218        following Lemieux et al. (2015)
219      - turn on by setting new parameter SEAICEbasalDragK2 to a value
220        larger than 0. Lemieux et al. (2015) recommend 15.
221      - The adjoint complains with extra recomputations so there is also a
222        new cpp-flag SEAICE_ALLOW_BOTTOMDRAG that is undefined by default in
223        order to postpone the problem
224      - compile the new code in lab_sea
225    o verification/halfpipe_streamice:
226      - update both TAF and OpenAD adm output (machine truncation differences)
227    
228    checkpoint65v (2016/04/08)
229    o verification/advect_xz:
230      - increase overlap size from 3 to 4 and add new secondary test for PQM
231        advection scheme (with mono & wino limiter).
232      - change main exp. to test PPM (with weno limiter) adv.scheme on Temp.
233    o model/src:
234      - new parameters "top_Pres" & "seaLev_Z" (replacing Ro_SeaLevel and recently
235        added phi0Ref) to set vertical axis origin and phiRef origin;
236        keep Ro_SeaLevel for backward compatibility (with a warning).
237       According to coordinate and fluid type:
238        OCN in Z: top_Pres(Ref) (=rhoConst*PhiRef(1)), seaLev_Z (=rF(1), @ the top)
239        ATM in Z: top_Pres(Ref) (=rhoConst*PhiRef(1)), seaLev_Z (=rF(Nr+1) @ bottom)
240        OCN in P: top_Pres (=rF(Nr+1)), seaLev_Z (= PhiRef(Nr+1)/g, @ the top)
241        ATM in P: top_Pres (=rF(Nr+1)), seaLev_Z (= PhiRef(1)/g, @ the bottom)
242      - remove Ro_SeaLevel from ATM experiment parameter files;
243      - in tutorial_global_oce_in_p, remove Ro_SeaLevel and set top_Pres to the
244        complement; update output.txt (changes at machine truncation level).
245    o pkg/seaice/seaice_evp.F
246      - simplify computation of deltaZ and zetaZ to simple averaging following
247        Bouillon et al. (2013). This removes a lot of code, but also changes
248        verification experiment lab_sea.hb87 -> updated
249    
250    checkpoint65u (2016/03/14)
251    o pkg/generic_advdiff:
252      - from Darren: add PPM and PQM advection schemes (number 40-42 and 50-52)
253        with 2 types of limiter (see: Engwirda & Kelley, submit. to JCP);
254        Note (from Darren): unlimited PPM/PQM scheme (40 & 50) are just for
255        testing and not for actual use.
256    o model/src:
257      - add parameter "phi0Ref" to specify reference [pressure/geo] potential at
258        origin r = rF(1);
259      - add options (parameter selectP_inEOS_Zc) to select which pressure to use
260        in EOS for height coordinate: enable to include NH Pressure or to use
261        more accurate pressure vertical profile; options not linked to EOS type
262        (as previously, e.g., JMD95P/JMD95Z) but set default according to EOS type;
263      - start to implement variable gravity (along vertical): for now, only with
264        z-coords (not even z*).
265      - add Ideal Gas equation of state for height coordinate.
266      - update OpenAD output (affected at machine truncation level) of exp:
267        global_ocean.90x40x15, OpenAD (std) and tutorial_global_oce_biogeo.
268    o pkg/exf:
269      - add ALLOW_EXF_OUTPUT_INTERP cpp switch to output the result
270        of exf interpolation (before any rescaling, rotation or interpolation
271        to velocity point) for each field that gets loaded from file. This option
272        identically mimics the input file organization (e.g. record numbers in year
273        by year input files) besides the change in horizontal grid.
274      - add rotateStressOnAgrid run-time switch so that wind stress fields
275        can be provided on the A-grid in zonal/meridional direction and
276        rotated on the fly. This only applies to the case when the exf
277        interpolation is off and rotateStressOnAgrid is false by default.
278    o model/src:
279      - rename internal parameter "useDynP_inEos_Zc" to "storePhiHyd4Phys" (since
280        it's also used with pkg/atm_phys) and add few more parameters (but still
281        inactive, src code yet to come)
282    
283    checkpoint65t (2016/02/10)
284    o pkg/atm_phys:
285      - from Ruth Geen: add optical depth dependence on CO2 concentration.
286    o model/src:
287      - fix vertical inter/extra-polation of density factor rhoFacF (for anelastic)
288        for the case setCenterDr=T (delRc set from "data"); add output of rhoFacC&F.
289        Update output of exp. deep_anelastic (changes at truncation level).
290    o tools:
291      - add a hack in "remove_comments_sed" (used only with TAF) for recent
292        version of OpenMPI (shipped with FC.23): comment out the new header
293        file "mpif-sizeof.h" which causes problems to TAF.
294    o pkg/seaice:
295      - change the termination criterion so that maxits (SEAICElinearIterMax)
296        has an effect
297      - unify iteration parameters for implicit solvers (JFNK and Picard)
298        SEAICEnonLinIterMax replaces SEAICEnewtonIterMax/NPSEUDOTIMESTEPS
299        SEAICElinearIterMax replaces SEAICEkrylovIterMax/SOLV_MAX_ITER
300        SEAICEpreLinIterMax replaces SOLV_MAX_ITER in preconditioner
301        SEAICEpreNL_IterMax replaces NPSEUDOTIMESTEPS in preconditioner
302        SEAICEnonLinTol     replaces JFNKgamma_nonlin
303      - remove S/R SEAICE_FGMRES_DRIVER and put content into S/R SEAICE_JFKN
304      - add new Picard-Krylov solver, compile with SEAICE_ALLOW_KRYLOV and
305        use with SEAICEuseKrylov
306    o pkg/seaice/seaice_lsr.F
307        fix small bug: replace zetaZ by zetaZloc in S/R seaice_lsr_rhsu/v; only
308        relevant if SEAICEuseStrImpCpl=T, and even then it does not seem to have
309        an effect.
310    o pkg/seaice: add two new parameters
311      - SEAICEuseLSR to simplify the logic in seaice_dynsolver (this
312        parameter is not in any namelist)
313      - SEAICEusrPicardAsPrecon to allow s/r seaice_lsr to be used as
314        a preconditioner for the non-linear Newton iteration of the JFNK
315        solver
316    o pkg/seaice/seaice_lsr.F: replace 1./SEAICE_deltaTdyn with recip_deltaT,
317      affects some experiments at truncation level:
318      - global_ocean.cs32x15.icedyn (11 digits),
319      - global_ocean.cs32x15.seaice (11 digits),
320      - seaice_itd (12 digits), seaice_itd.lipscomb07 (12 digits) -> update
321      - also update global_ocean.cs32x15 adjoint and tangent-linear results
322    o pkg/salt_plume & pkg/thsice:
323      - for coupled  set-up with pkg/thsice in ATM and pkg/salt_plume in OCN,
324        connect salt_plume flux to ATM-OCN coupling pkgs interface:
325       a) in ATM: also cumulate salt-plume flux in S/R THSICE_SALT_PLUME (for
326         export to coupler interface) even without compiling pkg/salt_plume ;
327       b) in OCN: apply coupler salt-plume flux to pkg/salt_plume field
328         (saltPlumeFlux) just before exch call, in S/R SALT_PLUME_DO_EXCH.
329    o pkg/dic:
330      - use the updated seaice fraction (from seaice pkgs) for DIC forcing
331        instead of the previous time-step value ; done in new S/R DIC_FIELDS_UPDATE
332        called from the top of dic_biotic_forcing.F (instead of in DIC_FIELDS_LOAD);
333      - move also update with values from ATM-OCN Coupler in the same new S/R
334        (previously done in ocn_apply_import.F).
335    o tools/adjoint_options:
336      - specify explicitly "-f77" or "-f90" in default ad-optfile since TAF (default)
337        has been changed on Jan 14, 2016.
338    o pkg/ggl90:
339      - add alternative discretisation of vertical shear (off by default), to
340        compute the mean (@ grid-cell center) of vertical shear compon instead of
341        vertical shear of mean flow (@ grid-cell center).
342      - add correct parenthesis in ALLOW_GGL90_SMOOTH code to get the same truncated
343        results on adjacent faces of cubed-sphere grids; this fix the restart.
344    o pkg/atm_compon_interf:
345      - skip time-ave over cpl_atmSendFrq of Sea-Level Pressure (atmSLPr) and just
346        pass last value, stored directly before export to CPL ;
347        Note: this affects results of Coupled set-up where OCN uses useImportSLP=T
348      - remove atmSLPr from pickup files (no longer needed for restart)
349    
350    checkpoint65s (2016/01/13)
351    o eesupp & genmake2:
352       - first check for Function ETIME and, if it fails, then check for subroutine
353         ETIME and consistent output; use the appropriate version in timers.F
354    o model/src:
355      - to check restart test, add option to apply EXCH to U,V earlier, just before
356        integr_continuity; turned off by default.
357    o pkg/dic:
358      - remove CPP option USE_ATMOSCO2 (not needed)
359    o tools/tst_2+2:
360      - try to ignore difference between +0 and -0 in binary file, causing test
361        to fail for no good reason.
362    o eesupp & genmake2:
363      - put back modif from Jinxuan Zhu - change etime fct call to S/R call -
364        but also check (in genmake2) that test runs and returns meaningful results.
365    o coupler pkgs:
366      Finish implementation of optionally-exchanged variable switches (started on
367       Nov 12) with addition of few more exchanged fields, including 2-way exchange
368       of pkg/thsice vars to allow to use seaice dynamics (from pkg/seaice) & seaice
369       advection in OCN component; this requires sequential coupling.
370      coupler (pkg/atm_ocn_coupler):
371      - add argument msgUnit and iter number to CPL_SEND/RECV_ATM/OCN_FIELDS
372        routines (useful for debug).
373      - only export/import optionally exchanged fields (RunOff, seaice, Salt-Plume
374         flux, DIC fields) if corresponding switch is ON.
375      - add option to export RunOff to OCN (to use for DIC river input)
376      - add 2-way thSIce vars exchange; check for consistent cpl_sequential setting.
377      components (pkg/atm_ & ocn_compon_interf):
378      - to save memory space in ATM & OCN comp: add some #ifdef ALLOW_${PKG} around
379        optionally exchanged fields; add a check & stop in cpl_readparms.F.
380        ATMCPL.h: ALLOW_LAND for RunOff, ALLOW_THSICE for seaice, ALLOW_AIM for CO2;
381        OCNCPL.h: ALLOW_SALT_PLUME, ALLOW_DIC for DIC, ALLOW_THSICE for 2-W thsice.
382      - rename:   fracIce     -> sIceFrac_cpl (<- match coupler var name)
383        + in ATM: fracIceTime -> sIceFracTime ; seaIceTime -> sIceMassTime.
384      - add 2-way thSIce vars exchange ; add Salt-Plume flux ; add RunOff in OCN.
385      - hold in common block coupler optionally-exchanged variable switch
386        and set default "useImportXXX" accordingly; + check & stop if inconsistent.
387      - add diagnostics for all imported fields from coupler (in both OCN & ATM);
388        this is intended to replace the OCN cplFldtave.* output files (not updated
389        to contain new additional exchanged fields).
390    o pkg/dic:
391      - fix an other bug (also from 2014/08/30) in dic_atmos.F, in dic_int1=3 code.
392    o pkg/thsice:
393      - when coupled to ATM (useCoupler) with thSIce_skipThermo=T, skip reading
394        and writing of thsice pickup files.
395    o pkg/atm_compon_interf:
396      - move all field individual export-call out of cpl_export_import_data.F
397        into new S/R ATM_EXPORT_FIELDS
398    o pkg/atm_compon_interf:
399      - store state variables (for now, only thSIce fields) just before beeing
400        exported (in cpl_export_import_data.F, like on ocean side) instead of from
401        atm_store_my_data.F like all exported fluxes.
402      - new version of pickup_cpl: write field names into meta file and read meta
403        file to find field postion in pickup. Also only write/read fields meeded for
404        restart (same logic as main pickup file ; also using pickupStrictlyMatch)
405    o pkg/dic:
406      - fix bug (added on 2014/08/30) in dic_atmos.F for the case dic_int1= 2 or 3.
407    o pkg/seaice: add new parameter SEAICEpressReplFac to choose between
408        pressure replacement method (=1., default) or original Hibler (1979) (=0.)
409        value can be from domain [0,1] to average between the two methods
410    o pkg/atm_phys:
411      - allow to provide 2-d map of albedo and mixed-layer depth from files (but
412        hold fixed in time).
413    
414    checkpoint65r (2015/12/21)
415    o pkg/seaice:
416        fix bug in tridiagonal solvers for SEAICE_OLx/y>0, this affects the JFNK
417        solver (offline.dyn_jfnk) and global_ocean.cs32x15.seaice -> updated
418    o pkg/seaice:
419      - fix a bug in computing areaS in (J-J -> J-1) that affects runs
420        when SEAICEscaleSurfStress=.TRUE.,
421      - apply areaW and areaS in S/R seaice_calc_lhs
422    o pkg/atm_phys:
423      - add diagnostics for 3-D, Nr+1 levels diagnostics of radiative fluxes
424        (shortwave & longwave, net & downward) and diagnostics of temp. tendency
425        for individual contribution (convection, LSC cond, radiation)
426      - add Ruth Geen etal, GRL 2016, radiation options (see paper supp.
427        information); activated with: solar_exponent=0. and wv_exponent=-1.
428    o pkg/ggl90:
429      - within IDEMIX add upper limit for horizontal group velocity to
430        avoid instability problems in the explicit horizontal diffusion term for
431        long time steps or high resolution
432    o pkg/diagnostics:
433      - simplify setting of local-array size in diagstats_output.F: uses "numLevels"
434        (from DIAGNOSTICS_SIZE.h) to allow to write out more than Nr levels.
435    o testreport:
436      - remove "-v" (verbose option) in default mpirun command.
437    o pkg/seaice/seaice_growth:
438      - catch potential division by zero in ITD code, does not change
439        verification results
440    o pkg/ecco:
441      - retire old codes to the Attic. The calls to retired functions are
442        left in a commented form in case they ever need to be re-activated.
443      - ecco_check.F: issue warning if any old CPP option is
444        defined that corresponds to retired codes -- then stop.
445    o pkg/atm_compon_interf:
446      - change seaice fraction (use for OCN dic surf.flux) stored and sent to
447        coupler: use last time-step value instead of average over cplSendFrq_iter
448        time-step, similar to what is done for seaIceMass.
449        This will affect results (pkg/dic) of coupled ATM-OCN+dic set-up.
450    o eesupp & genmake2:
451      - from Jinxuan Zhu: change etime fct call to S/R call (fix gfortran ETIME);
452        <= remove until a fix is found for some ifort version on ia32 machine.
453    o pkg/seaice/seaice_evp:
454      - refine residual computation
455    
456    checkpoint65q (2015/11/18)
457    o pkg/seaice/seaice_evp:
458      - fix residual computations so that they no longer affect the actual
459        simulation code
460      - fix seaice_readparams to be able to actually set new parameters
461        SEAICEaEVPcStar and SEAICEaEVPalphaMin, also fix logic a little
462    o model/src:
463      - fix wrong truncation (single prec) from "FLOAT" function in expressions
464        like: deltaT*FLOAT(myIter) when myIter is large:
465         a) replaced by DFLOAT (if not seen by TAF);
466         b) remove "FLOAT" and use implicit type conversion (if seen by TAF).
467    o pkg/aim_v23:
468      - write/read the expected CO2 pickups (from S/R AIM_DO_CO2): fix reading
469        when pickupSuff is set ; do write rolling pickups + at the end of the run.
470    o pkg/atm_ocn_coupler + ocn_compon_interf:
471      - in prep for using pkg/seaice Dyn in coupled set-up, implement sequential
472        coupling option-1: ATM -(cpl)-> OCN and then OCN -(cpl)-> ATM ;
473        add corresponding call in DO_OCEANIC_PHYS.
474    o coupler pkgs:
475      Start a new way to set-up optionally-exchanged variables (previously, only
476       there for exchange_DIC): switch on/off from 1 place, at run-time, in coupler
477       data.cpl (new) instead of at compile time in ATMIDS.h & OCNIDS.h ;
478       send switch to ATM & OCN compon before reading their own "data.cpl" (so that
479       compononent param default can be set accordingly).
480      Note: this new switch (cpl_exchange_[xxx]) is not a per variable switch
481       but rather applies to a group a fields (going both ways like for DIC)
482       and corresponds to an option of coupling config.
483      coupler (pkg/atm_ocn_coupler):
484      - change parameter file from "data" to "data.cpl" (in cpl_read_params.F),
485        and read namelist directly (without eessup S/R calls) instead of
486        in the very un-flexible old way, 1 param per line, in fixed order;
487      - add error-counter to track errors (e.g., missing "data.cpl") and to stop
488        cleanly in CPL_CHECK_CPLCONFIG
489      - add new coupling-exchange selectors (some not yet active) including
490        cpl_exchange_DIC (to set to 3 to replace atmCpl_exchange_DIC=T in ATMIDS.h
491                                             and ocnCpl_exchange_DIC=T in OCNIDS.h);
492      - add 2 new S/R (CPL_SEND_ATM/OCN_CPLPARMS) to send coupler-params to each
493        component ; called directly from coupler.F, after comp. registrations;
494      - rename few variable-ID names (in ATMIDS.h & OCNIDS.h):
495         atm/ocnSeaIceName --> atm/ocnSIceMassName ; atm/ocnFCO2Name ->
496          -> atm/ocnCO2FluxName ; atm/ocnWSpdName --> atm/ocnWindSpdName
497      components (pkg/atm_ & ocn_compon_interf):
498      - add ATM/OCN_CPL_OPTIONS.h in component pkgs and include the corresponding
499        CPP header file in all pkg source files.
500      - move checking of comp. configs out of cpl_exch_configs.F into new S/R
501        ATM/OCN_CHECK_CPLCONFIG;
502      - add error-counter to track errors (e.g., in "data.cpl") and to stop
503        cleanly in ATM/OCN_CHECK_CPLCONFIG;
504      - add new S/R CPL_IMPORT_CPLPARMS to import coupling-exchange selectors
505        from coupler ; called from initialise_fixed.F, after PACKAGES_BOOT and
506        before PACKAGES_READPARMS;
507      verification/cpl_aim+ocn/:
508      - update ATMIDS.h & OCNIDS.h (in shared_code) and use new parameter file
509        "data.cpl" for coupler (in input_cpl).
510    o eesupp/inc:
511      - change the MPI-global-sum default (in CPP_EEOPTIONS.h) to:
512        #define GLOBAL_SUM_ORDER_TILES (only affects MPI built of global_sum_tile.F)
513        to always cumulate tile local-sum in the same order (still uses
514        MPI_Allreduce like standard code).
515      - in verification experiment code, remove local CPP_EEOPTIONS.h_mpi files
516        that are now identical to standard version (in eesupp/inc).
517    o pkg/shelfice:
518      - add SHELFICETransCoeffTFile for initializing spatially varying
519        heat and salt transfer coefficients
520    o pkg/atm_compon_interf & ocn_compon_interf:
521      - combine into 1 (new) S/R CPL_EXPORT_IMPORT_DATA the two previous
522        S/R CPL_EXPORT_MY_DATA & CPL_IMPORT_EXTERNAL_DATA
523      - move bi,bj loops inside S/R OCN_STORE_MY_DATA
524    o pkg/atm_ocn_coupler:
525      - initialise to zero ATMVARS.h & OCNVARS.h arrays.
526    o pkg/rbcs:
527      - select RBCS-mask for Temp & Salt the same way as for pTracer ; this allows
528        to compile with maskLEN=1 when all tracers use the same RBCS-mask.
529      - add a short report (to STDOUT) about RBCS-mask settings.
530    
531    checkpoint65p (2015/10/23)
532    o pkg/seaice/seaice_evp.F: fix store directives and key computations, since
533        there is no adjoint test for EVP, we don't know what it does to the adjoint
534        solution, but at least there are no more recomputation warnings left
535    o pkg/seaice/seaice_evp.F: slight modification of averaging so that EVP stands
536        a chance of giving the same results as a fully converged VP (JFNK) solver
537    o tools/adjoint_options/adjoint_diva:
538      - fix bug (typo) in Tang-Linear FLAGS setting for MPI + DIVA
539    o pkg/streamice:
540      - spotted bug in streamice_driving_stress using dyG where should have been dxG
541    o pkg/exf:
542      - remove STOP statement that prevented to use wind or (wind-)stress
543        interpolation for constant-in-time forcing fields (wind/stress period = 0).
544    o pkg/seaice:
545      - replace SEAICE_EVP_USE_ADAPTATION by run time parameters, requires
546        5 additionals 2D fields and 6 new store directives
547      - change logic in seaice_readparms.F: EVP code can now be turned on in
548        various ways, setting SEAICE_deltaTev is no longer required,
549        alternatively set SEAICE_evpAlpha/Beta, SEAICEuseEVPstar, SEAICEuseEVPrev,
550        or SEAICEaEVPcoeff
551    o pkg/shelfice/shelfice_thermodynamics.F
552      - redefining uLoc/vLoc to u/v, instead of 2u/v
553    o pkg/seaice/seaice_evp.F: introduce "adaptive EVP" by Madlen Kimmritz
554      - this is an intermediate state of a truely converging EVP that has
555        the potential of outperforming implicit VP methods, I do not recommend
556        using it yet.
557      - for now, "adaptive EVP" is turned on by setting SEAICE_EVP_USE_ADAPTATION
558        and all parameters are hardwired
559      - for convergence it still requires very smooth regularisations, that means,
560        if SEAICE_DELTA_SMOOTHREG is defined, deltaCreg=deltaC+deltaMin, which is
561        different from the VP case with deltaCreg=sqrt(deltaC**2+deltaMin**2); also
562        specific averaging appears to be required, still subject to tuning
563      - still needs cleaning and I need to turn parameter into runtime parameters
564      - add code to compute and print residuals of iteration, compile with
565        defining ALLOW_SEAICE_EVP_RESIDUAL to enable it
566    o pkg/seaice/seaice_evp.F: fix a bug (factor of four in front of e12Csq)
567      that entered with r1.54 on Sep04, 2015, -> update results
568    
569    checkpoint65o (2015/09/14)
570    o pkg/mom_vecinv & mom_common:
571      - add deep-atmosphere geometry factor in mom_calc_visc.F + in routines
572        called from there.
573      - add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this
574        allows to use Vector-Invariant form in deep atmos and anelastic formulation
575    o pkg/seaice: introduce fast ice parameterisation following Itkin et al. (2015)
576      and Koenig-Beatty+Holland (2012)
577      - two new parameters SEAICE_tensilFac and SEAICE_tensilDepth
578      - global 2D field tensileStrength, computed in seaice_calc_ice_strength
579      - requires an extra input argument for S/R seaice_calc_viscosities
580      - tensileStrength's depth dependence is different from Itkin et al. (2015)
581        (to be changed and played with, for now exponential)
582    o pkg/seaice: introduce new parameter SEAICEscaleSurfStress (default = .FALSE.)
583      - if TRUE scale ice-ocean and ice-atmosphere stress acting on sea ice
584        by AREA according to Connelly et al. (2004), JPO.
585      - For EVP and the LSR solver, the implicit part of the drag term is
586        the only non-zero term in the denominator when there is no ice (which
587        prevented running the model with zero ice-ocean drag). If
588        SEAICEscaleSurfStress = .TRUE., this results in a division by zero
589        (or zero main diagonals BU/BV) which need to be caught. A practical
590        consequence is that for open water, the momentum equation reduce
591        to trivially 0 = 0 + 0 (for EVP). For LSR, BU/BV are reset to 1, if
592        they happen to be zero, often leading to a non-zero solution over
593        open water.
594    o pkg/seaice: revise EVP code (seaice_evp.F) in preparation for a more
595        efficient EVP method.
596      - introduce area-weighted averages for e12 (analogously to
597        seaice_calc_viscosities.F); this totally changes lab_sea.hb87 (2 digits
598        remain, but also changing the order of terms in the previous average
599        changed the results as much) -> update experiment
600      - add SEAICE_DELTA_SMOOTHREG code
601      - disentangle computation of zetaC/deltaC and zetaZ/deltaZ, also for
602        TEM-code
603      - adjust loop bounds so that only required fields are computed
604      - add new averaging code for zetaZ/deltaZ (again similar to
605        seaice_calc_viscosities.F), inactive by default for now (will change
606        results again), but will replace old code eventually
607    o eesupp/src:
608      - add an other alternative for multi-proc GLOBAL_SUM (in global_sum_tile.F)
609        to always cumulate tile local-sum in the same order
610        (option #define GLOBAL_SUM_ORDER_TILES in CPP_EEOPTIONS.h).
611        Still uses MPI_Allreduce (like standard code) but on array of tiles
612        and should be faster than GLOBAL_SUM_SEND_RECV code.
613      - switch almost all verification experiments that use GLOBAL_SUM_SEND_RECV
614        (defined in CPP_EEOPTIONS.h_mpi) to GLOBAL_SUM_ORDER_TILES instead.
615      - add CPP_EEOPTIONS.h_mpi with GLOBAL_SUM_ORDER_TILES defined in 14 more exp.:
616         aim.5l_cs, cheapAML_box, deep_anelastic, dome, fizhi-cs-32x32x40,
617         fizhi-cs-aqualev20, fizhi-gridalt-hs, global_ocean_ebm, matrix_example,
618         natl_box, solid-body.cs-32x32x1, tutorial_advection_in_gyre,
619         tutorial_baroclinic_gyre and tutorial_held_suarez_cs.
620    
621    checkpoint65n (2015/07/29)
622    o pkg/thsice:
623      - add a warning when used with pkg/aim but without updating SST
624        (stepFwd_oceMxL=F & useCoupler=F & tauRelax_MxL<>-1 ).
625    o pkg/offline:
626      - change where Offline-Fields are loaded, from load_fields_driver.F to
627        directly within FORWARD_STEP, just after updating iter number and time;
628      - move setting of GM and KPP diffusivity out of OFFLINE_FIELDS_LOAD into new
629        S/R OFFLINE_GET_DIFFUS that is called towards the end of DO_OCEANIC_PHYS;
630       These changes allow:
631        a) to recover exactly on-line results using deltaToffline=deltaTClock,
632        tested (using offlineIter0= nIter0 -1 and offlineTimeOffset= -deltaT/2)
633        both with Lin & Non-Lin Free-Surf, both with staggerTimeStep & synchronous
634        time-step, both with GM & KPP files and with recomputing these fields;
635        b) no needs to switch on staggerTimeStep anymore;
636        c) simplify rescaling of offline horiz. velocity with Non-Lin Free-Surf.
637      - update output of experiment tutorial_dic_adjoffline (only 3 digits left).
638    o pkg/offline:
639      - change (rarely used) offset-iteration parameter to an offset time (in s):
640        can easily recover previous offset-iter effect by setting offset-time
641        (offlineTimeOffset) to offset-iter x deltaToffline;
642      - do not turn-off Temp & Salinity surface relaxation when using KPP (used
643        in KPP as part of surface buoyancy forcing) in offline run.
644      - fix ptracers KPP non-local term in the case where KPP is re-computed.
645    o OpenAD
646      - Adding preliminary ggl90 test to OpenAD verification.
647        Config. with ggl90 currently diverges after 64 time steps
648        so will need more work to become more stable
649      - Adding preliminary kpp test to OpenAD verification.
650        required small tweakes in kpp_routines.F
651      - Merge and update from Krishna Narayanan's contrib area:
652        * Add one variable for preliminary OpenAD DIVA
653        * Add replacement time-stepping for OpenAD DIVA
654        * genmake2 flag -diva (but only for OpenAD; preliminary)
655        * required modifs for OAD_support
656        successful preliminary test for tutorial_global_oce_biogeo/
657    o pkg/seaice:
658      - initialise deltaC in seaice_lsr, cosmetic changes in seaice_lsr
659      - add cpp-flag SEAICE_DELTA_SMOOTHREG for option of regularising
660        delta with a smooth function in s/r seaice_calc_viscosity
661        (no effect on EVP)
662      - rename local suffix "sqr" into "sq" for more consistent variable names
663    o pkg/seaice:
664        add new parameter SEAICE_deltaMin that is used ***only***
665        for regularizing Delta (and nothing else, like the parameter
666        which is also used for all sorts of things SEAICE_EPS).
667        Defaults to SEAICE_EPS for backward compatibility only.
668    o pkg/seaice: replace erroneously storing e12Csqr on the wrong tape with
669        the wrong key by inialising it before use -> fixes a recomputation
670        problem but does not fix the gradient
671    o pkg/layers:
672      - move resetting of flux arrays to outside the iLa loop
673        (this caused layers_diapycnal to not work with more than one layer coord.)
674      - fix bug in calculation of layers_recip_delta in layers_init_fixed.F
675    o pkg/layers:
676      - remove from common block 3D layers fields (used to diagnose transport
677        in tracer coords) and declare them as local arrays in layers_calc.F
678    o pkg/seaice:
679      - Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it
680        in lab_sea forward experiment (changes results -> updated)
681      - update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v
682    o pkg/seaice: modify seaice_lsr.F in order to improve the gradient
683       computations; for SEAICE_VECTORIZE_LSR
684      - move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v)
685        sweep to the outside,
686      - remove store directives and add "CADJ loop sequential" directives
687        in analogy to model/src/solve_tridiagonal.F
688      - replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop
689        boundaries to yield more readable code. This has also the charming side
690        effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without
691        SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in
692        seaice_lsr_tridiagu/v now requires either of these flags, vectorization
693        still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as
694        an additional option)
695       The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F
696       but the adjoint gradients (which are affected by this change) still explode.
697    o coupler (atm & ocn _compon_interf):
698      - avoid using Exch2 IO mapping if not suitable.
699    
700    checkpoint65m (2015/06/15)
701    o pkg/layers:
702      - clean-up old parameters setting (from Sep 2012):
703        + remove old parameters setting from common block (declared locally);
704        + stop if any old parameter is mixed with new parameters;
705        + check for valid or consistent parameter setting (e.g., layers_name)
706      - check that layers_bounds for Pot.Density are in the right range;
707        this is supposed to catch un-updated setting after recently shifting
708        potential density field "prho" by -1000 (now in "sigma" scale).
709    o pkg/layers:
710      - Added missing call to layers_fill for keeping track of tottend in
711        pkg/diagnostics/diagnostics_fill_state.F
712    o pkg/layers:
713      - added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning
714        of diapycnal fluxes
715    o pkg/layers:
716      - reverted changes to interpolation to previous treatment; there
717        was never actually a problem
718    o pkg/layers:
719      - fix interpolation of layers tracers in the presence of partial cells
720      - add lots of new functionality to compute water mass transformation
721        (enabled by CPP flag LAYERS_THERMODYNAMICS)
722      - add new calls from main code (diags_oceanic_surf_flux.F,
723        thermodynamics.F, impldiff.F) and gad to save the necessary fields
724        for layers_thermodynamics calculations
725    o pkg/ptracers:
726      - add capability of stepping a passive tracer forward without advection
727        by setting PTRACERS_advScheme to 0.
728    o pkg/diagnostics:
729      - add few (threads) _BARRIER around any update of "diag_pkgStatus".
730    o pkg/layers:
731      - shift potential density field "prho" by -1000 for density layer averaging so
732        that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000);
733        Note that density bin boundaries (layers_bounds in data.layers) have
734        to be set accordingly (i.e., shifted, in sigma scale).
735    o pkg/layers:
736      - fix snap-shot output of layer thickness @ V.pt and output of pot.density
737      - fix calculation of layer non-weighted velocity and layer probability
738      - add diagnostics for pot.density used for layer averaging
739    o pkg/seaice:
740      - seaice_calc_viscosity.F: change computation of deltaC**2 to ensure
741        positiveness, modify a few comments and improve variable names,
742      - the changed computation of deltaC affects most seaice-related
743        experiments at the truncation level.
744        seaice_itd.thermo is affected by far the most, with
745        only 7 digits of agreement remaining; update experiments.
746    
747    checkpoint65l (2015/05/04)
748    o pkg/shelfice:
749      - in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set
750        factor drKp1 to zero where it is negative (ie. do not use
751        SHELFICEBoundaryLayer if hFacC>1)
752      - the same for factor drLoc in shelfice_forcing.F
753    o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem
754        with modules in ptracers, when using testreport option "-small_f"
755    o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD)
756      - replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1))
757    o verification/testreport
758      - add new option -small_f
759        with this option testreport first makes the target small_f (*.f files)
760        before running make (all). This is useful for explicit inlining when
761        all sources need to be full available.
762    o pkg/exf/exf_interp.F:
763        remove previous changes related to reverse (decreasing) input grids latitude
764    
765    checkpoint65k (2015/04/01)
766    o pkg/ecco:
767        fix missing cosphi initialization; use eccoiter in place of optimcycle;
768        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
769        instead of active read/write
770    o pkg/ctrl:
771        if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL
772        instead of active read/write.
773    o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F
774        return if .NOT.useAUTODIFF
775    o pkg/seaice: add CPP brackets (cost function related).
776    o model/src:
777        add useAUTODIFF run time switch.
778    o pkg/exf/exf_interp.F:
779        add code to allow input grids with latitude starting in the north (i.e. when
780        j=1 corresponds to northern edge of field); modify global_with_exf to test
781        this feature.
782    o verification/testreport:
783      - replace "grep -A3" with POSIX conformal sed command, because there are
784        implementations of grep that cannot do contextual searches
785      - replace "cat -n" by "nl" (two occurrences), because not all implementations
786        of "cat" have the option "-n"
787    o model/src:
788        add new file gsw_teos10.F that contains 3 functions, more or less a copy
789        of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to
790        convert from conservative to potential temperature. For now they are not
791        called anywhere.
792    o pkg/ggl90: make "useIDEMIX" useful
793      - re-organize code in s/r ggl90_calc a little to move computations that
794        are different for idemix into separate loops (changes verification
795        experiment idemix at truncation level, 12 digits remain -> updated)
796      - requires 2 new 2D fields KappaM, verticalShear
797      - make hFacI and recip_hFacI local 3D variables that are passed to
798        s/r ggl90_idemix
799      - fix and improve some comments
800    
801    checkpoint65j (2015/02/25)
802    o pkg/openad
803      - synchronize seawater.F with version in model/src: replace routine
804        body of sw_temp by calling sw_ptmp and fix/add a few comments.
805    o pkg/mnc:
806      - change default value of pickup_read/write_mnc params to FALSE
807        (since few features are missing in reading MNC pickup files).
808    o model/src:
809      - change default (background) vertical diffusivity for salt to be the
810        temperature (background) vertical diffusivity.
811      - change background vertical diffusivity in vertical mixing pkgs ggl90,
812        kl10, my82 and pp81 from temperature diffusivity to salinity diffusivity.
813        This makes ptracers default diffusivity (that uses salt diffKr) more
814        consistent with vertical mixing schemes.
815    o verification/testreport:
816      - fix typo in "-pcls" option ;
817      - put temp files in /tmp (instead of in local dir)
818      - add option "-ncad" to use genmake2 new option "-nocat4ad"
819      - allow to use "-j" option (for multi-procs make) for AD, OAD and TLM.
820    o pkg/ggl90 (idemix code):
821      - apply few fixes ; add some missing "_d 0" ; update output of exp.
822        global_ocean.90x40x15.idemix
823    o OpenAD
824      - enable active file I/O and begin removal of work-around code
825        for OpenAD for handling control variables (memory vs. active files)
826      - new CPP options file OPENAD_OPTIONS.h
827      - revert to genarr2d gradient check for hs94.1x64x5
828      - (genarr3d tested by tutorial_global_oce_biogeo, tutorial_tracer_adjsens)
829      - gentim2d works for halfpipe_streamice but not yet hs94.1x64x5
830    o tools/genmake2:
831      - add option for an alternative Makefile (from Martin) where multiple
832        source files are sent to TAF (instead of all in one file).
833    o pkg/ggl90: add IDEMIX (Olbers and Eden, 2013)
834      - code provided by Carsten Eden as an extension of ggl90
835      - so far the code is turned on within ggl90 by setting a CPP-flag at
836        compile time; a runtime flag implementation is not yet complete
837      - tested in new verification experiment global_ocean.90x40x15.idemix
838    o verification:
839      - reduce length of the AD test run by half for experiments
840        global_ocean.cs32x15 (std + thsice) and isomip
841      - enable active file I/O for OpenAD, adjust verifications accordingly
842      - halfpipe_streamice: change gradient check from genarr2d to gentim2d
843    o verification/testreport:
844      - fix two non-POSIX sed statements so that there are no error messages
845        on Mac OS X
846      - replace hostname -s with hostname | sed 's/\..*$//'
847    o model/src/seawater.F:
848      - simplify SW_TEMP to just calling SW_PTMP with P and PR exchanged
849        (following the matlab code), which would have avoided the bug caught
850        by Matt (see below) in the first place
851    o pkg/shelfice:
852      - implement alternative discretisation of quadratic drag (selectBotDragQuadr)
853        and true distance in no-slip BC (bottomVisc_pCell) similar to bottom-drag.
854      - fix sign of friction tendency (no-slip BC) and fix u,v drag for thin
855        ice-shelf case (i.e., within surface level).
856      - add config summary in shelfice_check.F
857      - remove global variable recip_SHELFICElatentHeat and replace by a local
858        variable recip_latentHeat
859      - introduce diagnostics for friction velocity uStar (in case of
860        SHELFICEuseGammaFrict)
861      - change verification experiment isomip.htd:
862        + start from pickup (as input_ad at nIter0=8640)
863        + start from SHELFICEmassFile instead of SHELFICEloadAnomaly file
864        + test SHELFICEuseGammaFrict = .TRUE.
865        + test SHELFICEadvDiffHeatFlux = .TRUE.
866    o model/src:
867      - fix bug (Thanks to Matt) in function SW_TEMP (to convert Pot.Temp to
868        in-situ Temp) and in routine SW_TEMP (in pkg/openad);
869        update output of experiments global_with_exf.yearly and isomip (all 6).
870    o pkg/shelfice:
871      - change setting of kTopC to also be zero where there is no ice-shelf.
872      - zero out surface forcing arrays (for now, for T & S + EmPmR) where
873        ice-shelf is.
874      - first attempt to get RealFreshWaterFlux effects: for now, only without
875        SHELFICEboundaryLayer ; not consistent if using synchronous time-stepping.
876    o pkg/seaice: add the option to prescribe a fixed thickness PDF
877      for thermodynamic calculations
878      - because of divisions of the type 7/7 not exactly equal to 1, this change
879        affects results of some verification experiments by up to 4 digits:
880        global_ocean.cs32x15.seaice, lab_sea, lab_sea.fd, lab_sea.salt_plume,
881        seaice_obcs, seaice_obcs.seaiceSponge, seaice_obcs.tides
882        adjoint: lab_sea, lab_sea.noseaicedyn
883        -> updated
884    
885    checkpoint65i (2015/01/23)
886    o model/src:
887      - change units of frictionHeating field from W to W/m^2
888      - fix bug in frictional heating from stratospheric drag in
889        S/R ATM_PHYS_TENDENCY_APPLY_V
890      - with synchronous time-stepping: move resetting to zero of frictionHeating
891        field from load_fields_driver.F to thermodynamics.F ;
892      - add diagnostics for frictional heating.
893    o model/src & gmredi K3D:
894      - add frictionHeating field to pickup-files (for synchronous time-stepping)
895      - move ALLOW_EDDYPSI block out of DYNVARS.h and merge it into FFIELDS.h
896      - rename uMean,vMean --> uEulerMean,vEulerMean (+ change diagnostics name
897        and name in pickup file).
898      - fix arguments of few DIAGNOSTICS_FILL calls in gmredi_k3d.F
899    o model/src:
900      - move (from ini_forcing.F) initialisation of all arrays in header file
901        FFIELDS.h into new S/R ini_ffields.F ; this fix broken restart
902        (since Nov 2012) with option selectAddFluid=1.
903    o pkg/shelfice:
904      - change units (+ document) of newly added field "shelfIceMassDynTendency"
905      - upgrade from _RS to _RL shelficeMass & shelficeLoadAnomaly arrays.
906    o pkg/obcs: re-organize obcs_calc_stevens.F to prepare for passive tracers
907    o pkg/seaice: two new runtime parameters:
908      - SEAICE_cStar replaces the hard wired "20" in the strength formulation,
909        long overdue
910      - SEAICE_tensilFac: preparation for Koenig-Beatty+Holland (2012)
911        parameterization of tensil stress for fast ice (does not do anything yet)
912    o pkg/seaice/seaice_check.F: left over from restricted addtive Schwarz method
913        for LSR: move checking overlaps out of JFNK-if-block
914    o pkg/atm_phys:
915      - move copy of grid and dynamical fields out of atm_phys_driver.F into
916        new S/R ATM_PHYS_DYN2PHYS.
917      - fix level height for Linear Free-Surf case (to be consistent with
918        fixed-in-time pressure levels).
919    o pkg/mom_common (bottomdrag):
920      - average bottomDragFld (ALLOW_BOTTOMDRAG_CONTROL) from grid-cell center
921        to correct location (U & V point) in S/R MOM_U/V_BOTTOMDRAG;
922        update output (adm & tlm) of experiment global_ocean.90x40x15.bottomdrag.
923    o pkg/shelfice (u/v_drag):
924      - add one argument (the other velocity component) to S/R SHELFICE_U/V_DRAG;
925      - use SHELFICEDragLinear & SHELFICEDragQuadratic in shelfice_v_drag.F
926        (now similar to shelfice_u_drag.F)
927      - remove condition on bottomDragTerms when calling SHELFICE_U/V_DRAG
928        from mom_vecinv.F (similar to mom_fluxform calls).
929    o pkg/mom_common (bottomdrag):
930      - add one argument (the other velocity component) to S/R MOM_U/V_BOTTOMDRAG;
931      - add options for alternative discretisation of velocity norm in quadratic
932        bottom drag: averaging of grid-cell-center KE to U.point and V.point
933        (selectBotDragQuadr=0, original code) can produce noisy patterns; this
934        improves when averaging only the other component (e.g. vVel for U bottom
935        drag) using wet-point method (selectBotDragQuadr=2) or not (=1).
936      - add options (bottomVisc_pCell) to account for partial-cell in bottom
937        friction (no-slip BC) thus getting the true distance from the bottom;
938        off by default since this also reduces model stability (explicit bottom
939        friction). Changes produce different machine truncation with linear-drag
940        + no-slip BC: update output of experiments exp4.stevens (10 digits) and
941        front_relax (bvp & mxl, 10 & 11 digits).
942    o model/src & mom pkgs:
943      - add one more level to vertical viscosity local arrays (Nr+1, previously Nr)
944        since no-slip bottom BC uses viscosity @ k+1 to update velocity @ level k
945      - for now and until vertical mixing scheme are updated to fill up level Nr+1,
946        just copy level Nr value to level Nr+1.
947    o doc:
948      - add notes form Abhisek Chakraborty on how to close Heat & Salt budgets.
949    o pkg/shelfice:
950      - shelfice_init_varia.F, shelfice_init_fixed.F, shelfice_readparms.F,
951        SHELFICE.h: move array shelficemass to init_varia, initialise
952        from array shelficemassinit, which is set in init_fixed and
953        has option to be set from file; introduce array
954        shelficeMassDynTend array, set thru file in init_fixed
955      - NEW FILE: shelfice_step_icemass.F: update shelficemass from either
956        shelfIceFreshWaterFlux and shelficeMassDynTend or H_streamice in
957        pkg/streamice
958      - shelfice_thermodynamics.F: call shelfice_step_icemass if
959        SHELFICEMassStepping = .true.
960      - shelfice_ad_diff.list: add new subroutine shelfice_step_icemass.f
961    
962    checkpoint65h (2014/12/17)
963    o verification/global_ocean.90x40x15, global_ocean_ebm:
964      - update to generic controls.
965    o pkg/ctrl:
966      - ctrl_map_ini_genarr.F: test for igen>0
967      - ctrl_init_variables.F: add call to CTRL_MAP_INI_GENTIM2D.
968      - move gentim2d part of ctrl_map_ini_genarr.F to
969        new separate routine : ctrl_map_ini_gentim2d.F
970      - ctrl_cost_driver.F,ctrl_init.F ctrl_map_ini_genarr.F:
971        add time variable weights and cyclic controls (time mean,
972        seasonal cycle, etc) capabilities to gentim2d
973    o pkg/ecco:
974      - move reading of error, conversion to weights from
975        ecco_cost_init_fixed.F to ecco_toolbox.F (ecco_readwei)
976    o global_oce_llc90, cs32:
977      - activte sbo.
978      - CTRL_SIZE.h : add maxCtrlProc.
979      - activate the new genctrl capabilities.
980      - update following reorganization of global_oce_input_fields.tar.gz  
981    o pkg/ctrl/ctrl_ad_diff.list:
982      - add missing ctrl_init_rec.f
983    o tools/OAD_support/keepOriginal:
984      - add ctrl_init_rec.F
985    o model/src/the_main_loop.F, pkg/ctrl/ctrl_map_ini_genarr.F:
986      - avoid recomputations of xx_gentim2d_dummy.
987    o momentum diagnostics:
988      - move filling of diagnostics Um_Diss & Vm_Diss from mom_fluxform.F and
989        mom_vecinv.F to timestep.F (to include Smag-3D contribution).
990    o pkg/seaice/seaice_lsr.F:
991      - fix computation of BU/BV, make sure they are non-zero, only necessary
992        for cubed sphere exchanges and SEAICE_OLx/y>0.
993        This makes calling s/r fill_cs_corner_rl obsolete (removed).
994    o verification/global_ocean.cs32x15/input.seaice
995      - add test for strong implicit coupling and restricted addtive Schwarz
996        methods for LSR
997      - update results/output.seaice.txt
998    o verification/tutorial_global_oce_biogeo:
999      - AD & OAD set-up: switch off ALLOW_OLD_VIRTUALFLUX (like in fwd set-up)
1000        and set PTRACERS_EvPrRn(1,2) to zero (for DIC & ALK);
1001        update output_adm,_oadm,_tlm.txt
1002    o pkg/dic:
1003      - change default to "#undef ALLOW_OLD_VIRTUALFLUX" in DIC_OPTIONS.h
1004      - add a stop when ALLOW_OLD_VIRTUALFLUX is defined and PTRACERS_EvPrRn
1005        for tracer 1 & 2 is set (to avoid double counting of dilution effect).
1006    o verification/tutorial_global_oce_biogeo:
1007      - AD & OAD set-up: do not set PTRACERS_EvPrRn for tracer 1 & 2 since
1008        dilution is already added by pkg/dic ALLOW_OLD_VIRTUALFLUX ;
1009        update output_adm,_oadm,_tlm.txt
1010    o eesupp/src:
1011      - add fill_cs_corner_rl.F (_RL-copy of fill_cs_corner_rs.F)
1012        and call it in seaice_lsr when using nonzero SEAICE_OLx/y
1013    o pkg/seaice: introduce strongly implicit coupling, intended for stabilizing
1014      LSR (following Hutchings et al. 2004)
1015      - introduce zetaZ as a global variable (requires adjustments in
1016        seaice_evp.F and seaice_jfnk.F) and compute analoguously to etaZ
1017        in seaice_calc_viscosities.F
1018      - new flag SEAICEuseStrImpCpl (default off)
1019      - add new terms zetaZ*du/dy and zetaZ*dv/dx on both sides of the
1020        momentum equations
1021      - JFNK-solver (preconditioner) adjusted to allow using this method
1022        (where it does not have any positive effect)
1023    o pkg/seaice
1024      - add overlap for restrictive additive Schwartz method also to LSR, but
1025        turn it off by default (because it only seems to work for non-cubed
1026        sphere/llc topologies)
1027    o pkg/autodiff
1028      - add extra exchanges in addummy_in_steppging also for mnc output
1029    o pkg/seaice:
1030      - add extra exchanges before dumping adjoint fields in seaice_ad_dump.F
1031        to avoid stripes in the adjoint output (similar to addummy_in_stepping.F)
1032    o pkg/obcs:
1033      - add option to specify domain-connected piece Id along OB though files
1034        (for now, only used to diagnose PhiVel; default =1 -> global correction)
1035      - modify obcs_diag_balance.F to process each connected-part separately;
1036        exclude OB where Id = 0 but keep the full divergence there (-> constant
1037        Psi along this portion of OB and all inflow derived from grad(Phi))
1038      - add example of OB-conect files in verification/so_box_biogeo/input.
1039    o pkg/diagnostics:
1040      - improve treatment of Open-Boundaries in Velocity-Potential calculation:
1041      a) use non zero matrix element across OB and solve for Phi 1 grid point
1042         outside OB (i.e, where tracer OBCS are applied).
1043      b) global imbalance of inFlow/outFlow across OB: instead of modifying
1044         velocity across OB, spread it uniformly along the OB in the RHS.
1045    
1046    checkpoint65g (2014/11/19)
1047    o pkg/diagnostcis:
1048      - add preconditioner off-diagonal factor (diagCG_pcOffDFac) as run-time param
1049    o pkg/my82,pp81,kl10:
1050      - fix ALLOW_3D_DIFFKR implementation (previously had no effect): use 3-D
1051        field diffKr as background diffusivity to set minimum diffusivity value.
1052    o pkg/seaice:
1053      - add new parameter SEAICEuseEVPrev (for revisited EVP by
1054        Bouillon et al 2013)
1055      - add SEAICE_evpAlpha/Beta to namelist
1056      - modify seaice_evp code to able to use SEAICEuseEVPrev. These changes
1057        involve trivial re-ordering of divisions/multiplications that should not
1058        have any effects, but ... they do change the results of lab_sea.hb87 so
1059        that only 2 digits of agreement remain, in line with the general
1060        instability/fragility of the evp-code. For now, I do not care and just
1061        update the verification experiment
1062    o pkg/ctrl : add generic pre-processing (xx_genarr2d_preproc etc)
1063      - remove xx_genarr2d_numsmooth etc
1064      - use xx_genarr2d_preproc etc instead
1065      - carry out smooth_correl2D at initialization stage rather than during
1066        time stepping.
1067      - get smoothOpNb from xx_gentim2d_preproc
1068    o global_oce_cs32 :
1069      - add test of generic ecco capabilities.
1070    o pkg/exf/exf_getsurfacefluxes.F :
1071      - add to tmpUE/tmpVN rather than re-initializing them (conventional behavior).
1072    o pkg/ctrl,ecco :
1073      - omit un-necessary arguments to ctrl_cost_gen.F unless ECCO_CTRL_DEPRECATED
1074        is defined.
1075    o pkg/seaice: add diagnostics for Delta (deformation parameter)
1076    o model/src:
1077      - when ALLOW_3D_DIFFKR is defined, add a Warning if any of the vertical
1078        diffusivity (background) is specified but ignored.
1079    o verification:
1080      - in testreport, convert hostname to lower case for default output dir name
1081    o model, pkg : add useCTRL, useECCO parameters (on/off run time switch).
1082    o pkg/dic: add modifications from Hajoon:
1083      - add iron sedimentation flux function of the flux of PO4 out of bottom layer
1084      - light attenuation: add self-shading effect by climatological Chlorophyll
1085        (read from file).
1086    o pkg/seaice/seaice_preconditioner.F : fix cpp flags, so that code also
1087        compiles when SEAICE_ALLOW_DYNAMICS is undefined
1088    o global_oce_llc90,cs32 : ecco_v4 verification exps now use separate
1089        AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h, ECCO_OPTIONS.h rather than
1090        ECCO_CPPOPTIONS.h (i.e. replacing the deprecated, circumvoluted,
1091        approach where CPP_OPTIONS.h includes an omnipotent
1092        ECCO_CPPOPTIONS.h that superseeds pkgs '_OPTIONS.h').
1093    o pkg/ctrl/ctrl_map_ini_genarr.F : include GMREDI_OPTIONS.h where
1094        ALLOW_3D_KAPGM, ALLOW_3D_KAPREDI (to be added later) belong.
1095    o pkg/seaice/SEAICE_SIZE.h : replace ALLOW_AUTODIFF_TAMC with ALLOW_AUTODIFF
1096        to avoid needing AUTODIFF_OPTIONS.h anytime SEAICE_SIZE.h is included
1097        (it seems that THSICE_SIZE.h, PTRACERS_SIZE.h have the same issue...)
1098    o model/src, pkg/smooth, profiles, salt_plume, seaice, exf, ecco, ctrl :
1099      add ECCO_OPTIONS.h, AUTODIFF_OPTIONS.h, CTRL_OPTIONS.h when needed
1100      - ECCO_OPTIONS.h is needed when including ecco_cost.h, ecco.h
1101      - AUTODIFF_OPTIONS.h is needed when including tamc.h, tamc_keys.h
1102      - CTRL_OPTIONS.h is needed when including ctrl.h, optim.h, etc
1103    o pkg/ctrl,ecco,exf :
1104      - remove variables associated with NON-generic costs,
1105        unless ECCO_CTRL_DEPRECATED is defined.
1106      - remove NON-generic NON-obcs controls,
1107        unless ECCO_CTRL_DEPRECATED is defined.
1108    o pkg/ctrl : added ctrl_local_params.h
1109    o pkg/ecco : added ecco_local_params.h
1110    o verification : added ECCO_CTRL_DEPRECATED to most as and oad
1111        experiments, which will progressively be removed once the
1112        experiments are revised to use only generic controls/costs.
1113    
1114    checkpoint65f (2014/10/13)
1115    o pkg/ctrl, ecco, seaice : minor changes in headers
1116    o global_oce_llc90,cs32 : ecco_v4 verification exps now test generic
1117        cost function and control capabilities added since checkpoint65c.
1118    o pkg/ctrl: regroup all obcs ctrl variables in CTRL_OBCS.h.
1119    o pkg/ecco: increase modularity and improve logic
1120      - ecco_toolbox.F (new) : basic operations that are often used,
1121        including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk,
1122        ecco_addcost, ecco_add, ecco_div, ecco_readbar.
1123      - cost_gencal.F (new) : determine filnames and records.
1124      - cost_genread.F, cost_generic.F : condense code using ecco_toolbox.
1125      - cost_generic.F : use spzeroloc rather than hard-coded -9999,
1126        and exploit the above functions leading to more compact code.
1127      - cost_genread.F : rm un-necessary arguments, re-arrange args order.
1128      - ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj,
1129        using_ers, using_gfo, using_mdt is now only defined within gencost)
1130    o pkg/ecco: extend generic cost capabilities
1131      - pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost
1132        capabilities via gencost_preproc (+ _c,_i,_r related params),
1133        gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod,
1134        gencost_outputlevel arguments to cost_generic
1135      - pkg/ecco/cost_genread.F (new) : interface between cost_generic
1136        and active_read, making room for gencost_preproc to take effect.
1137        Added preproc code ('climmon') to replace GENERIC_BAR_MONTH.
1138      - pkg/ecco/cost_generic.F :
1139        compute and store misfit maks*(model-data) in localdif that is
1140        then used in cost and for output, output misfit if outlev.GT.0
1141      - pkg/ecco/cost_averagesfields.F : depend on gencost_barskip
1142        rather gencost_barfile for deciding whether to write barfile
1143      - pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd
1144      - pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from
1145        ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip
1146      - pkg/ecco/ecco_summary.F : report gencost variables
1147      - pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs
1148    o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA
1149    o pkg/ecco: internal re-organization
1150      - resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl
1151        (rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter,
1152        mv relevant variables definition from ecco_cost.h to ecco.h,
1153        make sure gencost routines only include ecco.h)
1154      - throughout : add missing CCP switches, rm unused variables,
1155        and rm un-necessary CPP switches
1156      - throughout gencost routines : replace modelstartdate with
1157        gencost_startdate when needed
1158      - cost_bp_read.F : use arguments, instead of common blocs
1159        so that it can be used also by (new) cost_gencost_bpv4.F
1160      - ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0
1161      - ecco_phys.F : compute etanFull
1162      - ecco_readparms.F : rename using_topex as using_tpj, add
1163        bpv4-grace to gencost list, initialize added parameters
1164      - ecco_summary.F : include SIZE.h needed for augmented ecco.h
1165    
1166    checkpoint65e (2014/09/28)
1167    o pkg/obcs:
1168      - replaced the just-added CPP options with run-time variables
1169        (see pkg/obcs/OBCS_PARAMS.h for details)
1170    o pkg/obcs:
1171      - add additional CPP options for sponge boundary layers
1172        (see pkg/obcs/OBCS_OPTIONS.h for details)
1173    o pkg/atm_phys:
1174      - implement simple (obliquity only, assuming circular planet orbit)
1175        seasonal cycle for incoming insolation ; used when run-time parameter
1176        "select_incSW" is set to 1 ; by default (=0), uses old unchanged formula.
1177    o pkg/exf, pkg/ecco, pkg/ctrl:
1178      - add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets
1179      - activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip
1180      - implement gentim2d for xx_tauu, xx_tauv
1181    o pkg/ctrl, pkg/ecco :
1182      - fix and complement the generic controls implementation
1183    o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F,
1184        pkg/shelfice/shelfice_thermodynamics.F,
1185        verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F,
1186        verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F :
1187      - add weight in CTRL_GET_GEN calls
1188    o pkg/ctrl :
1189      - ctrl_get_gen.F : add weight as input parameter, and apply
1190        it directly rather than using smooth_correl2Dw (to be retired).
1191      - ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call
1192    o pkg/ctrl :
1193      - introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F,
1194        ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F)
1195      - re-activate ctrl_summary (call in ctrl_init.F)
1196    o pkg/ctrl/ctrl_cost_gen.F :
1197      - fix CCP brackets, remove un-necessary myiter, mytime
1198    o pkg/ecco, pkg/ctrl :
1199      - remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F)
1200      - remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F)
1201      - add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F)
1202      - add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F)
1203    
1204    checkpoint65d (2014/09/15)
1205    o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F :
1206      - add xx_genarr2d_bounds,xx_genarr3d_bounds,
1207        xx_genarr2d_numsmooth, xx_genarr3d_numsmooth
1208    o pkg/ctrl/ctrl_map_ini_genarr.F :
1209      - remove compilation failure
1210      - replace hard coded example
1211      - use ctrl_map_ini_gen2D, 3D
1212    o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F :
1213      - on/off switch based upon xx_genarr2d_weight,3d
1214    o src/packages_init_variables.F :
1215      - regroup pkg/estimation calls
1216      - remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO
1217        (moved to ctrl_init_variables)
1218    o cost/cost_init_varia.F :
1219      - remove ecco_cost_init_varia
1220        (moved to ecco_init_varia)
1221    o ctrl/ctrl_init_variables.F :
1222      - add CTRL_MAP_INI, CTRL_MAP_INI_ECCO
1223      - add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI
1224    o ctrl/ctrl_map_ini.F :
1225      - remove ctrl_map_ini_genarr, seaice_ctrl_map_ini
1226        (moved to ctrl_init_variables)
1227    o ctrl/ctrl_map_ini_ecco.F :
1228      - remove ECCO_PHYS (mv to ecco_init_varia)
1229      - remove seaice_ctrl_map_ini (mv to ctrl_init_variables)
1230    o ecco/ecco_ad_diff.list :
1231      - add ecco_init_varia.f
1232    o ecco/ecco_init_varia.F
1233      - new routine
1234    o pkg/streamice:
1235      - move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F
1236        to streamice_init_fixed.F ; fix setting of STREAMICEisOn.
1237      - from model/src, only call pkg/streamice routines if useStreamIce is TRUE.
1238    o pkg/generic_advdiff:
1239      - fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014.
1240    o pkg/exf:
1241      - exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown,
1242         xxg_precip capability
1243      - exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch
1244    o pkg/ctrl:
1245      - ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d
1246    o model/src/load_fields_driver.F :
1247      - move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING
1248        so xx_gentim2d can be applied to e.g. exf fields in a timely manner.
1249    o OpenAD verification experiments:
1250      - Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h
1251        in src files (to enable to skip the ECCO_CPPOPTIONS.h);
1252        for now, only in pkgs used in OpenAD verification experiments.
1253      - Change all except one (halfpipe_streamice) OpenAD experiments to use pkg
1254        specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h)
1255        instead of using ECCO_CPPOPTIONS.h (with all relevant options in it).
1256        This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests.
1257    o OpenAD verification tests:
1258      - finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD);
1259      - finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for
1260        tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp.
1261      - leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/)
1262        and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC).
1263    o model/src & generic_advdiff:
1264      - change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S
1265        forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model
1266        dynamics requires valid tracer forcing only over tile interior but, for
1267        some diagnostics, may need to extend it over 1 point in tile halo region.
1268      - in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid
1269        tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max
1270        setting in temp/salt/ptracer_integrate.F
1271    o pkg/dic:
1272      - multiply tracer tendencies by maskInC (if ussing OBCS) before updating
1273        gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER
1274        in gchem_forcing_sep.F
1275    o pkg/autodiff & obcs:
1276      - add storage of current OB values for U & V (was already done for T & S).
1277    
1278    checkpoint65c (2014/08/30)
1279    o pkg/dic:
1280      - take out of dic_atmos.F the initialisation part (corresponding to istate=0)
1281        and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for
1282        AD compilers (but still a Pb with multi-threading and Ajoint dependencies).
1283    o verification:
1284      - new experiment testing OBCS and DIC pkgs, using params & output from
1285        tutorial_global_oce_biogeo but limited to a sub-domain around Drake
1286        passage: take OBCS from the last year of a 2 yrs simulation and initial
1287        conditions from t=1.yr while keeping the same forcing.
1288    o model/src:
1289      - when allowFreezing=T, only reset below freezing initial Temp to Tfreezing
1290        (at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T).
1291    o pkg/diagnostics (Stats-Diags):
1292      - re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to:
1293        a) refine region where stats are computed, excluding where arrhFac=0 ;
1294        b) fix missing interior mask (use with OBCS) in 3-D fields statistics;
1295        c) extend regional stats over the region edges (for U or V pt location).
1296    o pkg/gchem:
1297      - add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since
1298        pkg/dic is currently changing/updating ptracers values beyond the OB).
1299    o verification (hs94):
1300      - convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords
1301        bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments
1302        hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of
1303        apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged.
1304    o pkg/ptracers:
1305      - implement Adams-Bashforth on pTracers (instead of on tracer tendency),
1306        switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs)
1307      - change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer
1308        with AB-2 code (so that it get tested).
1309    o model/src:
1310      - allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS)
1311        with AB-2 code (previously only available with AB-3 code).
1312        Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F
1313        to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done
1314        there, by calling CYCLE_AB_TRACER).
1315    o pkg/generic_advdiff:
1316      - change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS,
1317        GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R
1318        + also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in
1319        S/R temp/salt/ptracers_integrate.F
1320    o model/src & pkg/ptracers:
1321      - remove common block variables gT,gS (in DYNVARS.h), except when
1322         USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly.
1323      - remove common block variable gPtr.
1324    o model/src & pkgs:
1325      - change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R
1326         ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G,
1327         IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT,
1328         GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T
1329      + change accordingly all calling S/R.
1330      - use local temperature/salinity/ptracer tendency array (without bi,bj)
1331        in S/R temp/salt/ptracers_integrate.F
1332    o pkg/seaice:
1333      - move computation of stress contributions to rhsU/V in s/r seaice_lsr
1334        to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code
1335      - make u/vIceC local variables if SEAICE_CGRID is defined only to be used
1336        in seaice_lsr
1337      - seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D
1338        in s/r seaice_lsr_calc_coeffs
1339    o pkg/mdsio:
1340      - in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long
1341        (e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is
1342        too long (e.g., > MAX_LEN_FNAM/2 )
1343    
1344    checkpoint65b (2014/08/12)
1345    o pkg/matrix:
1346      - pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP
1347    o model/src:
1348      - fix initialisation of geothermalFile; compile geothermal-flux code in
1349        natl_box verification experiment.
1350    o model/src & pkg/down_slope:
1351      - push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop).
1352      - in dwnslp_apply.F, update tracer tendency instead of the future tracer
1353        field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects
1354        results at machine truncation level: update output of experiments
1355        global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD).
1356    o pkg/diagnostics (Stats-Diags):
1357      - do not cumulate the full volume when DIAGNOSTICS_FILL is
1358        called with bibjFlg < 0 (no increment of the counter for 2D/3D diag);
1359        This fix the mean statistics when DIAGNOSTICS_FILL is called multiple
1360        times (but Min,Max and StD are still wrong).
1361    o model/src:
1362      - add geothermal flux forcing: read in ini_forcing.F as time-constant
1363        field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F)
1364    o model/src:
1365      - move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer
1366        _integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac
1367        arrays are already updated while adjustments (filters, conv.adjustment) are
1368        still applied later, in S/R TRACERS_CORRECTION_STEP.
1369    o model/src:
1370      - store in common bloc array "rhoInSitu" the virtual potential temperature
1371        anomaly that is used to compute geopotential: this make the atmos code
1372        more similar to ocean code which already uses rhoInSitu in calc_phi_hyd.F
1373    o pkg/seaice/seaice_lsr.F
1374      - rename integer variable ilcall to ipass (that's what it is called
1375        in the residual diagnostics
1376      - change time stepping for NPSEUDOTIMESTEP > 2 (does not change the
1377        default) for improved non-linear convergence of the first few steps
1378      - adjust a few comments and add new ones to explain some of the store
1379        directives
1380    o pkg/generic_advdiff (& ptracers):
1381      - re-work the code to check for valid advection scheme and for minimum
1382        size of overlap (now stored in local common bloc in gad_advscheme.F)
1383    o pkg/seaice: another attempt to make the adjoint work for sea ice dynamics
1384      - re-initialize more variables in seaice_lsr: u/vIceC, u/vIceNm1
1385      - add an auxilliary variable "bet" and fix store directives and keys in
1386        seaice_lsr_tridiagu/v, this seems to do the trick (i.e. more or
1387        less exact gradients in my tests); but there are still
1388        recomputation warning (although gradients are sort of OK), when
1389        SEAICE_LSR_VECTORIZE is not defined, so this flag and
1390        SEAICE_LSR_VECTORIZE_ZEBRA are recommended for efficiency.
1391      - update verification experiments lab_sea.
1392      - change some comments in S/R seaice_calc_viscosities
1393    o model/src:
1394      - if staggerTimeStep=T, always apply exchange to velocity field in
1395        do_stagger_fields_exchanges.F instead of in do_fields_blocking_exchanges.F
1396        (independent of using multi-dim advection or not); no effect on FWD run
1397        but affects AD results (at machine truncation level): update output of
1398        experiment 1D_ocean_ice_column (ad: 12 digits), hs94.1x64x5 (ad,oad: 13.d)
1399        and isomip (oad: 12.d).
1400    o pkg/generic_advdiff:
1401      - stop if doAB_onGtGs is set to FALSE but ignored
1402      - refine warning related to stability of tracer time-stepping
1403        regarding internal wave dynamics.
1404      - setting of AdamsBashforth_T,S when doAB_onGtGs=F: remove condition
1405        on staggerTimeStep & implicitIntGravWave (will now get a warning
1406        if potentially unstable).
1407    o pkg/kl10:
1408      - add new pkg "kl10" for mixing due to internal wave breaking, from
1409        http://www.sciencedirect.com/science/article/pii/S1463500310000144
1410        (contribution from Jody Klymak), tested in verification experiment
1411        verification/internal_wave/input.kl10/
1412    o isomip experiment:
1413      - test pkg/shelfice with Non-Lin Free-Surf in one of the FWD set-up
1414        (input.htd) and update the output.
1415    o cd_code experiments:
1416      - use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM &
1417        #undef CD_CODE_NO_AB_CORIOLIS) in experiments: cfc_example (fwd)
1418        global_ocean.90x40x15 (ad & oad) and OpenAD (ad & oad) and
1419        update the corresponding output.
1420    o pkg/seaice:
1421      - reduce the number of include files and store directives in
1422        S/R seaice_lsr_tridiagu/v
1423      - change the order of loops in one case in S/R seaice_lsr_tridiagv
1424        (only for SEAICE_VECTORIZE_LSR_ZEBRA defined), which allows me to
1425        get rid off one store directive (a TAF bug?)
1426      - add one more instance of ifdef SEAICE_VECTORIZE_LSR_ZEBRA in
1427        S/R seaice_lsr_tridiagv to change the loop range for consistency
1428      - remove ilcall, m from parameter list of S/R seaice_lsr_tridiagu/v
1429      - fix a bug that affects the JFNK solver: replace sNx/y by i/jMax in
1430        S/R seaice_lsr_tridiagu/v (requires update of
1431        offline_exf_seaice/input.dyn_jfnk)
1432    
1433    checkpoint65a (2014/07/27)
1434    o model/src:
1435      - Non-Lin Free-Surf in p/z coords: allows hFacW,S to be larger than
1436        surrounding hFacC=1 @ edge of a step with different kSurfC on either side
1437        (topo in p-coords, ice-shelf in z-coords); update output of experiments
1438        tutorial_global_oce_in_p and isomip (both AD and OpenAD output).
1439    o model/src:
1440      - collect momentum forcing tendency into local 2-D array (passed as argument
1441        to apply_forcing S/R); this simplifies mom. Forcing diagnostics and CD_CODE
1442        parts in timestep.F (without CD_CODE_NO_AB_MOMENTUM defined = the default);
1443        affects results at machine truncation level (e.g., if using OBCS_SPONGE).
1444      - collect T & S forcing tendency into local 2-D array (passed as argument to
1445        apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency.
1446        affects results at machine truncation level (e.g., ocean: if using
1447        SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist
1448        correction due to vertical advection).
1449      - update output of experiments: fizhi-cs-32x32x40 (13 digits),
1450        global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml:
1451        seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13),
1452        obcs_ctrl (ad & fwd grd @ 12 & 7).
1453    o pkg/ptracers & diagnostics:
1454      - use ptracers (short) name (instead of long one) to make ptracers diagnostics
1455        title (to avoid some unexpected truncation); sort out ptracers diags units.
1456      - collect ptracer forcing tendency into local 2-D array (passed as argument
1457        to apply_forcing S/R); add 3-D diagnostics for ptracers forcing tendency.
1458    
1459    checkpoint65 (2014/07/18)
1460    o pkg/fizhi:
1461      - add parenthesis around fizhi tendencies in fizhi_tendency_apply.F: this
1462        affects results at machine truncation level. Update output of experiments
1463        fizhi-cs-32x32x40 (12 digits for cg2d) & fizhi-cs-aqualev20 (13 digits).
1464    o pkg/seaice: more clean up
1465      - rename TAF common block tapes to be more consistent and remove
1466        unnecessary duplicates
1467      - add store directives to remove more recomputations, but use smaller
1468        tapes (and adjust keys) when SEAICE_LSR_ADJOINT_ITER is undefined.
1469        The idea behind this flag is to reduce the memory footprint when the
1470        adjoint of the LSR is not required. As of now, defining the flag
1471        SEAICE_LSR_ADJOINT_ITER increases 4 common block tapes for 2D field by
1472        a factor of SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h).
1473        For experiment offline_exf_seaice, this means on a linux box with gfortran
1474        nearly a factor of 10 (but keep in mind there is mostly seaice code in
1475        this experiment):
1476        > size mitgcmuv_ad
1477        text    data        bss     dec        hex
1478        5100659 1216  220458952  225560827  d71c8fb
1479        5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER)
1480        but only a moderate increase of 36% for global_ocean.cs32x15:
1481        text    data        bss     dec        hex
1482        6695027 1648 1014578664 1021275339 3cdf6ccb
1483        6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER)
1484      - note: there are still recomputations in global_ocean.cs32x15 and
1485        offline_exf_seaice and the gradient agreement changes (gets a
1486        little worse) for global_ocean.cs32x15 (-> update output_adm.seaice.txt)
1487      - in general, the AD gradients still are wrong
1488    o OpenAD
1489      - clean up code_oad/ directories somewhat by moving files
1490        dontCompile, dontTransform, keepOriginal to OAD_support/
1491    o model/src:
1492      - using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F
1493        (not currently tested): add dissipation terms before NLFS rescaling of
1494        tendencies (previously done after).
1495    o pkg/diagnostics:
1496      - write stats-diags in ascii file with more digits (same as in monitor).
1497    o pkg/down_slope:
1498      - drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with
1499        NLFS (not tested), use new recip_hFac value in order to conserve tracer.
1500    o model/src:
1501      - new file "apply_forcing.F" containing all the code previously in
1502        external_forcing.F, but with new argument list: pass, as new argument,
1503        the current level tendency array to update (instead of a direct update
1504        of the common bloc array). Change the corresponding calls.
1505      - add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use
1506        EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility).
1507    o pkg/seaice/seaice_lsr, a little bit of clean up
1508      - rearrange some code blocks, so that now all calculations for
1509        setting up the right-hand-sides done within one single block
1510        (I find that easier to read and understand)
1511      - rearrange freedrift-code to reduce the number of ifdefs
1512      - adjust some indentations and comments
1513    
1514    checkpoint64z (2014/07/10)
1515    o model/src and several pkgs:
1516      - change argument list of all S/R called from external_forcing.F and
1517        called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F)
1518        to pass, as argument, the current level tendency array to update
1519        (instead of a direct update of the common bloc array).
1520      - change also (in the same way) argument list of PTRACERS_APPLY_FORCING;
1521      - rename taueddy_external_forcing.f to taueddy_tendency_apply.F
1522    o pkg/seaice/seaice_lsr.F
1523      - always initialize local arrays in seaice_lsr_tridiagu/v
1524      - add more local tapes to seaice_lsr_tridiagu/v
1525      - move storing u/vice(:,:,bi,bj) out of seaice_lsr_tridiagu/v, but
1526        keep it in bi/bj loop; this seems to be essential
1527      - gradients are still wrong but only by 4-7 orders of magnitude
1528        instead of 15 orders of magnitude, lab_sea improves a little
1529    o pkg/seaice
1530      - (pkg/autodiff) remove storing/restoring of seaiceMaskU/V that
1531        generates unnecessary code in seaice_lsr_ad
1532      - add more store directives in seaice_lsr to avoid unnecessary code
1533        in seaice_lsr_ad
1534      - exclude some residual computations in seaice_lsr when
1535        ALLOW_AUTODIFF_TAMC is defined in order to avoid unnecessary code
1536        in seaice_lsr_ad
1537      - add more storing, a new tape (model/src/the_main_loop.F) and
1538        another key for SEAICE_LSR_VECTORIZE_ZEBRA (the local keys ilockey
1539        and klockey should be checked by a specialist)
1540      - modify ( define SEAICE_VECTORIZE_LSR and SEAICE_LSR_ADJOINT_ITER )
1541        and update lab_sea after previous changes in pkg/seaice below
1542    o pkg/autodiff:
1543      - introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and
1544        viscFacInAd : run time parameters allowing for adjoint switches
1545        note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F
1546    o pkg/ecco:
1547      - introduce cost_gencost_boxmean.F that computes a box mean
1548        temperature (for use in adjoint sensitivity studies).
1549    o model/src/set_defaults.F : initialize viscFacAdj to 1.
1550    o pkg/mom_common/mom_calc_visc.F:
1551      - ifdef ALLOW_AUTODIFF then include viscFacAdj factor.
1552    o pkg/seaice/seaice_summary.F:
1553      - statement for SEAICEadjMODE now in autodiff_readparms.F
1554    o pkg/seaice:
1555      - remove some store directives and add new ones in an effort to get
1556        finally rid off the recomputation warnings. This is successful
1557        when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are
1558        defined (i.e. no extensive recomputation warnings left), but there
1559        are still too many recomputations on the solver iteration level
1560      - define SEAICE_VECTORISZE_LSR in offline_exf_seaice/code_ad/SEAICE_OPTIONS.h
1561      - move definition of MPSEUDOTIMESTEPS into TAMC-block in
1562        SEAICE_SIZE.h
1563      - add a store directive in S/R seaice_calc_viscosities
1564    o pkg/seaice (ITD code):
1565      - fix definition of Hlimit for multi-threaded case
1566      - use double precision arithmetic to compute Hlimit: this affects results;
1567        update output of experiment seaice_itd.
1568    o replace content of verification/seaice_itd
1569      - instead of a 1D column use the configuration of offline_exf_seaice
1570        to test the ice thickness distribution code with ridging
1571      - this is a first shot at this experiment
1572      - change of some defaults of ridging parameters SEAICEhStar (from
1573        100 to 25) and SEAICEmuRidging (from 5 to 3) in seaice_readparms.F
1574        and lot of new comments.
1575    
1576    checkpoint64y (2014/06/20)
1577    o pkg/seaice/seaice_reg_ridge.F:
1578      - modify the regularization of very small volumes of ice; only check
1579        total volume HEFF, and do not apply correction to individual ice
1580        classes because that leads to funny patterns in the heat and fw-fluxes
1581        into the ocean. Adjust seaice_itd/results/output.txt
1582      - replace nITD by SEAICE_multDim in loop-ranges
1583    o pkg/exf:
1584      - add code to process the case field period = -12. with UV interpolation.
1585      - move debug print (formerly active when exf_verbose=T) from EXF_getFFieldRec
1586        into S/R that calls it (i.e., exf_set_gen.F, exf_set_uv.F & obcs_exf_load.F)
1587    o verification/global_with_exf:
1588      - switch all fields period to -12. (was previously untested) in input/data.exf
1589        (but keep secondary test ".yearly" unchanged); update the reference output.
1590    o pkg/cal:
1591      - new calendar type "noLeapYear" for 365 days calendar without any leap year.
1592    o pkg/exf:
1593      - new integer parameter "exf_debugLev" (default set to main model debugLevel)
1594        to replace logical switch "exf_verbose"
1595      - report in STDOUT when loading a new record (if exf_debugLev >= 3)
1596    o pkg/sbo:
1597      - update from Katherine Quinn: evaluate mass directly from density and SSH
1598        (budget using Finite Volume method) instead of from bottom pressure.
1599      - allow testreport to collect few selected SBO output ; tested in exp.
1600        global_ocean.90x40x15 (after updating the results, to include SBO output).
1601      - fix some multi-threading issues (in output part).
1602    o model/src & most packages:
1603      - always call {PKG}_READPARMS even if corresponding use{PKG}=F;
1604      - in {PKG}_READPARMS, in case use{PKG}=F: add a call to new S/R
1605        PACKAGES_UNUSED_MSG to print a weak warning when parameter file
1606        "data.{pkg}" exist ; and leave the S/R (return) just after.
1607      - more standard LAND pkg interface (land_init_fixed.F, land_check.F).
1608        + call LAND_READPARMS from packages_readparms.F
1609    o pkg/seaice:
1610      - remove code that resets useThSice in S/R seaice_readparms and
1611        replace it by a warning in S/R seaice_check
1612      - remove parameter MULTDIM, replace with nITD and runtime
1613        parameter SEAICE_multDim (still hard-wired to nITD if
1614        SEAICE_ITD is defined)
1615    
1616    checkpoint64x (2014/05/24)
1617    o verification/lab_sea:
1618      - update adjoint and TLM output following changes to pkg/salt_plume
1619      - un-do the update after putting back local recip_Cp in few places.
1620    o pkg/salt_plume: modifications by An Nguyen:
1621      - add capability to do brine rejection (salt-plume) as function of
1622        volume+tracers (instead of only salinity tracer).
1623      - conserve volume by exchanging volume from each kLev to above to
1624        accommodate in-coming brine volume
1625      - store surface and klev exchanged fraction + volume in 4 new 3-d arrays
1626      - switch KPP surf buoyancy due to brine forcing to 3-d
1627        (3 more 3-d arrays, 2 for SPforcing[T,S], 1 for boplume)
1628      - add salt_plume_volfrac, salt_plume_apply, salt_plume_tendency_apply_t
1629      - unrelatedly, also add ad-hoc capability to vary salt_plume scheme
1630        in East/West Arctic.
1631    o pkg/sbo:
1632      - incorporate modifications from Katherine Quinn to enable the use of sbo
1633        pkg in ECCO-v4 set-up ; remove SBO-TimeAve output ; add monitor-like
1634        output for future testreport verification (unfinished).
1635    o pkg/atm_phys:
1636      - change diagnostics (AtPh_Trf & AtPh_Qrf) of DARGAN_BETTSMILLER S/R:
1637        skip the reseting of t_ref & q_ref to initial t & q ; this preserve the
1638        output of S/R CAPECALCNEW (Parcel temp & q) for diagnostics.
1639    o pkg/seaice
1640      seaice_calc_ice_strength.F: modify expression to avoid divisions
1641        (affects truncation)
1642      seaice_do_ridging.F: clean up the insectarium
1643      - fix a bug that was compensated by areaScaling (-> remove areaScaling code)
1644      - added SEAICEsnowFracRidge to redistributed snow (2nd bug)
1645      - set closing/openingRate to zero where no extra iteration is need (3rd bug)
1646      - add some debugging information and error messages (warnings)
1647    o model/src: modifications relatd to atmosphere p*:
1648      - Switch to more accurate p* coordinate slope term (calc_grad_phi_hyd.F)
1649      - With p* or Sigma-P, use constant reference Pot.Temp (thetaConst) instead
1650        of vertical profile tRef in geopotential background and anomaly.
1651      - Acount for true p* correction in theta <-> T conversion in pkg/aim_v23
1652        and pkg/atm_phys.
1653      - Update FWD output of experiments: aim.5l_cs (x2), fizhi-cs-32x32x40,
1654        fizhi-cs-aqualev20, fizhi-gridalt-hs, tutorial_held_suarez_cs, cpl_aim+ocn.
1655    o pkg/seaice: fix a bug in seaice_prepare_ridging.F, forgot a sqrt
1656    o pkg/ptracers: compute ptracer source/sink due to linear free surface.
1657        not used right now, but can be used in BGC packages to fix conservation.
1658    o pkg/dic, pkg/gchem: move tracer_meanarea to gchem, so it can be used by
1659        other packages too.
1660    o pkg/seaice/seaice_calc_ice_strength.F: replace SEAICE_rhoSnow by
1661        SEAICE_rhoIce in the Rothrock (1975)-type strength calculations (bug fix)
1662  o model/src:  o model/src:
1663    - since we have several heat capacity (even in model/src), define "recip_Cp"    - since we have several heat capacity (even in model/src), define "recip_Cp"
1664      as local variable (no longer in common block) to avoid any confusion.      as local variable (no longer in common block) to avoid any confusion.
# Line 21  o verification: Line 1672  o verification:
1672    - update output_adm.txt files for experiment global_ocean.cs32x15 (seaice &    - update output_adm.txt files for experiment global_ocean.cs32x15 (seaice &
1673      seaice_dynmix) and lab_sea (primary test & noseaicedyn): moving/changing      seaice_dynmix) and lab_sea (primary test & noseaicedyn): moving/changing
1674      code from seaice_growth.F & seaice_advdiff.F to new ridging routines      code from seaice_growth.F & seaice_advdiff.F to new ridging routines
1675      affects AD gradient (down to 8-7 matching digits for global_ocean and      seaice_reg_ridge.F seaice_do_ridging.F affects AD gradient
1676      5-6 for lab_sea).      (down to 8-7 matching digits for global_ocean and 5-6 for lab_sea).
 seaice_reg_ridge.F seaice_do_ridging.F  
1677  o model/src: for atmosphere in p* coords:  o model/src: for atmosphere in p* coords:
1678    - store factor rStarFacC**atm_kappa (= pStarFacK) in common block    - store factor rStarFacC**atm_kappa (= pStarFacK) in common block
1679    - implement more accurate p* coordinate slope term (in calc_grad_phi_hyd.F),    - implement more accurate p* coordinate slope term (in calc_grad_phi_hyd.F),

Legend:
Removed from v.1.1990  
changed lines
  Added in v.1.2295

  ViewVC Help
Powered by ViewVC 1.1.22