4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o gather_2d.F/scatter_2d.F: suppress vectorisation on NEC SX in respond to |
8 |
|
a still unfixed compiler/optimization bug |
9 |
|
|
10 |
|
checkpoint61f |
11 |
|
o pkg/seaice, LSR solver: fix bug in GLOBAL_MAX calls ; |
12 |
|
update results of global_ocean.cs32x15.icedyn test. |
13 |
|
o move getcon.F from model/src to pkg/fizhi. |
14 |
|
o pkg/exf: add parameter for extrapolation of temp up to the surface |
15 |
|
and option to prevent negative evap (in bulk_largeyeager04 only). |
16 |
|
o Prather Advection scheme: fix tracer conservation for divergent flow |
17 |
|
(e.g., when using NonLin Free-Surface). |
18 |
|
o kpp: retire KPPmld diagnostics --> use MXLDEPTH instead |
19 |
|
o gmredi (Visbeck-variable-K): |
20 |
|
- add more parameters to Visbeck-variable-K. |
21 |
|
- use a 5 points average for dSigmaR in Visbeck-K calculation |
22 |
|
(more "homogenous": same stencil and same weights as in dSigmaH) |
23 |
|
- update output of ideal_2D_oce experiment. |
24 |
|
o fix CPP-flag REAL4_IS_SLOW, when _RS expands into real*4 |
25 |
|
(#undef REAL4_IS_SLOW) |
26 |
|
- pkg/mnc/mnc_cw_cvars.F: write _RS-grid variable as netcdf-real*4 |
27 |
|
coordinate variable |
28 |
|
- pkg/monitor/monitor.F: call mon_printstats_rs for _RS variables |
29 |
|
(surface forcing fields), removes some of the functionality |
30 |
|
- model/src/write_grid.F: write _RS variables as RS-netcdf variables |
31 |
|
- model/src/diags_oceanic_surf_flux.F: fix a few diagnostics, but |
32 |
|
probably not all: copy _RS surface flux fields to RL field before |
33 |
|
calling DIAGNOSTICS_FILL |
34 |
|
- model/inc/CPP_EEMACROS.h: make the _EXCH_*_RS macros expand into |
35 |
|
real*4 (CALL EXCH_*_RS) versions. |
36 |
|
- tested in 2 experiments: inverted_barometer & solid-body.cs-32x32x1 |
37 |
|
(generate new output). |
38 |
|
|
39 |
|
checkpoint61e |
40 |
|
o gmredi (Visbeck-variable-K): |
41 |
|
- fix the "OLD_VISBECK_CALC" option + move the #undef to GMREDI_OPTIONS.h |
42 |
|
- change computation of Visbeck-K where Slope > Smax : |
43 |
|
now: N*min(Slope,Smax) (similar to OLD_VISBECK_CALC with gkw91 taperFct) |
44 |
|
previously was: M*sqrt(min(Slope,Smax)) ; update ideal_2D_oce output. |
45 |
|
o bottom-drag in P-coord.: change units of bottomDragLinear & bottomDragQuadratic |
46 |
|
to be the same as with Z-coord. (i.e., m/s & no-units respectively). |
47 |
|
o calc_viscosity: fix index range (was wrong for CD-Scheme & explicit Visc) |
48 |
|
o pkg gmredi, linear & fm07 tapering: put an upper limit on Slope^2 so that Kwz |
49 |
|
does not become too large (to avoid precision problems in implicit-diffusion |
50 |
|
solver); update ideal_2D_oce output. |
51 |
|
o pkg ggl90: |
52 |
|
- in ggl90_cal.F: compute only one set of visc/diff, used to |
53 |
|
step forward TKE/T/S/momentum |
54 |
|
- default value of GGL90viscMax/GGL90diffMax larger and equal (to |
55 |
|
have Prandlt =1) |
56 |
|
o gmredi (fm07): |
57 |
|
- add lower limit on Transition layer thickness + lower limit on 1/lambda |
58 |
|
- allow to set few more params from data.gmredi |
59 |
|
o pkg ggl90: |
60 |
|
- add missing sqrt(2) factor in computation of mixing length |
61 |
|
scale in ggl90_calc.F |
62 |
|
(see Eq. (2.35) in Blanke and Delecluse, JPO, 1993) |
63 |
|
|
64 |
|
checkpoint61d |
65 |
|
o adjoint modifs |
66 |
|
- adapt to new field rhoInSitu |
67 |
|
- allow to revert from StoreDynVars2D, StoreDynVars3D |
68 |
|
to individual fields |
69 |
|
(switches AUTODIFF_USE_OLDSTORE_2D, AUTODIFF_USE_OLDSTORE_3D) |
70 |
|
o store 3-D (in-situ) density in commom block (DYNVARS.h) |
71 |
|
- save 1 rho computation. |
72 |
|
- no longer modify T & S inland when using down_slope pkg. |
73 |
|
o gad_som : allow to switch to SOM advection for T & S without corresponding |
74 |
|
pickup files (using new S/R: MDS_CHECK4FILE). |
75 |
|
o keep removing _BEGIN/_END_MASTER between MDSIO S/R call |
76 |
|
(for useSingleCpuIO to work in multi-threaded) |
77 |
|
o pkg/shelfice: |
78 |
|
- disentangle parameters: retire shelfIceFile in data/PARM05 and substitute |
79 |
|
with SHELFICEtopoFile in data.shelfice |
80 |
|
- move code for reading ice shelf topography and modifying hFacC into separate |
81 |
|
subroutines of the shelfice package |
82 |
|
- separate initialisation of "fixed" and "variable" variables |
83 |
|
- kTopC is not (yet) replaced by kSurfC, although this is possible |
84 |
|
o fix broken diagnostic SIatmFW and changed the units from m/s to kg/m^2/s |
85 |
|
o add initialisation of deepFac if using Pcoords (new S/R set_grid_factors) |
86 |
|
and rename: |
87 |
|
ini_phiref.F --> set_ref_state.F (+ set anelastic factors) |
88 |
|
ini_reference_state.F --> load_ref_files.F (- set anelastic factors) |
89 |
|
o change FIND_RHO_SCALAR : return rho (instead of rho - rhoConst) |
90 |
|
|
91 |
|
checkpoint61c |
92 |
|
o add option ALLOW_ADDFLUID and run-time selector "selectAddFluid" |
93 |
|
to add mass source/sink of fluid in the interior (3-D generalisation |
94 |
|
of oceanic real-fresh water flux). |
95 |
|
o pkg/monitor: fix recip_dr argument in mon_advcflw2 call (-> advcfl_W_hf_max) |
96 |
|
o vermix test experiment: switch from LINEAR EOS to MDJWF (not tested before) |
97 |
|
o new pkg: down_slope |
98 |
|
density-driven downsloping flow parameterisation (Tellus, 1999, 412-430). |
99 |
|
- presently, modify T & S inland (dwnslp_calc_rho.F). |
100 |
|
can be avoided if rho was stored in common bloc and used in calc_phi_hyd. |
101 |
|
- implementation for ocean in P-coords not tested. |
102 |
|
- add secondary test to global_ocean.90x40x15 (input.dwnslp) to check this pkg. |
103 |
|
o move kSurfC,kSurfW & kSurfS from SURFACE.h to GRID.h (next to kLowC) |
104 |
|
(to facilitate conversion of oceanic pkg to p-coordinate). |
105 |
|
o change FIND_RHO to FIND_RHO_2D : |
106 |
|
pass arguments tFld & sFld as local (tile) 2D-arrays ; +fix EOS_CHECK. |
107 |
|
o new pkg: cheapaml |
108 |
|
|
109 |
|
checkpoint61b |
110 |
|
o exch2: |
111 |
|
change index bounds in rx2_cube exchanges (new S/R: EXCH2_GET_UV_BOUNDS) |
112 |
|
- no longer depend on the order sequence (N,S,E,W). |
113 |
|
- 3rd exchange no longer needed (tested with 24 tiles). |
114 |
|
- same modif to hand-written adjoint S/R (global_ocean.cs32x15: zero diff) |
115 |
|
- exch_UV_A-grid readily available (but not yet tested). |
116 |
|
comment out 3rd exch call and remove copy of V to U at SE & NE face-corners |
117 |
|
(both are no longer needed) in exch_uv: no effect in forward run; but |
118 |
|
get truncation error differences with adjoint exch. |
119 |
|
o exch2: |
120 |
|
- change index-bounds storage (moved from target to local tile, |
121 |
|
more intuitive this way) ; rename/remove some variables. |
122 |
|
- change utils/exch2/matlab-topology-generator & code_mods accordingly. |
123 |
|
|
124 |
|
checkpoint61a |
125 |
|
o exch2/matlab-topology-generator: |
126 |
|
fix bug in index bounds for N-S internal exchange (hard to tell if this |
127 |
|
had any effect on the solution). |
128 |
|
o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf |
129 |
|
is exceeded |
130 |
|
o testreport: modify syntax of awk, so that it works also with |
131 |
|
awk, and not only with nawk and gawk |
132 |
|
|
133 |
|
checkpoint61 |
134 |
|
o autodiff |
135 |
|
Change default for TAF usage by removing argument '-nonew_arg' |
136 |
|
This changes TAF subroutine argument list (ordering of active var.) |
137 |
|
Omission of this flag leads to incompatibility w.r.t. TAMC |
138 |
|
To restore TAMC-compatibility, need following modifs: |
139 |
|
* use adoptfile tools/adjoint_options/adjoint_tamc_compatibility |
140 |
|
* use CPP option #define AUTODIFF_TAMC_COMPATIBILITY |
141 |
|
Tested TAF version is 1.9.22 |
142 |
|
N.B.: exch2 hand-written adjoint code currently not TAMC compatible |
143 |
|
|
144 |
|
checkpoint60 |
145 |
|
--->>> This is the last checkpoint for which generating the adjoint |
146 |
|
--->>> is done via the TAMC-compatibility TAF-flag "-nonewarg" |
147 |
|
--->>> by default. |
148 |
|
--->>> Future checkpoints will ommit this flag by default. |
149 |
|
o pkg/generic_advdiff, os7mp: simplify and avoid division by zero. |
150 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
151 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
152 |
|
o pkg/autodiff: more flexibility in zeroadj. |
153 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
154 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
155 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
156 |
|
special setup of gmredi for which the adjoint is stable |
157 |
|
enough for parameter optimization. |
158 |
o bridging the gap between eddy stress and GM. |
o bridging the gap between eddy stress and GM. |
159 |
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
160 |
along with a change in CPP option (now ALLOW_EDDYPSI). |
along with a change in CPP option (now ALLOW_EDDYPSI). |
165 |
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
166 |
The key modifications are in model/src/taueddy_external_forcing.F |
The key modifications are in model/src/taueddy_external_forcing.F |
167 |
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
168 |
|
|
169 |
checkpoint59r |
checkpoint59r |
170 |
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
171 |
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |