/[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.41 by heimbach, Fri Jul 13 18:08:14 2001 UTC revision 1.355 by jmc, Fri Sep 24 17:10:22 2004 UTC
# Line 2  $Header$ Line 2  $Header$
2    
3      Notes on tags used in MITgcmUV      Notes on tags used in MITgcmUV
4      ==============================      ==============================
5    
6    o fix mask Pb in multidimAdvection on CS-grid (still a small Pb with ipass)
7    o fix biharmonic diffusion on CS-grid.
8    o more obcs stuff
9      - added obcs_external_fields_load as an alternative to the EXF-pkg option
10        for reading boundary values. This routine is called from
11        obcs_prescribe_read
12      - updated obcs_check
13    
14    checkpoint55c_post
15    o obcs stuff
16      - new runtime flags useOBCSprescribe, useOBCSbalance
17      - re-arranged obcs_calc
18      - moved exf_getobcs to obcs_prescibe_read
19        obcs_prescibe_read is called after ORLANSKI stuff
20        and independent of it (executable can contain all).
21      - updated obcs_check
22      - added exchanges for U,V,gU,gV for useOBCSprescribe=.TRUE.
23        These may be necessary only if tangential velocities are
24        prescribed at OB, not sure, needs testing.
25    o make the MNC_CW_ADD_VATTR_* subroutines all take scalar arguments
26      which simplifies the calls and passes the ifc check-bounds test
27    
28    checkpoint55b_post
29    o add a 2D scalar, Z location, exchange_2 routine.
30    o EXCH_UV for CS-grid: add one u,v in the corner-halo region, allows
31      to compute vorticity on a wider stencil [e.g., vort3(0,1)&(1,0)]
32      affects advect_cs results (for the wrong reason): update output.txt
33    o use a more standard discretization for biharmonic viscosity ;
34     (original version still available with #define MOM_VI_ORIGINAL_VISCA4 )
35      affects results of dome set-up: update output.txt
36    o fix gad_advection.F (CubedSphere part), back to version 1.23
37    o fix bug in mom_vi_del2uv.F (CubedSphere part).
38    
39    checkpoint55a_post
40    o merged code to
41      * prescribe/read time-dependent open boundaries
42        (works in conjunction with exf, cal)
43      * sponge layer code for open boundaries
44      * each boundary N/S/E/W now has its own CPP option
45        (healthy for the adjoint)
46    
47    checkpoint55
48    o up-to-date adjoint of previous breaks
49      - natl_box_adjoint: problem for exp 12, 13: cost = 0. needs fix
50      - global_ocean_ebm: adjoint still needs fix (TLM ok)
51      - global_ocean.90x40x15: extended GMREDI_OPTIONS.h
52      - carbon: * remove tr1-related adjoint verification
53                * add ptracer as control variable
54    o remove all tr1-related code (ALLOW_PASSIVE_TRACER)
55      (adjoint stuff still has some tr1 'names', but all use ptracer arrays)
56    
57    checkpoint54f_post
58    o in verification/carbin/ remove experiment related to
59      ALLOW_PASSIVE_TRACER (array tr1 etc)
60      code_ad/ input_ad/ results_ad
61    
62    o add two new packages
63      - ggl90, TKE-model of Gaspar et al. (1990), Blanke+Delecluse (1993)
64        + subject to optimization (memory)
65      - opps, OPPS (ocean penetrative plume scheme) of Paluszkiewicz+Romea (1997)
66        + subject to reordering (many GOTOs in the original code)
67        + so far opps is called for every (i,j) point, and then operates in
68          the vertical; one may want to reorder the scheme in order operate in
69          horizontal slabs at the cost of (a lot of) memory, at least ten new 3D
70          fields)
71    o overhaul of IO so that we now have flags for MDSIO and/or MNC
72      - all verification tests compile and run with linux_ia32_g77
73      - defaults are compatible with current input files--nothing
74        should change if you were not previously using MNC
75      - MNC output has been added in numerous places (eg. timeave)
76        but there are still a few writes not yet do-able with MNC
77        (this is in progress)
78      - flags now allow for either/or/both use of MDSIO and MNC and
79        documentation will soon follow
80      - numerous small formatting cleanups for ProTeX
81    o add version info (via BUILD_INFO.h) to MNC and stdout
82    
83    checkpoint54e_post
84    o add two new packages
85      - pp81 (Packanowski and Philander, 1981), Richardson number and
86        stratification dependent mixing
87      - my82 (Mellor and Yamada, 1982) level 2 turbulence closure scheme
88      - these scheme operate in a similar manner as KPP (without ghat, of
89        course), however there is only one diffusivity that is used for both
90        temperature and salinity (and passive tracers)ç
91    o add offline package
92    o add "verification/dic_example" which contains a dic-gchem-ptracer setup
93      provided by Stephanie Dutkiewicz
94    o genmake2: add ability to search for C compilers and cleanup test output
95      - fixes recent SX-6 problems and should help with others (eg. HP-UX)
96    
97    checkpoint54d_post
98    o data.diagnostics: if levels() is unspecified then ALL levels are diagnosed
99    o bug fix in pkg/cal/cal_addtime.F for TheCalendar='model' day count is wrong,
100      leading to additional shift by 5 days each year of integration
101       (i.e. leading to considerable offset over the years)
102    o update global_ocean.cs32x15/thsice: use z* + RealFW + staggerTimeStep
103    o start with no AB and no initial filtering (staggerTimeStep):
104      change the results of test-exp: hs94.128x64x5, hs94.1x64x5 & hs94.cs-32x32x5
105    o move ocean specific S/R calls from forward_step.F to do_oceanic_phys.F
106      (external loading & cpl import/export stay in forward_step.F)
107    o update coupling interface to work with new staggerTimeStep
108    o change MDSIO ptracers_pickup.
109    o fix a bug in Flux deriv. vs Ts (pkg/aim_v23/phy_suflux_sice.F);
110    o genmake2 fixes so netcdf now works on halem ("osf1_alpha_*")
111    o bugs fixed in kpp_calc.F (ustarY) and external_forcing.F (Qsw & Partial-cell)
112    
113    checkpoint54c_post
114    o replace surfaceTendency U,V,S,T,Tice,Ptr by surfaceForcing U,V,S,T,Tice,Ptr
115      this affects (truncation error) output.txt of test-exp:
116       global_ocean_ebm,_pressure,.cs32x15(&.thsice), lab_sea & natl_box
117    o pkg/kpp: replace pMask by maskC to reduce memory size (one 3.D array)
118    o change Qnet to always be the net heat flux, (+upward).
119      affects (truncation error) output of natl_box exp.: updated
120    o define the max number of passive tracers in PTRACERS_SIZE.h
121    o start to test mnc routinely in exp0
122    o add sea-ice loading (sIceLoad) as a new forcing field.
123    
124    checkpoint54b_post
125    o add testreport "-j JOBS" option for parallel builds (tested and pretty
126       impressive on Altix and Opteron systems)
127    o diagnostics can now write NetCDF files through the mnc package
128    o staggerTimeStep & NLFS: update pkg aim_v23 & thsice; update aim.5l_cs output
129    o staggerTimeStep & multi-Dim-Advec: Exch(U,V) added
130    o staggerTimeStep & NLFS: rescale T & S surface tendencies.
131      affects (truncation error) output of lab_sea & natl_box exp.: updated
132    o change pickup _cd & _ptracers (old pickup restart: usePickupBeforeC54=.T.)
133    
134    checkpoint54a_post
135    o re-write staggerTimeStep: step fwd U,V and then T,S (reverse the order).
136    o change pickup file (to restart from old pickup, set usePickupBeforeC54=.T.)
137    o get a perfect restart when using RealFreshWaterFlux + NLFS (not finished)
138    o update output of all exp. that use staggerTimeStep (except hs94.cs & 2D)
139      + internal_wave (shift in writing cg2d_ini_res)
140    checkpoint54a_pre
141    
142    o require forcing_In_AB=.FALSE. and remove surfaceTendencyTice from pkg/seaice
143      - modified verification/lab_sea and natl_box_adjoint accordingly
144    
145    checkpoint54
146    checkpoint53g_post
147    o prepare splitting of thermodynamics: store convect.counter in common block
148    o store d.etaH/dt (instead of Div.hV) in common ; affects (truncation error)
149      output of: global_ocean.cs32x15, global_ocean_pressure & internal_wave
150    o cnh's modifs to gad_advection.F for cube-sphere multi-dim advection
151    o new parameter "nShapS": allow to treat differently S from T (nShapT)
152    o separate Vert.Advec.Scheme from horizontal Advec.Scheme (T & S)
153    o restore adjointability
154    
155    checkpoint53f_post
156    o modifications that affect AIM experiment results (update output.txt):
157      - no advection of S at top interface Nr (pkg/generic_advdiff)
158      - air surf. temp: use lower value between T0 & T1 (phy_suflux_prep.F)
159    o AIM pkg:
160      - include stability function into surf.Flux derivative relative to Tsurf
161      - calculate clear-sky radiation & surface temp. change (for diagnostics)
162    
163    checkpoint53e_post
164    o merged cylindrical coord configuration
165    o added rotating_tank experiment
166    checkpoint53e_pre
167    
168    checkpoint53d_post
169    o faulks upgraded: re-generate output.txt that have changed:
170       global_ocean.cs32x15(.thsice), global_ocean_ebm, lab_sea, natl_box
171    o Added Bryan and Lewis, 1979, vertical diffusivity profile
172    o pkg/land: fix problem in land_impl_temp.F when Ts arround freezing.
173    o added Sadourny discretization of Coriolis
174      - moved some PARAMETERS from mom_*_coriolis.F to PARAMS.h
175      - re-enabled use of omega3 (useAbsVorticity)
176    o added Leith (Phys. Fluids, 1968, 10, 1409-1416) variable viscosity for
177      vector-invariant equations
178      - note: does *NOT* yet use same variable visc. for no-slip BC's.
179    o recoded the lateral boundary conditions for non-hydrostatic w, this time
180      hopefully without new bugs
181      - still to do: biharmonic friction for non-hydrostatic w
182    o bug fix for mom_*_sidedrag: rA -> rAs,rAw
183    o regenerated output for global_ocean_ebm (using -ieee)
184    o fix mom_common/mom_*_sidedrag.F to recover numeric output prior to creation
185      of mom_common/
186      - simple re-arrangement of instructions within computing loop
187    checkpoint53d_pre
188    
189    checkpoint53c_post
190    o new version of coupler for AIM+thSIce and Ocean models
191     - new fields (SSS,h_MixLayer ...) are exchanged through the coupler
192     - land: change Evaporation of snow
193     - aim with thSIce: fix bug in snow-precip.
194    o changes to calc_gw.F
195     - bug fix for w^2 term near the bottom boundary
196     - (hopefully) improve the lateral slip boundary condtions for use with
197        partial/looped cells
198      - because the bug fix changes two verification experiments anyway (exp5
199        and plume on slope), change the lateral boundary condition from half slip
200        to the value of no_slip_sides
201    o ebm package wasnt quite up to the parallel task. Fixed that.
202    o Adjoint of EBM package + verification
203      * TLM OK
204      * ADM not sufficient accuracy yet (needs further testing)
205    
206    checkpoint53b_post
207    o Commiting new energy balance model to repository
208      * package is pkg/ebm
209      * verif. is verification/global_ocean_ebm
210      * references are in ebm_driver.F
211    C      * X. Wang, P. Stone and J. Marotzke, 1999:
212    C        Global thermohaline circulation. Part I:
213    C        Sensitivity to atmospheric moisture transport.
214    C        J. Climate 12(1), 71-82
215    C      * X. Wang, P. Stone and J. Marotzke, 1999:
216    C        Global thermohaline circulation. Part II:
217    C        Sensitivity with interactive transport.
218    C        J. Climate 12(1), 83-91
219    C      * M. Nakamura, P. Stone and J. Marotzke, 1994:
220    C        Destabilization of the thermohaline circulation
221    C        by atmospheric eddy transports.
222    C        J. Climate 7(12), 1870-1882
223    o Will need long integration testing.
224    checkpoint53b_pre
225    
226    o created pkg/mom_common in preparation for variable viscosity code
227    o renamed and split ini_mnc_io
228    o pkg/land: only liquid water can diffuse or run-off
229    o AIM using land: soil wetness availability account for snow
230    o added printMapIncludesZeros to EEPARMS namelist
231    
232    checkpoint53a_post
233    o restore TAMC compatiility for exf_constants.h
234      (no usage of _d in .h)
235    o Additional storing in KPP in an attempt to fix
236      TAMC problem with adjoint of KPP code.
237      (no success...)
238      Identical code works fine with TAF.
239    o Fixed verification/natl_box_adjoint experiments.
240      Initial conditions for Experiments 4 and 5 are now
241      set to "SEAICE_initialHEFF=0", which is more reasonable,
242      and hence gives results closer to that of Experiment 2.
243      Experiment 6 requires "SEAICE_initialHEFF=1" and is working once again.
244    
245    checkpoint53
246    o stable checkpoint with up to date adjoint
247      TLM tests only run for 1st grdchk at the moment. Its unclear if
248      this is a code problem or a problem with resetting code for g_
249      variables that is being autogenerated wrong.
250      Otherwise:
251       o code is testing well on Linux (P4 and AMD), SGI Alitix and Irix.
252       o IBM and HPQ tests could not be run because NCAR (IBM) and NCCS (HPQ)
253         are both still in chaos following their security messes.
254    
255    checkpoint52n_post
256    o various build (mostly genmake2) changes including:
257      - ability to build/run more easily within Cygwin and MacOS X
258      - more complicated Makefiles with a stronger dependence on Gnu Make
259    o pkg/seaice modifications
260      - added SEAICE_deltaTtherm and SEAICE_deltaTdyn in order to reduce cost
261        of pkg/seaice.  For time being, SEAICE_deltaTtherm = deltaTtracer
262        and SEAICE_deltaTdyn must be integer multiple of SEAICE_deltaTtherm
263      - changed proxy for geostrophic velocity and updated
264        verification/lab_sea/results/* accordingly
265      - removed ADI dynamic solver from pkg/seaice
266      - replaced all occurrences of 1/CSTICE or 1/CSUICE
267        they caused a segmentation fault under certain circumstances
268      - removed unused field WATR
269    o bug fix in exf-package:
270      -  u/vwind are defined at tracer/pressure points. The values of u/vwindmask
271         now reflect that.
272    o small fixes in the cal-package:
273      - set reference date to first of January for the 'model'-calendar
274      - failing of cal_CheckDate in cal_FullDate now actually results in a
275        warning
276    o small modifications in exf-package to increase flexibility:
277      - change climtempfreeze from a constant to a runtime parameter that
278        is specified in data.exf_clim (default = -1.9)
279      - introduce runtime parameter windstressmax (default = 2.0) that is
280        specified in data.exf
281    o fix in pkg/thsice:
282      - update Evap (Tsf changes) to be consistent with Latent heat flux
283      - maintain snow precipitation unchanged (even if Tsf >=0).
284     both affect global_ocean.cs32x15/(.thsice) results ; update output.txt.thsice
285    
286    checkpoint52m_post
287    o commented out call to cal_GetMonthsRec in swfrac.F and added some comments;
288      this does not change any of the results, because myIter=0 in swfrac always
289      lead to jwtype=2 (the default anyway), but the call makes little sense
290      as a default
291    o no SHORTWAVE HEATING lost at the bottom; affects lab_sea output; updated
292    o re-work pkg/thsice interface with ocean & bulk_force pkg to allow
293      atmospheric model (AIM) to use it ; add a "slab ocean" component.
294    o pkg/aim_v23 : add interface to call thermodynamic sea-ice (thsice)
295    o update global_ocean.cs32x15/output (.thsice) after changes in pkg/thsice
296    o extending useSingleCpuIO option to work with new exch2 I/O format
297      - old-style, missing-tile I/O is still accessible by defining CPP
298        option MISSING_TILE_IO in pkg/mdsio/MDSIO_OPTIONS.h
299    o monitor package can write to NetCDF files and/or STDOUT
300    o fix re-definition bug in MNC_GRID_INIT_ALL()
301    o doc/api_reference added
302      - a framework for building an API Reference Manual using all
303        the "protex" comments embedded in the code
304      - see pkg/generic_advdiff, pkg/mnc for examples
305    o MNC:
306      - make myThid the last argument for all subroutines
307      - new default for the grid files: NO halos
308      - add useMNC and other run-time flags
309      - separate per-file-group handling of the unlimited dimension
310      - early initialization of MNC w/ flags read at the eeboot stage
311        and lookup tables set in initialize_fixed
312      - write all MNC output to a freshly-created directory
313    o thermodynamics sea-ice (thsice) is now tested with testreport.
314    o test exp. advect_cs: use the standard cs32 grid ; update output.
315    o Added functionality to grdchk:
316      pick global i,j,k position (or nearest wet) where to perform check.
317    
318    checkpoint52l_post
319    o new land formulation:
320      a) use ground enthalpy as prognostic variable to ensure exact
321         energy conservation.
322      b) account for water temperature and for latent heat of freezing
323         in all processes (rain, run-off, ground storage)
324      c) compute surface and ground temperature implicitly.
325    o aim_v23 modification for new land model:
326      a) Treat separately land / ocean / sea-ice surface fluxes
327         to allow implicit computation of land & sea-ice surface temp.
328      b) add snow precipitation.
329    checkpoint52l_pre
330    
331    o fix problem (when 1 tile is empty) in min/max monitor.
332    o fix bug in timeAve (u,vZetatave in common block)
333    o no restoring terms under ice for pkg/seaice
334    o moved SEAICE_DO_DIAGS to S/R do_the_model_io
335    o bug fix for pkg/seaice pickups
336    o change MNC call locations and add coordinate attributes
337    o mask vorticity at the corner ; affects global_ocean.cs output
338    o fix ini_curvilinear_grid ; test CS experiments with mpi
339    o aim.5l_cs: modify sea-ice fraction input file ; update output
340    o exf: Adding simple range check routine for exf fields after read
341    
342    checkpoint52k_post
343    o removed top-level directory "diags"
344      - we migrated these functions to pkg/timeave a long time ago
345    o fixed bug introduced in pkg/monitor
346    o accuracy ctrlprec = 32 insuffient for gradient checks using
347      averaged fields (I/O via cost_averages)
348      -> use ctrl.h in active_file*.F to control I/O precision.
349    o paramter list of CALL ADTHE_MAIN_LOOP
350    o added initial do_the_model_io to ecco
351    o set all ...Freq to zero after cost_final
352      taveFreq, dumpFreq, pChkptFreq
353    o MAIN and ECCO differentiability restored
354    
355    checkpoint52j_post
356    o fix nchklev in tamc.h for global_ocean...
357    o Bringing flow and store directives up-to-date
358    o Really weird thing!
359      call do_the_model_io from the_main_loop with parameters
360      starttime, niter0, instead of mytime, myiter, screws up the adjoint:
361      TAF places a faulty re-call of initialise_varia
362      after cost_final call which should not be there!
363    checkpoint52j_pre
364    
365    o tweaked pkg/mdsio/mdsio_readfield.F to have more useful logic and
366      error messages
367    o fix errorMessageUnit problem. remove old version of mdsio from eesup/src
368    o modified pkg/mdsio/mdsio_readfield.F -- commented out diskspace-eating
369      debug output
370    o modfied mdsio_writefield.F to handle non-global files under exch2
371    o update AIM Cubed-Sphere exp (aim.5l_cs):
372      use land, p*, and Franco.M forcing fields with fractional land-sea mask.
373    o update AIM Equatorial Channel exp:
374      use standard aim_v23 pkg and change the SST fields to be more realistic.
375    o globalFile now works with exch2
376    o merged mom_vi_calc_relvort3.F, mom_vi_del2uv.F and
377      mon_vort3.F to make exch2 friendly with >1 tile per cube face
378    o limit timeave output for hi-res integrations
379    
380    checkpoint52i_post
381    o removed CPP_EEOPTIONS.h from verification/*/code
382    o updated the tiling for global_ocean_pressure
383    checkpoint52i_pre
384    
385    o update aim.5l_LatLon using the standard aim_v23 pkg (instead of
386      the old pkg/aim).
387    
388    checkpoint52h_pre
389    o shortened offending lines in exch2_send_rx?.template
390    o modified W2_EXCH2_TOPOLOGY.h to reflect current topology generator
391    o genmake2: add build & execute test for NetCDF code
392    o modded aim.5l_cs and global_ocean.cs32x15 to use exch2, removed
393      old grid files, moved CPP_EEMACROS.h to pkg/exch2
394    o added useSingleCPUIO flag to monitor.F and mon_out.F
395    o added temporary hack for sea-ice dynamics on the cube:
396      metric terms are ignored and it is assumed that
397      there is no sea-ice on cube faces 1, 2, 4, and 5.
398    
399    checkpoint52f_post
400    o added exch2 cube routines to pkg/exch2
401    o modified hs94.cs-32x32x5 to use it
402    o added new grid files to hs94.cs-32x32x5
403    checkpoint52f_pre
404    
405    checkpoint52e_post
406    o first attempt to solve vertical advection (momemtum & T,S) Implicitly
407      for now, only implemented with Lax-Wendroff (tracer) and VectInv (mom)
408    o step.1 : rewrite (as in MultiDimAdvec) explicit tracer stepping (gad_calc_rhs.F)
409      to work with implicit vertical advection and AB ;
410    o Implic. vert. advect. implemented with flux-limiter, c2, u3 and c4 scheme.
411    o update output (gad_calc_rhs.F changes affect truncation error) of exp:
412     front_relax, global_ocean .cs32x15 & _pressure, internal_wave, lab_sea, natl_box
413    checkpoint52e_pre
414    
415    o fix bug in impldiff when Nr=1 or Nr=2.
416    o change the albedo in pkg/thsice (as GISS model); update output_thsice.txt
417    o little changes (fftpack, aim/phy_suflux ...) to pass the "checkbounds" test.
418    o fix deltaTfreesurf in update_cg2d.F (left from c45d_post): affects 2
419      ocean exp. that use NLFS: global_ocean.cs32x15 & global_ocean_pressure
420    o added exf_offset_atemp for Celsius to Kelvin conversion of atemp
421    o eesupp/inc/EEPARAMS.h: MAX_NO_PROCS=1024
422    o pkg/cal/cal_toseconds.F fix for long (>60 years) integrations
423    
424    checkpoint52d_post
425    o re-tiled many expts to allow comparison in multi-processor mode
426      - updated output accordingly
427      - changed hs94.128x64x5 to use intial T from file rather than use the
428        random number generator
429    o add infrastructure in model routines for fizhi and gridalt packages
430    o change global_ocean.cs32x15 because of Pb with GM on CS-grid.
431    o changes to permit hi-res, cubed-sphere, configuration
432      - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
433      - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
434      - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
435        of surface winds for the cube
436      (A verification experiment, based on global_ocean.cs32x15, but with
437       pkg/seaice turned on and with on-the-fly interpolation from the NCEP
438       Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
439       complete with example surface forcing files and matlab scripts to look
440       at the output and compare it with that of global_ocean.cs32x15.)
441    o packages pickup: $PKG_write_pickup called from packages_write_pickup ;
442       but call to $PKG_read_pickup remains in $PKG_ini_vars: change CD_code
443       to conform to the common rule.
444    o check-in the first version of the coupler + interfaces for multi-components
445       set-up (Chris's version, adapted to work on cubed-sphere grid); use MPI.
446       - imply modification in eesupp (MPI_COMM_MODEL < MPI_COMM_WORLD).
447       - atmosphere: use pkg aim_v23 ; no sea-ice for now.
448       - ocean and atmos. share the same horizontal grid (no interpolation).
449       - exchanges between component and coupler is done in forward_step
450    o new verification experiment, cpl_aim+ocn:
451       coupled ocean - AIM atmosphere on cs32 grid.
452    
453    checkpoint52d_pre
454    o surface flux time-av diagnostic modified for NLFS & RealFreshWater
455    o add call to AIM pendant S/R in external_forcing & external_fields_load.F
456    
457    checkpoint52c_post
458    o Fixing OPTIONS files for use of exf:
459      - ALLOW_ECCO not needed
460      - ECCO_CPPOPTIONS.h should not be included from
461        EXF_OPTIONS.h/CAL_OPTIONS.h, but from CPP_OPTIONS.h
462        as has been the case in the past
463      - All cal/exf related options are currently set in
464        single header file. Should remain so until we
465        agree on a consistent new policy.
466    o Removed all CPP options for cal package.
467      cal has no more CPP options.
468    o modified STOREs in GAD_ADVECTION
469    o corrected key comp. for passkey
470    
471    checkpoint52b_post
472    o new version: "thsice" of thermodynamic sea-ice pkg:
473     - only 1 call from "forward_step"; conserve energy, fresh-water & salt.
474     - modify fluxes but do not change theta directly;
475     - light cleaning of bulk_force pkg (still needed with thsice).
476     - add forcing fields + data files in global_ocean.cs32x15/inp_thsice
477       + output_thsice.txt to test thsice & bulk_force pkgs.
478    o put back grid & coriolis monitor output.
479    checkpoint52b_pre
480    
481    o call "do_the_model_io" at the beginning (=> dump initial state)
482    o use rhoConstFresh to define convertEmP2rUnit (was done only in ocean-P)
483    o sort out interplay between tamc.h and PTRACERS_OPTIONS.h
484      (need info on NUMBER_OF_PTRACERS)
485    o missing PTRACERS headers in some routines
486    o default tamc.h in pkg/autodiff supposed to crash
487      to ensure proper customization
488    
489    checkpoint52a_post
490    o modifications to make FREEZE (_SURFACE) flux visible to pkg/kpp
491      - moved surfaceTendencyTice from pkg/seaice to main code
492      - subroutine FREEZE_SURFACE now limits only surface temperature
493        and is called in FORWARD_STEP (if allowFreezing=.TRUE.)
494        => new output.txt for global_ocean.cs32x15 & global_with_exf
495      - keep the old version of FREEZE for backward compatibility;
496        global_ocean.90x40x15 left unchanged using useOldFreezing=.TRUE.
497      - corresponding modifs for TAF directives
498    o added surface flux output variables to TIMEAVE_STATVARS
499    o time-averaged output for pkg/ptracers
500    o fix problem with ECCO-related divided adjoint
501      snapshot file was missing some ad-variables,
502      but no warning issued by TAF
503    
504    checkpoint52a_pre
505    o some bug fixes for #undef REAL4_IS_SLOW
506    
507    checkpoint52 = ecco_c52_e35
508    o after testing adjoints of checkpoint51u_post
509    
510    checkpoint51u_post
511    o this is the post-merge tag of the ecco-branch
512      (needs another clean checkout and re-testing)
513    o various natl_box_adjoint configs and results
514      but no input fields
515    o obcs adjoint not yet merged!
516    o adding ECCO global 1x1 and 2x2 degree configs
517    o updated/extended some store directives for seaice
518    o pkg/ecco now containes ecco-specific part of cost function
519    o top level routines the_main_loop, forward_step
520      supersede those in model/src/
521      previous input data.cost now in data.ecco
522      (new namelist ecco_cost_nml)
523    o in ctrl/ cleaned some cross-dependencies and updated CPP options
524    
525    checkpoint51t_post
526    o this is the pre-merge tag of the ecco-branch
527    
528    checkpoint51s_post
529    o cleanup: removed various obsolete #define-s
530    o pkg/grdchk
531      - renamed 'ph-grd 3' to 'grad-res'
532      - merged from ecco-branch
533        (remaining bug fixes for obcs gradient checks)
534      - additional high-precision output for testreport
535        (grep for 'precision_grdchk_result')
536    
537    checkpoint51r_post
538    o cleaned up or removed CPP_OPTIONS.h files
539    o updated results for some of the tests to reflect the new
540      optfiles (-ieee: -O0 instead of -O3)
541    
542    checkpoint51q_post
543    o cd_code:
544      - moved cd_scheme.F -> cd_code_scheme.F
545      - separate read_checkpoint from cd_code_ini_vars.F
546      - separated cd_code part from write_checkpoint
547      - updated AD_SOURCE, generated .flow
548      - added CD_CODE_VARS.h to the_main_loop
549      - Moving cd_code specific store dir.s to pkg/cd_code
550    o ctrl package totally restructured
551      - pack/unpack now optional and decoupled from
552        xx_/adxx_ I/O
553      - ctrl_pack/unpack cleaned
554        (new routines ctrl_init_ctrlvar.F, pkg/ctrl/ctrl_init_wet.F)
555      - confined inclusion of AD_CONFIG.h to where necessary.
556    o genmake2: changed AD dependencies from SRCFILES to AD_FILES
557    
558    checkpoint51p_post
559    o create initial cd_code package
560      - WARNING: the initialization of fields within packages
561        is broken because INI_FIELDS (where READ_CHECKPOINT is
562        called) is called *before* PACKAGES_INIT_VARIABLES.
563        This seems to be backwards since
564        1) its important to initially zero the entire field including
565           the "halo" region
566        2) zeroing needs to be done *before* reading pickup info
567           and the pickup call might or might not happen in any
568           particular run
569      - this needs an overhaul for R2
570    o cleanup verification/*/code/GMREDI_OPTIONS.h
571    o cleanup testreport
572    
573    checkpoint51o_post
574    o bringing AD-related verif's up to date with genmake2
575      - carbon/
576      - global_ocean.90x40x15/
577      - hs.94.1x64x5/
578      - (front_relax/ )
579    o (more) consistent directory structure for AD-related verif.'s
580    o cleaning ALLOW_GRADIENT_CHECK -> ALLOW_GRDCHK
581    o cleaning some ALLOW_TANGENTLINEAR_RUN -> ALLOW_AUTODIFF
582    o bug fix in find_alpha.F for MDJWF:
583      - modif. to alpha = 1/D*( dN/dT - rho*dD/Dt) to account for
584        change rho -> rho-rhoConst
585      - replace call find_rho to find_rhonum
586    o initialisation of rFlx extended to full array (required by TAF)
587      and shifted to thermodynamics
588    o removed PTRACERS.h in ptracers routine
589    o added surfacetendencyPtr to S/R parameter list pracers_forcing
590    o Correcting initialisations for fVerU, fVerV.
591    o helping TAF to recognize dependency on kUp for
592      fVerU, fVerV
593    o Replacing delZ by delR in pkg/ctrl/
594    checkpoint51o_pre
595    
596    o undid all of cp51 pending some cleanups and discussion
597    o added the [#include "AD_CONFIG.h"] statement to all files that need
598       it for adjoint/tl #defines
599     o re-worked the build logic in genmake2 to support AD_CONFIG.h
600     o removed tools/genmake since it no longer works
601    
602    checkpoint51n_post
603    o modifications to make FREEZE flux visible to pkg/kpp
604      - moved surfaceTendencyTice from pkg/seaice to main code
605      - FREEZE & EXTERNAL_FORCING_SURF moved to FORWARD_STEP
606      - subroutine FREEZE now limits only surface temperature
607        (this means new output.txt for global_ocean.90x40x15,
608         global_ocean.cs32x15, and global_with_exf)
609    o added surface flux output variables to TIMEAVE_STATVARS
610    
611    checkpoint51n_pre
612    o added "#undef ALLOW_USE_MPI" support to eesupp/src/gather_2d.F
613    o added [#include "AD_CONFIG.h"] to all files that use the following
614      defines:
615      - ALLOW_ADJOINT_RUN
616      - ALLOW_TANGENTLINEAR_RUN
617      - ALLOW_ECCO_OPTIMIZATION
618    
619    checkpoint51m_post
620    o incorporating changes to get TAMC/TAF working in genmake2
621      - added new TAMC/TAF targets to the Makefile
622      - various cleanups related to package handling
623      - these changes should have no impact on the forward model
624    
625    checkpoint51l_post
626    o changes to pkg/cal and pkg/exf that allow and speed-up long integrations
627     - faster algorithm for cal_addtime.F
628     - higher precision arithmetic, where needed
629     - pkg/exf *startdate variables changed from calendar date to
630       model integration time
631    
632    checkpoint51l_pre
633    o add salt flux to forcing fields (used when salty sea-ice forms or melts)
634    o enable to apply restoring on S & T only in a latitude band.
635    o update output (external_forcing_surf modif. change truncation errors)
636       global_ocean.cs32x15, global_ocean_pressure, lab_sea, natl_box
637    
638    checkpoint51k_post
639    o change default to: useNHMTerms=.FALSE.
640     - new output.txt for atmos. exp (NHMTerms were wrong but now turned off):
641       adjustment.128x64x1, aim.5l_Eq_Ch, aim.5l_LatLon, hs94.128x64x5, hs94.1x64x5
642     - new output.txt for idealized oceanic exp (NHMTerms are now turned off):
643        exp1, ideal_2D_oce
644     - change data file of oceanic exp (leave the results unchanged for now)
645       exp2, global_ocean[90x40x15,pressure,with_exf], lab_sea, natl_box
646    o set gravitySign automatically according to the vertical coordinate used
647      (and change sign: back to "logical" value: +1 when R increases downward)
648    o added an include barrier to the default CPP_OPTIONS.h and
649      removed the #include "PACKAGES_CONFIG.h" from it
650    o fix a bug in mom_fluxform (from chk51j_post)
651    
652    checkpoint51j_post
653    o Added some AD-related initialisations in mom_vecinv/ mom_fluxform/
654    o adjusted some flow directives (dynamics, thermodynamics)
655    o added cubed-sphere case to test cost function
656    o heckpoint_lev?_directives.h now include
657      pkg-specific directives, whenever those are enabled.
658    o Moving pkg-specific flow directives to corresponding pkg
659      Moving pkg-specific differentiation list to corresponding pkg
660      Moving pkg-specific checkpoint-lev storing to corresponding pkg
661      ---> conventions are
662           - pkg_ad.flow
663           - pkg_ad_diff.list
664           - pkg_ad_check_lev?_dir.h
665    
666    checkpoint51i_post
667    o merge of the branch-genmake2
668      - knowingly breaks the older genmake
669      - automatic generation of all ALLOW_${PKG_NAME} defines
670      - new testreport supersedes older testscript
671    o large number of package inclusion and header cleanups
672    checkpoint51i_pre
673    
674    o new output for adjoin of global ocean vector invariant
675    o fix for checkpoint of thermodynamic seaice and bulk_force
676    o Steph gchem various cleanups
677    
678    checkpoint 51h_pre
679    o fixed some single quotes
680    o modify gchem pkg to be more versatile
681    o modifications to clean up dic pkg
682    o add pkg/cfc
683    
684    checkpoint51g_post
685    o provide links for ARPACK and ADM*TLM
686    o start removing verification/vero/
687    o update AD-related stuff
688      (in particular some IF-statements in model/src/ routines)
689    o adding to verification/global_ocean.90x40x15/ adjoint of
690      vector invariant setup
691    
692    checkpoint51f_post
693    o update advect_xz/output.txt (left from chekpoint50f_pre, ini_vel modif)
694    o Mods and bug fixes to pkg/cal, pkg/exf, etc., needed for computation
695      of tracer Green's fucntions for ocean inversion project.
696    
697    checkpoint51f_pre
698    o Added on-the-fly spatial interpolation capability
699        "USE_EXF_INTERPOLATION" to pkg/exf.
700      - This is a temporary Cartesian-grid hack until
701        the super-duper ESMF coupler becomes available.
702      - See verification/global_with_exf/README for usage example.
703      - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
704        flags and modified pkg/seaice accordingly.
705    o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
706        and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
707        non-local transport term.
708    
709    checkpoint51e_post
710    o pkg/mom_vecinv:
711      - changes related to hFac: use S/R from aim.5l_cs/code (coriolis & vort.advec)
712      - add time-ave diagnostic of vorticity advection.
713    o add diagnostic (instantaneous) of Shapiro Filter effect for T,S & UV.
714    o atmospheric geopotential: - include water vapor effect;
715                                - use p^kappa in p* scaling.
716    o land pkg: read initial state from files.
717    o AIM : add stratospheric drag in the upper level
718    
719    checkpoint51d_post
720    o change function ILNBLNK (=> last non-blank char.) to return zero
721      (instead of the string length) when the string. char is empty
722    o fix bug in dxV,dyU definition of cubed-sphere grid (ini_curvilinear_grid)
723    o modif's to restore TAMC compatibility
724      - avoid "_d" constructs in PARAMETER declarations
725      - avoid interrupting lines by comment lines
726    o Use cluster local disks for purely local I/O
727      vs. globally visible disks needed for ctrl stuff
728      (merged from ecco-branch)
729      - new active_file_loc... and mdsio_..._loc routines
730      - affected packages: autodiff, ctrl, grdchk, mdsio
731    
732    checkpoint51c_post
733    o introducing integer flag debugLevel
734      - debLevZero: suppress all output
735      - debLevA: standard
736      - debLevB: equivalent to current debugMode=.TRUE.
737    o introducing pathname variable mdsioLocalDir for mdsio
738      that can be specified at runtime
739      (relevant for cluster I/O to local disk)
740    `
741    >>>checkpoint51b_post
742    adjoint of ptracers
743    o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM
744    o extended state in checkpoint_lev?, etc.
745    o alternative ctrl/cost with tr1 or ptracer
746    o new comlev1_bibj_ptracers
747    o new ptracers.flow
748    o made ptracers_forcing same as external_forcing_s
749    o added verification for adjoint with ptracers
750      - adm. grdchk fail so far
751      - tlm. grdchk OK
752      - checked tapelev/comlev recomputations: OK
753    <<<checkpoint51b_pre
754    
755    checkpoint51a_post
756    o added code for biogeochemistry package
757      - new pkgs: dic, gchem
758      - new subroutine in ptracers
759    o modify code for biogeo packages
760      - in model/src and pkg/ptracers
761    
762    checkpoint51
763    o merged improved packages from ecco-branch (ecco_c51_e34) to MAIN
764      - autodiff, ctrl, exf, grdchk, seaice
765      kept separate packages
766      - cost, ecco, obcs
767    o updating verification/internal_wave, verification/lab_sea
768      (all verif's pass on faulks.lcs.mit.edu RH7.3, g77)
769    
770    checkpoint50i_post
771    o Preparing next differentiable checkpoint and sync
772      of MAIN vs. ecco-branch
773      - 1st step: this one is differentiable
774      - 2nd step: next(! not this) checkpoint will have updated packages
775                  from ecco-branch)
776    
777    checkpoint50h_post
778    o new package "land": provide surface BC for AIM.
779    o pkg/ptracers: apply exchange to all tracers after reading a pickup.
780    o AIM: use true log-P extrapolation for near surface temp (= as in
781        F.Molteni paper) ; update aim.5l_cs output.
782    o New variable in PARM03 for more flexible pickups
783    o somewhat cleaned package initialisation sequence for
784      ctrl/ cost/ ecco/ in packages_... routines
785    
786    checkpoint50g_post
787    o merged with release1_p17 (pkg/seaice and verification/lab_sea)
788      - added SEAICE_MULTILEVEL for 8-category sea-ice thermodynamics
789      - LSR sea-ice dynamic solver moved to SouthWest B-grid location and
790        made the default because of faster convergence than ADI
791    
792    checkpoint50f_post
793    o exf totally restructured
794      - replaced all exf_set_ routines by one generic exf_set_gen.F
795        and made sure it's still differentiable
796      - split exf_getffields.F into new exf_bulkformulae.F
797      - exf_inscal_/exf_outscal_ suffixes consistent with field names
798      - updated adjoint/makefile and relevant verif. accordingly
799    
800    checkpoint50f_pre
801     o AIM: near surface temp evaluated from Pot.Temp: fixed for Part Cell ;
802          + change Evap over land. (update aim.5l_cs output)
803     o added missing .cvsignores and made uniform across expts
804     o changed configuration of tidal_basin_2d expt
805     o added pkg/debug functions for tracing code in fatal crashes
806     o tidied pkg/monitor to use MONITOR_OPTIONS.h
807     o new fn in pkg/monitor to stop model if solution grows too big
808     o removed lots of single quotes from comments
809    
810    checkpoint50e_post
811    o make KPP work with PTRACERS
812     - fix gad_calc_rhs to call new routine kpp_transport_ptr, which is
813       nearly a copy of kpp_transport_s
814     - there is no analogue to SurfaceTendencyS, so I have to use
815       gPtr(of the surface layer) instead
816    o add a new platform SunFire+mpi (SunFire 15000) to genmake
817    checkpoint50e_pre
818    
819    checkpoint50d_post
820    o change kpp output from multiple-record state files to single-record state
821      files analogous to write_state.F
822    o reduce the output frequency of cg3d-related stuff to the monitor frequency,
823      analogous to the cg2d-related output.
824    o fix small problem with in ptracers_write_checkpoint.F: len(suff)=512,
825      so that writing to internal file fn (with length 512) fails.
826    checkpoint50d_pre
827    
828    checkpoint50c_post
829    o fix problem in ini_procs.F when using MPI (was there since checkpoint48f)
830    o add monitor diagnostic of vorticity (mon_vort3.F) and potential energy.
831    o add time-average diagnostic of U*V and vertical diffusive flux for theta.
832    o bug fixed in convective adjustment diagnostic (multi-tile set-up).
833    o 4th Order Adv scheme: return to previous (c40pre7) masking near boundaries.
834    
835    checkpoint50c_pre
836    Merging from release1_p13:
837    o bug fix for pkg/seaice dynamic solver
838    o Added SEAICE_initialHEFF to pkg/seaice
839    
840    checkpoint50b_post
841    o store u*,v* in gU,V instead of in guNm1,gvNm1
842    o in order to put the momForcing out of the Adams-Bashforth:
843      move forcing & CD-scheme calls from mom_fluxform & mom_vecinv
844      to timestep.F
845    o new flag "useCDscheme" (default=F); replace guCD,gvCD by local arrays
846    o re-generate output for highly sensitive test-exp:
847       global_ocean_pressure, ideal_2D_oce, lab_sea, natl_box
848    
849    checkpoint50b_pre
850    o restore the use of momAdvection & useCoriolis flags (mom_vecinv)
851    o corrected CPP option mismatch in exf_Bulk... functions for case
852      #define ALLOW_ATM_WIND && #undef ALLOW_ATM_TEMP
853    
854    checkpoint50a_post
855    o Bug fix for merging between c50 and KPP.
856      ikey was passed from thermodynamics to kpp_calc via
857      common block rather than being recomputed in kpp_calc,
858      in contradiction with new key itdkey.
859      New key ikppkey created, and tamc.h headers updated.
860    
861    checkpoint50
862    - 2nd step of merge with ecco-branch:
863      merge changes in ecco-branch back into main trunk
864    - bug fix in find_alpha
865    - more storing in gmredi_calc_tensor.F, kpp_routines.F
866    - avoid iterative loop in ini_pressure for ALLOW_AUTODIFF_TAMC
867    - merged some sliced AD support routines
868    
869    checkpoint49
870    merged from ecco-branch:
871    o exf:
872      - Enable initialisation of forcing fields to constant
873        (runtime) values.
874      - in exf_getffields.F
875        Reduce i-/j-loop to interior domain, discarding overlaps.
876        That also fixes wrong TAF-key computations for key_1, key_2
877        with bulf formulae.
878      - exf_init.F modify #ifdef for exf_init_evap
879      - exf_getffieldrec.F, ctrl_getrec.F
880        The following INT-usages are not safe:
881          fldsecs  = int(fldsecs/fldperiod)*fldperiod
882          fldcount = int(fldsecs/fldperiod) + 1
883        and were modified.
884    o autodiff: checkpoint_lev...
885      - updated storing for bulk formulae (some arrays were missing)
886      - added state for seaice package
887      - synchronized with main branch
888    o DIVA:
889      Modif.s in
890      - the_main_loop.F
891      - the_model_main.F
892      and added cost_final_restore.F cost_final_store.F
893      o With these changes, it is possible to fully separate
894        the first forward run to compute the cost function (mdthe_main_loop)
895        and adjoint runs over individual DIVA intervals (adthe_main_loop)
896        into separate model executions.
897        This enables better tuning of DIVA to given queue sizes.
898      o Loss of cost function value in consecutive DIVA runs is
899        fixed by storing to 'costfinal' file.
900      o Appropriate call of ctrl_unpack/_pack,grdchk_main at
901        beginning/end of adjoint integration is accounted for.
902      The current changes apply to TAF-1.4.26.
903      TAF has one remaining bug, requiring one manual change
904      (see MITgcm manual).
905    o cal: synchronized between MAIN and ecco-branch
906    
907    checkpoint48i_post
908    o Changes to restore differentiability of code w.r.t. previous tag
909      (mostly adding new routines to make list and replacing
910      pressure by totPhiHyd).
911    o Updated and merged grdchk package
912      - has both ADM and TLM checks
913      - works for single- and multi-proc.
914      - output cleaned
915      - worked successfully for parallel DIVA
916    o genmake:
917      - Adding -platform=SP4
918      - Modif. for DEC Alpha (many don't have makedepend; use mkdep instead).
919    o Modif. for DIVA:
920      ctrl_unpack should not be called in intermediate DIVA interval.
921      (similar thing would apply for active files such as
922      tbar, sbar, psbar, which should not be reinitialised;
923      only relevant for ecco-branch)
924    
925    checkpoint48h_post
926    o improve "ini_p_ground" when using finite difference form for calc_phi_hyd
927    o Added net flux to downward flux conversion to pkg/exf/exf_getffields.F
928    o Added SEAICE_initialHEFF to pkg/seaice
929    o ecco_the_model_main.F: SEAICE_WRITE_PICKUP must precede WRITE_CHECKPOINT
930    
931    checkpoint48g_post
932    --- EOS:
933    o compute locally the pressure for use in EOS: UNESCO, JMD95P, MDJWF
934      store total Potential in totPhyHyd for diagnostics & EOS.
935    o fix restart and overlap Pb when using Z-coord and EOS funct. of P
936    --- Pressure/geopotential gradient:
937    o use Ro_surf & R_low instead of hFac in cal_phi_hyd:
938    o NLFS + p-coord.: eta*Alpha' is not longer lagging 1.time-step behind
939      ( changes results of global_ocean_pressure )
940    o NLFS + z-coord.: add eta*Rho' contribution.
941    o accurate phiHyd when using interface-W at the middle between 2 centers
942     ( changes results of ideal_2D_oce )
943    o includes r* 2nd term in potential gradient.
944    
945    checkpoint48f_post
946    Merging from release1_p12:
947    o Modifications for using pkg/exf with pkg/seaice
948      - improved description of the various forcing configurations
949      - added basic radiation bulk formulae to pkg/exf
950      - units/sign fix for evap computation in exf_getffields.F
951      - updated verification/global_with_exf/results/output.txt
952    o Added pkg/sbo for computing IERS Special Bureau for the Oceans
953      (SBO) core products, including oceanic mass, center-of-mass,
954      angular, and bottom pressure (see pkg/sbo/README.sbo).
955    o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
956      to avoid negative values in shallow regions.
957      - updated verification/natl_box/results/output.txt
958      - updated verification/lab_sea/results/output.txt
959    o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
960    o Added useSingleCpuIO option (see PARAMS.h).
961    o Updated useSingleCpuIO option in mdsio_writefield.F to
962      work with multi-field files, e.g., for single-file pickup.
963    o pkg/seaice:
964      - bug fix in growth.F: QNET for no shortwave case
965      - added HeffFile for specifying initial sea-ice thickness
966      - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
967    o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
968      kpp_transport_t.F, forward_step.F, and the_main_loop.F
969    o pkg/seaice:
970      - adjoint-friendly modifications
971      - added a SEAICE_WRITE_PICKUP at end of the_model_main.F
972    
973    checkpoint48e_post
974    o New S/R for diagnostic of bottom pressure (phi0surf was missing in c48d_post)
975    o dynamics: change definition of computational domain & adapt mom_fluxform
976      accordingly ; when viscA4=0, allows to run the dynamics with Olx=Oly=2.
977    o following exp works with Olx=Oly=2 (and pass through checkbounds option):
978        adjust_nlfs.cs-32x32x1 adjustment.128x64x1 adjustment.cs-32x32x1
979        exp0 exp1 exp2 exp4 exp5 hs94.cs-32x32x5 hs94.128x64x5 hs94.1x64x5
980        global_ocean.90x40x15 global_with_exf global_ocean_pressure
981        inverted_barometer solid-body.cs-32x32x1
982      (high order AdvScheme and/or multiDimAd works with Olx=Oly=2 ? not sure)
983    
984    checkpoint48d_post
985    o in preparation for r*:
986     a) use pre-computed gradient of hydrostatic potential:
987        changes in timestep.F & mom_cdscheme.F affects results of ideal_2D_oce
988     b) move phi0surf from calc_phi_hyd to calc_grad_phi_hyd:
989        => affects results of glob_oce_pressure (different truncation error)  
990      update output.txt of ideal_2D_oce & global_ocean_pressure
991    
992    checkpoint48d_pre
993    o in preparation for r*:
994      new S/R (calc_grad_phi_hyd.F) to compute Hydrostatic potential gradient.
995      pass the 2 comp. of the grad. as arguments to momentum S/R.
996      but for the moment, only used if it does not change the results.
997    o add finite volume form of calc_phi_hyd for buoyancyRelation OCEANIC & OCEANICP
998    
999    checkpoint48c_post
1000    Modifications in treatment of initial flux forcing controls
1001    to avoid extra storing of flux fields.
1002    
1003    checkpoint48c_pre
1004    o Added tidal_basin_2d experiment (currently 1D!)
1005    o can use r* Coordinate with OBC (but Orlanski Rad. BC not yet implemented)
1006    
1007    checkpoint48b_post
1008    o r* coordinate added in #ifdef NONLIN_FRSURF block.
1009     (modification to pressure gradient not yet implemented)
1010    o mom_fluxform: new S/R mom_calc_rtrans.F computes vertical transports
1011      (for U & V) that are used for vertical advection of momentum.
1012    
1013    checkpoint48a_post
1014    o In preparation for r*, use temp. array to compute vertical transport
1015       in flux-form momentum pkg. => change results of few test-exp.
1016      Update output of: exp4, exp5, front_relax, global_ocean_pressure,
1017                        lab_sea, natl_box & plume_on_slope
1018    
1019    checkpoint48
1020    o fix small bug that was causing lot of warning (TIMER_STOP 'UPDATE_CG2D')
1021    
1022    checkpoint47j_post
1023    o add new exp. (ideal_2D_oce) to test "exotic" parameters and options.
1024    o moved adexch from forward_step to addummy_in_stepping
1025    o added exch in ctrl_map_...
1026    o aveFreq.=0. at end of cost_final to avoid overwrite in
1027      reverse checkpointing loop
1028    o Yet more changes in gmredi:
1029      * adgmredi_calc_tensor
1030        avoiding all recomputation of gmredi_slope_limit
1031      * adgmredi_x/y/rtransport
1032        added flag for excessive storing to avoid recomp. of
1033        u/v/rtans, dTdx/y/z
1034        -> this is not really necessary and very memory-consuming
1035      * adgmredi_slope_psi:
1036        consistency with gmredi_slope_limit in treatment of GM_slopeSqCutoff
1037      * gmredi_slope_limit
1038        re-activated full calculation of taperfct for case 'ac02'
1039    o updating verification/ adjoints of carbon, global_ocean.90x40x15
1040    
1041    checkpoint47i_post
1042    o GM_EXCLUDE_() replace GM_TAPER_(): by default, all the code is compiled.
1043    o add GM_Small_Number & GM_slopeSqCutoff as run-time parameters (data.gmredi)
1044      default values = 1.D-12 & 1.D+48 (=> give same results as checkpoint47f_post)
1045    o cg2dTargetResWunit: define tolerance using deltaTmom (and not deltaTfreesurf)
1046    o gmredi: fix few bugs.
1047    
1048    checkpoint47h_post (duplicate tag for PH's c48 tag, in order to move c48)
1049    This will be a good checkpoint to plug into the ecco-branch.
1050    o few modif.'s to get latest version adjointed
1051      (mainly kick out code in ini_linear_phisurf)
1052    o modif's to run adjoint with exactConserv
1053    o case GM_BOLUS_ADVEC should be cleaned
1054      S/R gmredi_slope_psi should be cleaned
1055    o verification/carbon now has exactConserv=.TRUE.
1056    
1057    checkpoint47g_post
1058    o time-average AIM output: becomes independent from statvars time-average
1059      (can be used with #undef ALLOW_TIMEAVE) ; add new variables (e.g., RH)
1060    o After TAF bug fix:
1061      Tested adjoint of gmredi package.
1062      Tests were done with checkpoint47 rather than with latest
1063      checkpoint47f_post since the latter is broken for the adjoint
1064      verification/carbon/ contains both ADM and TLM gradient checks.
1065    Here they are, before they get changed/lost/stolen.
1066    Mostly modif.'s to fix numerical sensitivities.
1067    Gradient checks OK for
1068    - GM_taper_scheme:
1069      * clipping
1070      * ac02
1071      * linear
1072      * glw91
1073      * dm95
1074      * ldd97
1075    - GMREDI_OPTIONS:
1076      * GM_VISBECK_VARIABLE_K
1077      * GM_NON_UNITY_DIAGONAL
1078      * GM_EXTRA_DIAGONAL
1079      * GM_BOLUS_ADVEC
1080    in conjunction with data.gmredi parameters to be checked in
1081    in a few minutes under verification/carbon/code/
1082    
1083    checkpoint47f_post
1084    Merging from release1_p10:
1085    o modifications for using pkg/exf with pkg/seaice
1086      - pkg/seaice CPP options SEAICE_EXTERNAL_FORCING
1087        and SEAICE_EXTERNAL_FLUXES
1088      - pkg/exf CPP options EXF_READ_EVAP and
1089        EXF_NO_BULK_COMPUTATIONS
1090      - usage examples are Experiments 8 and 9 in
1091        verification/lab_sea/README
1092      - verification/lab_sea default experiment now uses
1093        pkg/gmredi, pkg/kpp, pkg/seaice, and pkg/exf
1094    
1095    checkpoint47e_post
1096    o created a tag prior to creating a branch
1097    
1098    checkpoint47d_post
1099    o fixed bug in the oceanic pressure coordinates code: vertical viscosity
1100      at the bottom boundary had an erroneous half slip boundary condition
1101    o added bottom drag and no slip boundary condition capabilities to
1102      oceanic pressure coordinates code
1103    o added new verification experiment global_ocean_pressure, this experiment is
1104      also described in the tutorial section of the manual
1105    checkpoint47d_pre
1106    
1107    checkpoint47c_post
1108    o Added a verification experiment for a global cubed-sphere ocean run
1109      -  verification/global_ocean.cubed32x32x30
1110      -  uses pkg/therm_seaice and pkg/bulk_forcing
1111    
1112    o allow to run AIM physics with SPEEDY input files (from Franco Molteni)
1113    o allow a more accurate definition of Ro_Surf (selectFindRoSurf=1)
1114      when using P-coordinate; only implemented for atmospheric config.
1115    o OCEANICP & realFreshWater: include P-E direct effect on wVel ;
1116      NOTES: requires option NONLIN_FRSURF to be "#define".
1117    o update advect_xz/results/output.txt (left from checkpoint44g_post)
1118    
1119    checkpoint47b_post
1120    Merging from release1_p9:
1121    o pkg/seaice
1122      - removed GOTO's and added taf directives
1123      - double precision constants to reduce the g77 (Linux)
1124        to F77 (SGI) differences reported in release1_p8
1125    o tools/genmake
1126      - added SGI options
1127    o verification/testscript
1128      - updated to that of checkpoint47a_post
1129    o verification/global_ocean.90x40x15/input/eedata
1130      - modified for SGI f77 compatibility
1131    o verification/lab_sea
1132      - added description of sea-ice model
1133      - added missing matlab routines
1134      - added test of thermodynamics parallelization
1135    
1136    checkpoint47a_post
1137    o new pkg: aim_v23
1138     = F. Molteni atmos.physics (SPEEDY, ver23) adapted to MITgcm.
1139       for now, keep the same surface forcing as before.
1140     - Part-Cell implemented into AIM; check that Heat & Water are conserved
1141     - aim.5l_cs: use new aim pkg (run 10yr & get better results than before)
1142     - aim.5l_LatLon & aim.5l_Equatorial_Channel are still using old aim pkg
1143    o add diagnostic of surface correction term in monitor output
1144    
1145    o bulk_force and therm_seaice
1146    - Two packages:  bulk_force (Bulk forcing)
1147      and therm_seaice (thermodynamic_seaice) - adopted from LANL CICE.v2.0.2
1148    - Earlier integration from Stephaine Dutkiewicz
1149      and Patrick Heimbach.
1150    - Two ifdef statements for compile time,
1151       ALLOW_THERM_SEAICE and ALLOW_BULK_FORCE
1152    
1153    checkpoint47
1154    differentiable version of checkpoint46n_post
1155    o bug fix in quasihydrostaticterms
1156    o * "clean" adjoint code (in terms of extensive recomputations)
1157        can now be obtained for all GMREDI options (i.e. for
1158        - GM_VISBECK_VARIABLE_K
1159        - GM_NON_UNITY_DIAGONAL
1160        - GM_EXTRA_DIAGONAL
1161        - GM_BOLUS_ADVEC )
1162      * However, wrong gradient check problem remains unsolved.
1163      * New CPP options have been introduced for different
1164        tapering schemes
1165    o external_fields_load now part of differentiation list
1166    o pressure needs multiple storing;
1167      would be nice to have store_pressure at beginning or
1168      end of forward_step, e.g. by having phiHyd global (5-dim.)
1169      (NB: pressure is needed for certain cases in find_rho,
1170      which is also invoked through convective_adjustment).
1171    o recomputations in find_rho for cases
1172     'JMD95'/'UNESCO' or 'MDJWF' are OK.
1173    o #define ATMOSPHERIC_LOADING should be differentiable
1174    o ini_forcing shifted to begining of initialise_varia
1175    o Incorporating QNVS line search routines into MITgcm
1176      (this is separate code, and therefore not under pkg)
1177      lsopt/, optim/
1178    o Updated verification/carbon/
1179      - #define GM_VISBECK_VARIABLE_K
1180      - GM_taper_scheme    = 'ldd97'    
1181    
1182    checkpoint46n_post
1183    Merging from release1_p8:
1184    o verification/natl_box:
1185      updating new external_fields_load routine
1186    o New package: pkg/seaice
1187      Sea ice model by D. Menemenlis (JPL) and Jinlun Zhang (Seattle).
1188      The sea-ice code is based on Hibler (1979-1980).
1189      Two sea-ice dynamic solvers, ADI and LSR, are included.
1190      In addition to computing prognostic sea-ice variables and diagnosing
1191      the forcing/external data fields that drive the ocean model,
1192      SEAICE_MODEL also sets theta to the freezing point under sea-ice.
1193      The implied surface heat flux is then stored in variable
1194      surfaceTendencyTice, which is needed by KPP package (kpp_calc.F and
1195      kpp_transport_t.F) to diagnose surface buoyancy fluxes and for the
1196      non-local transport term.  Because this call precedes model
1197      thermodynamics, temperature under sea-ice may not be "exactly" at
1198      the freezing point by the time theta is dumped or time-averaged.
1199      N.B.: fairly large differences in accuracy occur across
1200            different platforms/compilers; comparison between
1201            g77 (Linux) and F77 (SGI Origin 2000/MIPSpro)
1202            generated output gives:
1203       T           S           U           V
1204      C D M    c        m  s        m  s        m  s        m  s
1205      n p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
1206      f n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
1207      g d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .
1208    
1209      Y Y Y Y  5  5  7  7  7  8 10  9  6  6  6  6  7  5  7  5  7 FAIL  lab_sea
1210    o GAD:
1211      - generated new common blocks to account for call of
1212        same gad routines with differing traceridentities
1213        (needed to modify tracerIdentity indices in GAD.h)
1214      - generated separate common blocks for case useCubedSphereExchange
1215        (Department of Futurology)
1216      - parameter lists to gmredi_?transport: added tracerIdentity
1217      - added new key indices to tamc.h
1218    o external_fields_load:
1219      - added this routine to TAF list
1220      - needed to make some common blocks global and additional storing
1221        along the same lines as exf package (checkpoint_lev?_directives.h)
1222    o exf:
1223      updated external forcing package
1224      - bug fixes carried over from ecco-branch
1225        (missing OBCS_OPTIONS.h in two routines)
1226      - enable easy to use "no forcing".
1227      - added exf I/O for atmospheric loading
1228      - added exf I/O for runoff data
1229      - transfered scaling between exf <-> MITgcm to exf namelist
1230    o Adding new verification experiment global_with_exf.
1231      This verification experiment is almost identical to the
1232      global_ocean.90x40x15 experiment, except that it uses
1233      the exf (and cal) package instead of the
1234      external_fields_load routine (cf README file).
1235    
1236    checkpoint46m_post
1237    o modified testscript to return -- when there are no lines of "%MON" output
1238    o added new flag "quasiHydrostatic" for QH mode
1239      and new routine quasihydrostaticterms()
1240    o added 2*Omega*Cos(phi)*W to u equations (non-hydrostatic Coriolis term)
1241      New routine: mom_u_coriolis_nh()
1242    o fixed sign of non-hydrostatic metric terms in u and v equations.
1243      Depend on correct sign of gravitySign.
1244    o added work.pc* to .cvsignore in aim directories using ifc
1245    o introduced flag for controllin non-hydrostatic metric terms
1246    o removed gravitySign from PARM04
1247    o switched to g77/ifc from pgf77 in aim experiments
1248    
1249    checkpoint46l_post
1250    o made convective adjustment work with pressure coordinates:
1251     - changed the direction of k-loop in convective_adjustment.F for the
1252       case of pressure coordinates (OCEANICP,ATMOSPHERIC buoyancyRelation)
1253     - adjusted the reference pressure k-index in convective_adjustment.F
1254     - adjusted the convection condition in convect.F (in analogy to
1255       calc_ivdc.F)
1256     - convective_adjustment no longer computes anything on the halos
1257     - removed the warnings about negative salinity from find_rho.F and
1258       find_alpha.F; instead the new routine look_for_neg_salinity, called
1259       at the beginning of find_rho, find_alpha, and find_beta, does a
1260       check of the entire slice, if CPP-option
1261       CHECK_SALINITY_FOR_NEGATIVE_VALUES is defined
1262    checkpoint46l_pre
1263    
1264    checkpoint46k_post
1265    o fixed the verification/global_ocean.90x40x15 experiment:
1266     - new bathymetry (the world according to A., JMC, and M.)
1267     - new initial fields and forcing fields (*.bin files)
1268     - new POLY3.COEFFS (for the next release one should switch to a full
1269       equation of state: JMD95P or MDJWF)
1270     - fixed several errors and redundancies in the data file
1271     - experiment uses looped cells
1272     - added matlab directory with diagnostic scripts for plotting of output
1273    
1274    o S/R aim_initialise.F replace S/R aim_init from file aim_do_inphys.F:
1275     - read AIM physics parameters from a file (data.aimphys)
1276     - set defaults values = F.Molteni paper (Clim.Dyn., 2002)
1277    
1278    checkpoint46j_post
1279    o split calc_exact_eta in 2 S/R : integr_continuity & update_etaH
1280    o move wVel computation at the end of the time step, in S/R integr_continuity
1281    o create specific S/R to exchange T,S before DYNAMICS (for stagger time step)
1282    o update timeave pkg for wVel diagnostic.
1283    checkpoint46j_pre
1284    
1285    checkpoint46i_post
1286    o Clean up AIM package (and keep the results unchanged):
1287      include CPP_OPTION and use IMPLICT NONE in all routines ;
1288      declare all the variables _RL ; use _d 0 for all numerical constants.
1289      use ifdef ALLOW_AIM everywhere. And now AIM can be used with g77 !
1290    
1291    checkpoint46h_post
1292    o cleaned up the use of rhoNil and rhoConst.
1293      - rhoNil should only appear in the LINEAR equation of state, everywhere
1294        else rhoNil is replaced by rhoConst, e.g. find_rho computes rho-rhoConst
1295        and the dynamical equations are all divided by rhoConst
1296    o introduced new parameter rhoConstFresh, a reference density of fresh
1297      water, to remove the fresh water flux's dependence on rhoNil. The default
1298      value is 999.8 kg/m^3
1299    o cleanup up external_forcing.F and external_forcing_surf.F
1300      - can now be used by both OCEANIC and OCEANICP
1301    checkpoint46h_pre
1302    
1303     Added code to convert surface volume flux (fresh water) into
1304     a mass flux when using P coordinates in the ocean (OCEANICP).
1305     Note: It assumes you have set rho0=rhoConst=density of fresh water.
1306    
1307    checkpoint46g_post
1308    o Include a new diagnostic variable phiHydLow for the ocean model
1309      - in z-coordinates, it is the bottom pressure anomaly
1310      - in p-coordinates, it is the sea surface elevation
1311      - in both cases, these variable have global drift, reflecting the mass
1312        drift in z-coordinates and the volume drift in p-coordinates
1313      - included time averaging for phiHydLow, be aware of the drift!
1314    o depth-dependent computation of Bo_surf for pressure coordinates
1315      in the ocean (buoyancyRelation='OCEANICP')
1316      - requires a new routine (FIND_RHO_SCALAR) to compute density with only
1317        Theta, Salinity, and Pressure in the parameter list. This routine is
1318        presently contained in find_rho.F. This routine does not give the
1319        correct density for 'POLY3', which would be a z-dependent reference
1320        density.
1321    o cleaned up find_rho
1322      - removed obsolete 'eqn' from the parameter list.
1323    o added two new verification experiments: gop and goz
1324      (4x4 degree global ocean, 15 layers in pressure and height coordinates)
1325    checkpoint46g_pre
1326    
1327    checkpoint46f_post
1328    o Enable tangent linear (forward mode) gradient checks:
1329      - extended active file handling to g_... files
1330      - added TANGENT_SIMULATION to theSimulationMode
1331      - extended grdchk package accordingly
1332    o added tangent linear setup in verification/carbon/code_ftl
1333    o added adjoint setup in verification/front_relax/code_ad
1334    
1335    checkpoint46e_post
1336    o Added new equation of state -> MDJWF
1337      - EOS of McDougall et al., 2002, JAOT, submitted
1338      - caveat: the equation of state is only valid for a smaller (more
1339        realistic?) range of values than JMD95P/Z and UNESCO
1340      - added masks to the calculation of pressure in store_pressure
1341      - added more check values for density in check_eos (ini_eos.F), some of
1342        the old check values are out of the range of the MDJWF-eos, so don't
1343        expect perfect matches for those
1344    checkpoint46e_pre
1345    
1346    checkpoint46d_post
1347    o fixed store_pressure to work with both buoyancy relation = 'OCEANIC' and
1348      'OCEANICP', also initialised field pressure correctly in ini_eos in the
1349      case of pressure coordinates. eosType='JMD95Z' in
1350      combination with buoyancyRelation='OCEANICP' now causes an error.
1351    o Changed p = pressure(i,j,k,bi,bj)  to  p = pressure(i,j,kRef,bi,bj)
1352      in find_alpha/beta.
1353    checkpoint46d_pre
1354    
1355    o Changed p = pressure(i,j,k,bi,bj)  to  p = pressure(i,j,kRef,bi,bj)
1356      so that JMD95Z and JMD95P give approptiate static stability in find_rho.
1357    
1358    checkpoint46c_post
1359    o Changes necessary for ocean in p-coordinates
1360     -  Added new buoyancy relation = 'OCEANICP'
1361     -  Added new parameters = gravitySign (this used to be contained inside
1362        the factor dRdZ which I added when we first switched to R coordinates).
1363     X GM/Redi is not compatible (yet)
1364     X bottom drag and no-slip need to be debugged.
1365    checkpoint46c_pre
1366    
1367    checkpoint46b_post
1368    o Added new equation of state -> JMD95Z and JMD95P
1369      - EOS of Jackett and McDougall, 1995, JAOT
1370      - moved all EOS parameters into EOS.h
1371      - new routines ini_eos.F, store_pressure.F
1372    o Added UNESCO EOS, but not recommended because it requires
1373      in-situ temperature (see JMD95)
1374    o Modified formatting for knudsen2.f in utils/knudsen2 and added
1375      unesco.f to be used with POLY3
1376    checkpoint46b_pre
1377    
1378    checkpoint46a_post
1379    o Added (atmospheric) pressure loading
1380      - new field in FFIELDS.h, etc...
1381      - new cpp flag ATMOSPHERIC_LOADING
1382    o Changed hFacC to _hFacC in calc_phi_hyd.F
1383    o Added SHORTWAVE_HEATING to some files for consistency
1384    checkpoint46a_pre
1385    
1386    checkpoint46
1387    further merges from release1_p5
1388    o new ctrl package
1389      - adopted from ECCO environment to enable optimization
1390      - added Eliassen Palm fluxes to controls
1391    o added Eliassen Palm flux controls to gradient check package
1392    o cost package
1393      - Compatible with new ctrl package
1394      - added Eliassen Palm cost hooks
1395      - modif's of existing cost functions
1396    o Adjoint-related bug fixes in kpp:
1397      - kpp_calc: sore of kpphbl avoids recomputation/call to S/R kppmix
1398      - kpp_routines: store of Rib avoids partial recomputation bug of TAF.
1399    o autodiff package
1400      - flow directives:
1401        + new for S/R do_the_model_io
1402        + enhanced for S/R checkpoint
1403        + new gmredi.flow
1404      - Introduced CPP option ALLOW_AUTODIFF_MONITOR to
1405        disable adcommon.h/g_common.h by default.
1406      - fixed problem for adjoint of global_max
1407    o modified verification/carbon/
1408    o New setup for adjoint of global_ocean
1409    o added hooks for Eliassen Palm fluxes (dynamics.F, ini_fields.F)
1410    o cleaned TAF keys iikey, idkey (dynamics.F, thermodynamics.F)
1411    o incorporated hooks for sponge layer code (external_forcing.F)
1412    
1413    checkpoint45d_post
1414    o import 2 fixes from release1_p5 (CG2D.h & packages_readparms.F)
1415    o use recip_dx*,recip_dy* instead of /dx*,/dy* in orlanski_E,W,N,S
1416      (affects plume_on_slope "cg2d" output)
1417    o add new parameter deltaTfreesurf for free-surface time stepping
1418    o exchange gT,gS when using staggerTimeStep & GM & Oly<4
1419    o NONLIN_FRSURF: rescale gNm1 to get a better conservation with A-B
1420    o change phiMin in exp1 (to agree with documentation)
1421    o add new flags:
1422     - T,S forcing inside/outside Adams-Bashforth
1423     - turn off temp,salt advection and/or forcing
1424     - for each tracer, define internal flag for multiDimAdvection & A-B
1425    o monitor: change definition of KE to check conservation of Energy
1426    
1427    checkpoint45c_post
1428    o Removed f90 comments ("!")
1429    o Modified initialisations to enable exf package for MITgcm
1430      (without invoking ECCO_PACKAGE).
1431    o modifications to gradient check package (Martin Losch)
1432      - enable centered differences
1433      - modified format of standard output
1434    
1435    checkpoint45b_post
1436    o cleaned exchange calls in cg2d
1437    o Included CPP option ALLOW_AUTODIFF_MONITOR in forward_step
1438    o included CPP option SINGLE_LAYER_MODE in thermodynamics
1439      to configure barotropic setup (Martin Losch)
1440    o moved some initialisations within bi,bj loop in dynamics
1441      (TAF flow dependency)
1442    o in initialise_varia, moved call packages_init_variables
1443      before convective_adjustment_init
1444      (corresponding adjustment of TAF tape initialisation).
1445    o in calc_diffusivity/calc_viscosity extended domain to full overlap.
1446    
1447    checkpoint45a_post
1448    o compute Rho over the whole domain (extend iMin,jMin indices)
1449    o specific exchange for X-slice domain (case Ny=1)
1450    o argument futureIter of S/R obcs_calc missing in exp4 & internal_wave /code
1451    o solve_for_pressure : set cg2d_x to zero where OBCS are applied
1452    
1453    checkpoint44h_post = checkpoint45
1454    o Fix to restore differentiability:
1455      place at which packages_init_variables is called in
1456      initialise_varia is crucial for reverse control flow.
1457    o modifications in GMRedi to enable stable adjoint
1458      (corresponding modif's in thermodynamics, dynamics)
1459    o added missing hook for sponge layer code in external_forcing
1460    o modified test cost functions
1461    o storing in gad_advection (plus removal of write(0,*)!
1462    o missing headers TR1.h added in convective_adjustment routines
1463    o errorMessageUnit set non-equal zero in eeboot
1464      (conflict on some platforms, e.g. IBM SP3)
1465    o modified carbon verif.
1466    
1467    checkpoint44h_pre
1468    o vertical grid option: allow to put the Interface at the middle between
1469      2 cell-centers ; replace delZ in pkg/kpp by drF.
1470    o GM Advective form: Tracers are advected using the residual transport (=
1471      Euler+GM-bolus); set param GM_AdvSeparate=T to return to previous form.
1472    
1473    checkpoint44g_post
1474    o fix surface correction term in multiDimAdvection (affects plume_on_slope
1475      results) ; ifdef missing in thermodynamics.F
1476    
1477    checkpoint44f_pre,checkpoint44f_post
1478    o added PTRACERS package
1479      This allows an arbitrary number of passive tracers to be integrated
1480      forward simultaneously with the dynamicaly model.
1481      + Implemented so far:
1482        - basic forward algorithm (time-stepping, advection, diffusion, convection)
1483        - I/O and checkpointing
1484        - GM/Redi  *but*  using the GM/Redi coefficient of Salt
1485      + Not implemented so far:
1486        - KPP
1487        - OBCS
1488      + No specific example supplied (yet) but global_ocean.90x40x15 has the
1489        necessary data.ptracer file. Simply use -enable=ptracers and uncomment
1490        line in data.pkg.
1491      + This package is disabled by default since it increases storage.
1492    
1493    
1494    o testscript: added -cleanup option
1495    o Shap_filt: a) new shap_filt S/R to use no-slip BC with S2 filter
1496                 b) enable to filter 2D fields.
1497    
1498    checkpoint44e_pre,post
1499    o re-wrote convective adjustment to use pre-calculated weights
1500      Affects: model/src/convective_adjustment.F, convective_adjustment_ini.F
1501      Adds:    model/src/convective_weights.F, convectively_mixtracer.F
1502      Original calls to convect() still in place.
1503    
1504    chkpt44d_pre,post
1505    o added missing EXCLUDE_MONITOR flags
1506    o changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi
1507      (incompatible typ in MIN/MAX expressions caused problems
1508      on IBM SP3)
1509    o in genmake added variable MAKEDEPEND
1510      plus resetting for case SunOS
1511    o added timer_stats.c routine for IBM SP3
1512    o removed variables in dynamics
1513    !!! I forgot to create tag chkpt44d_pre !!!
1514    !!! But chkpt44d_pre = chkpt44c_post    !!!
1515    
1516    o real fresh water flux implemented with non-linear free-surface.
1517    
1518    chkpt44c_pre,post
1519    o few fix (mask in shap_s2, EmPmR in external_field_load,
1520      USE_NATURAL_BCS in solve_for_P);
1521    o add arguments myIter & myTime to S/R obcs_calc & solve_for_P
1522    
1523    checkpoint44b_pre/_post
1524    o merge of relevant stuff from the ecco-branch:
1525      - genmake: removed $S64 overwrite for case SunOS
1526      - pkg/exf: update and corrections for field swapping and obcs
1527      - pkg/ecco: parameter lists for the_model_main, the_main_loop
1528                  harmonized between ECCO and MITgcm
1529      - pkg/autodiff: added flow directives for obcs, mdsio_gl_slice
1530                      updated checkpointing_lev... lists for obcs
1531      - model/src: minor changes in forward_step, plot_field
1532                   added directive for divided adjoint in the_main_loop
1533      - pkg/mdsio: added mdsio_gl_slice
1534    
1535    o check parameters & config (chkpt44a_pre,post)
1536    o OBC and NonLin_FrSurf.
1537    
1538    checkpoint44
1539    o fix bug in mom_vi_del2uv
1540    o select when filters are applied ; add options to zonal_filter (data.zonfilt)
1541    o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
1542    o update AIM experiments (NCEP input files)
1543    o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
1544    o added some stuff for AD
1545    
1546    checkpoint43
1547    o added two new advection tests
1548    o added global 4x4 degree ocean test
1549    o added test of H&S94 with free surface on cube
1550    o some final mods for gradient check, adjoint,...
1551    
1552    checkpoint42
1553      Fixed AD-related problems:
1554    o Store directives up-to-date with re-arranged Adams-Bashforth
1555      (mainly thermodynamics.F)
1556    o New store directives for multi-dim. advection schemes
1557      * new CPP flag ALLOW_MULTI_DIM_ADVECTION
1558      * new common block and key passkey
1559      (mainly gad_advection.F)
1560    o Modified store directives for split of dynamics/thermodynamics
1561      for the case ALLOW_KPP
1562    o Cleaned argument list for timestep_tracer.F
1563    
1564    checkpoint41
1565    o re-formatted/added comments in prologues of key subroutines
1566      to work with protex
1567    
1568    checkpoint40
1569    o moved calc_gs, calc_gt and calc_tr1 back to model/src
1570    o added FLT (floats) package from Arne along with demo. experiment
1571    o re-arranged Adams-Bashforth scheme for tracers to allow easier
1572      implementation of forward-in-time forcing terms
1573    o more mods for non-linear free-surface including new variable
1574    o modified multi-dim method to work on cube
1575    o bug fix in KPP (from DM)
1576    
1577    checkpoint40pre9
1578    o added DST advection schemes
1579    o fix MPI bug on SGI's
1580    o modifications for non-linear free-surface
1581    o fixed conditionals for fixed flow/passive tracer only mode
1582    o added tension/strain form of stress tensor
1583    o changes to commenting of arguments for TAF/TAMC
1584    o added/updated many matlab scripts
1585    o added multi-dimensional advection method for tracers
1586      
1587    checkpoint40pre8
1588    o new package rw/
1589      Added method for dumping intermediate local arrays:
1590      mdsio_writetile - same as mdsio_writefield except works from inside
1591                        bi,bj loop
1592      mdsio_writelocal - same as mdsio_writetile except works for local
1593                         arrays
1594      write_local_r? - higher-level wrapper for mdsio_writelocal
1595      Controlled by diagFreq. Defaults to zero (ie. no dumps)
1596      Example given at end of mom_vecinv.F that dumps some local arrays.
1597    o replaced calc_mom_rhs.F by mom_fluxform.F/mom_vecinc.F to
1598      control flux-form versus vector invariant code.
1599      Switch is runtime flag vectorInvariantMomentum (defaults to false)
1600      or genmake -DISABLE ...
1601    o TAMC-related update to cope with mom_fluxform.F/mom_vecinc.F
1602      (additional storing is now needed for case vecinv;
1603      currently nothing implemented to switch this storing off
1604      in case fluxform is used since no CPP flag available).
1605    
1606    checkpoint40pre7
1607    o bug fix in dynamics.F
1608      calc_viscosity called before k=1,Nr loop.
1609    o added some #ifdef's ALLOW_PASSIVE_TRACER
1610    o cleaned initialisations in ctrl_map_ini
1611      related to TAF
1612    
1613    checkpoint40pre6
1614    o split dynamics into thermodynamics & dynamics
1615    o corresponding split of calc_diffusivity into
1616      calc_diffusivity, calc_viscosity
1617      (kpp_calc_diff, kpp_calc_visc).
1618    o Added diffkr, kapgm to control variables
1619    o bug fix in gmredi_slope_limit for ldd97
1620    
1621    checkpoint40pre5
1622    o proper initialization of Adams-Bashforth time stepping
1623      + uses forward step for very first step of model (iter=0)
1624    o re-generated *all* output since almost all output is modified by this
1625      change (sorry but we've been putting this one off for about 2 years)
1626      + natl_box, aim.5l_Equatorial_Channel and aim.5l_zon-ave were
1627        *not* regenerated since they are already out of date and I don't
1628        want to create the impression that they are suddenly working.
1629    o removed KAP stuff for DEC's
1630    o modified/added many .cvsignore files in */code and */input
1631    o added new expt "solid-body.cs-32x32x1"
1632      + this uses an alternative form of ini_curvilinear_grid.F which
1633        is not necessarily any better than the current one...
1634    
1635    checkpoint40pre4
1636    o added re-initialisations of utrans,vtrans,rtrans in
1637      calc_common_factors which are crucial for TAF.
1638    o extended iMin,jMin range for calc_common_factors,
1639      calc_diffusivity
1640    o added option ALLOW_PASSIVE_TRACER
1641    o a few minor updates and fixes
1642    
1643    checkpoint40pre3
1644    o created calc_gtr1.F for gad package
1645    o split the_main_loop and re-introduced forward_step
1646    o some recomputations of nIter0 for TAMC
1647    
1648  checkpoint40pre2  checkpoint40pre2
1649  o Updated to latest branch of AJA, JMC  o Updated to latest branch of AJA, JMC
1650  o Added gradient check package  o Added gradient check package

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.355

  ViewVC Help
Powered by ViewVC 1.1.22