4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o obcs and 2d/3d solver norm: |
8 |
|
use interior masks (maskInC) to cancel out cg2d & cg3d matrix coeff at OB |
9 |
|
and outside OB interior region (will allow to place OB further inside the |
10 |
|
domain). Depending on the domain, can affects cg2d-Norm (previous |
11 |
|
cancelation outside OB was only partial), e.g. in exp4 & obcs_ctrl, |
12 |
|
and cg3d-Norm (previous Norm was computed before canceling OB terms), |
13 |
|
e.g. in tutorial_plume_on_slope. |
14 |
|
- update output of exp.: exp4 (x2), obcs_ctrl and tutorial_plume_on_slope. |
15 |
|
o pkg rbcs: |
16 |
|
- split RBCS.h into 3 files: RBCS_SIZE.h, RBCS_PARAMS.h & RBCS_FIELDS.h |
17 |
|
- add capability to apply relaxation to horizontal velocity uVel & vVel. |
18 |
|
o pkg/grdchk: add gradient check for control variable xx_shifwflx |
19 |
|
o pkg/shelfice/shelfice_init_fixed.F |
20 |
|
fix CPP-flag combinations |
21 |
|
o pkg/seaice: Merge iceage code of Pierre Rampal |
22 |
|
* update/change/correct ice age calculations |
23 |
|
* add age updates for pathological cases |
24 |
|
Probably needs more testing... |
25 |
|
|
26 |
|
checkpoint62x (2011/05/13) |
27 |
|
o pkg/mom_vecinv: |
28 |
|
high-order vorticity scheme: use interior masks (maskInW & S) |
29 |
|
to zero-out (outside OB) gradient of vorticity. |
30 |
|
o verification exp.: |
31 |
|
turn on "useEnergyConservingCoriolis" (better discretisation) in exp. |
32 |
|
hs94.128x64x5 and seaice_obcs ; update results. |
33 |
|
o pkg/obcs: |
34 |
|
fix bug in OBeta for YZ sections in obcs_exf_load.F |
35 |
|
o pkg/ctrl, pkg/shelfice, and optim: |
36 |
|
- add new control variable xx_shifwflx (fresh water flux underneath ice |
37 |
|
shelves). This is almost as tedious as obcs-ctrl, because the |
38 |
|
variables needs its own mask. |
39 |
|
- add a cost function term that penalizes the deviation of xx_shifwflx |
40 |
|
from the first guess (zero) in analogy to other control variables |
41 |
|
o pkg/shelfice: |
42 |
|
- start basic adjoint |
43 |
|
o pkg/ctrl: |
44 |
|
- remove extra 2D field "for good measure" when initializing in |
45 |
|
ctrl_set_globfld_[xy/xz/yz].F |
46 |
|
- replace hard coded precision 32 (a bug) in ctrl_map_ini_gen by ctrlprec |
47 |
|
- improve error messages in ctrl_set_unpack_* |
48 |
|
o OBC implementation in momentum: |
49 |
|
use interior masks (maskInC,W & S) in momentum S/R: |
50 |
|
- multiply divergence, tension and some del^i.u or del^j.v by maskInC |
51 |
|
- multiply del2u,del2v by maskInW/S (biharmonic viscosity) |
52 |
|
- multiply horiz. grad of vorticity by maskInW/S (in Leith scheme) |
53 |
|
- multiply gradient of wVel by maskInW/S in del2w calculation (NonHyd) |
54 |
|
Motivation: fix/clean implementation of OBC with biharmonic-viscosity |
55 |
|
(and also with Leith/Smagorinsky harmonic-viscosity). |
56 |
|
Update output of experiment dome and exp4 (+nlfs). |
57 |
|
o exp4 test-exp: |
58 |
|
- turn on: nonHydrostatic, exactConserv, viscA4 (with momDissip_In_AB=F) |
59 |
|
and prescribe time-varying OB (without pkg/exf) for zonal-velocity |
60 |
|
at Western & Eastern Boundaries (+/- 1 per-cent); Also prescribe |
61 |
|
time-varying OB at Western-side for wVel (NonHyd); update output. |
62 |
|
- add secondary set-up (.nlfs) using NonLin FreeSurf (z*) + mom_vecinv |
63 |
|
and biharmonic-viscosity ; also use prescribed time varying OB. |
64 |
|
o pkg/obcs: |
65 |
|
fix bug in OBWeta,OBWeta indices in obcs_apply_r_star.F |
66 |
|
o model/src: |
67 |
|
- fix startTime setting when baseTime<>0 & nIter0=0 are specified ; |
68 |
|
- initialise startTime & nIter0 with unlikely values: allows to set one |
69 |
|
from the other without ambiguity. |
70 |
|
o seaice_obcs test-exp.: |
71 |
|
add small diffK4T,S to test biharmonic diffusivity with OBCS ; update output. |
72 |
|
o pkg/obcs: |
73 |
|
- remove calls to OBCS_COPY_TRACER after EXCH for T,S & pTracer: |
74 |
|
no longer needed with maskInC,W,S in pkg/generic_advdiff. |
75 |
|
o pkg/seaice: |
76 |
|
- retired SEAICE_SALINITY and SEAICE_salinity in favor of |
77 |
|
SEAICE_VARIABLE_SALINITY and SIsalFRAC, respectively. |
78 |
|
- fixed bug in the initialization of sea ice salinity variable HSALT |
79 |
|
in seaice_init_varia.F (removed dependence on ICE2WATR) |
80 |
|
o fizhi-cs test exp.: |
81 |
|
switch reference output convention for these 2 non-standard test-exp, |
82 |
|
from: pgi 6.1-5 on faulks (FC.6, -of linux_ia32_pgf77+authors_fc5) |
83 |
|
to: ifort 11.1 on baudelaire (FC.13, -of linux_amd64_ifort11) |
84 |
|
reason: faulks might get retired soon and pkg/fizhi has still Pb with gfortran |
85 |
|
o model/inc: |
86 |
|
- change type of PmEpR array (from _RS to _RL) to fix restart (with "-use_r4") |
87 |
|
of exp. global_ocean.90x40x15 (Suncronous time-stepping + Real-FW + NonLin-FS) |
88 |
|
o pkg/seaice: |
89 |
|
- fix calculation of saltFlux and saltPlumeFlux when using SEAICE_SALINITY |
90 |
|
o verification/lab_sea, 1D_ocean_ice_column, seaice_obcs, global_ocean.cs32x15 |
91 |
|
- updated output*.txt files due to bug fixes in salt, saltPlumeFlux, |
92 |
|
and initial HSALT |
93 |
|
|
94 |
|
checkpoint62w (2011/04/26) |
95 |
|
o pkg/mom_fluxform: |
96 |
|
- fix calculation of del2u & del2v (no-slip BC) when using Non-Lin Free-Surf. |
97 |
|
- use parameter "sideDragFactor" in no-slip BC side-drag part. |
98 |
|
- update output of exp. global_ocean.90x40x15 |
99 |
|
o pkg/mom_vecinv: |
100 |
|
mask del2u & del2v (no effect on results, but cleaner & closer to mom_fluxform) |
101 |
|
o update seaice exp.: |
102 |
|
use more consistent parameter values (remove "backward compatability only": |
103 |
|
ICE2WATR, SEAICE_lhSublim, SEAICE_cpAir, SEAICE_rhoAir + set rhoConstFresh) |
104 |
|
related to thermodynamics seaice. Update output (fwd+AD) of exp.: |
105 |
|
1D_ocean_ice_column (x2), lab_sea (x8), ioffline_exf_seaice (x2) & seaice_obcs |
106 |
|
o update test-exp global_ocean.90x40x15: |
107 |
|
o use default CD_CODE_OPTIONS file (Adams-Bashforth on CD Mom & Coriolis). |
108 |
|
o increase Overlap size from 2 to 3 (to allow to test bi-harmonic Visc.) |
109 |
|
o new pickup-files from a 100.yr run with pkg/down_slope (input.dwnslp params) |
110 |
|
o turn on zStar & viscA4 in standard set-up (dir input/) |
111 |
|
and update output files: output.txt & output.dwnslp.txt |
112 |
|
o new AD-test experiment: obcs_ctrl |
113 |
|
(From Matt MITgcm_Contrib/SOSE/BoxAdj) to test OBCS as control vector. |
114 |
|
o pkg/dic: |
115 |
|
fix two bugs in handling water vapour pressure in carbonate chemistry |
116 |
|
and air-sea fluxes. Found by Val Bennington and Galen McKinley |
117 |
|
(add DIC Option = WATERVAP_BUG to recover old results) |
118 |
|
update output of tutorial_global_oce_biogeo (fwd+AD) & tutorial_dic_adjoffline |
119 |
|
o adding allowInteriorFreezing option to check for water below freezing point |
120 |
|
at depth and bring the negative heat anomaly to the surface level |
121 |
|
o pkgs _fields_load: |
122 |
|
- extend GET_PERIODIC_INTERVAL to deal with non-periodic case (from pkg/rbcs) |
123 |
|
- use new S/R GET_PERIODIC_INTERVAL in pkgs: |
124 |
|
bulk_force, cheapaml, cfc, dic, obcs (+ ctrl/ctrl_get_gen_rec), offline and |
125 |
|
rbcs to get interpolation weights and time reccord number. |
126 |
|
- fix multi-threading in aim_fields_load.F |
127 |
|
- apply EXCH to temp arrays [0,1] after reading in dic_fields_load.F |
128 |
|
o external_fields_load: |
129 |
|
new S/R GET_PERIODIC_INTERVAL to calculate which time-record (and linear |
130 |
|
interpolation weights) to use in a periodic time-series ; do not divide by |
131 |
|
time-step to convert to integer: |
132 |
|
- this fixes case where externForcingPeriod is not multiple of time-step |
133 |
|
(Thanks to Christopher L. Wolfe) |
134 |
|
- this fixes case where externForcingPeriod is an odd multiple of time-step |
135 |
|
(was wrong by half of time-step); update results of tutorial_global_oce_in_p. |
136 |
|
store index of time-record which is currently loaded: |
137 |
|
- works without any assumption on sequence of calls to EXTERNAL_FIELDS_LOAD ; |
138 |
|
- needed for the adjoint but not yet used because of extensive recomputations; |
139 |
|
(to be fixed soon) |
140 |
|
|
141 |
|
checkpoint62v (2011/04/02) |
142 |
|
o verification/1D_ocean_ice_column added to test Ian Fenty's |
143 |
|
pkg/seaice_growth.F modifications for improving sea ice code differentiability |
144 |
|
o update output of exp4, internal_wave, seaice_obcs, tutorial_plume_on_slope |
145 |
|
(new velocity statistics after changing maskInW & maskInS definition) |
146 |
|
o pkg/generic_advdiff with OBCS: |
147 |
|
use maksInW & maskInS in advective flux and in biharmonic diffusion calculation: |
148 |
|
equivalent to assumption of no tracer gradient outside the OB region. |
149 |
|
This will affect the results if using obcs+biharmonic diffusion. |
150 |
|
update output_adm.txt of experiment bottom_ctrl_5x5 (not expected since no obc) |
151 |
|
o pkg/obcs: |
152 |
|
change definition of maskInW & maskInS: leave OB edges inside (maskIn=1) |
153 |
|
(e.g., maskInW(OB_Ie)=1 ) so that velocity normal-component at OB is still |
154 |
|
in Interior region. No impact on solution but affects Velocity monitor stats. |
155 |
|
o pkg/ptracers (adjoint) |
156 |
|
New option AUTODIFF_PTRACERS_SPLIT_FILES for writing separate |
157 |
|
tape file for each tracer |
158 |
|
o model/inc/src and pkg/autodiff: add parameters that allow to turn |
159 |
|
of parts of the adjoint code at run time. For now, there are only |
160 |
|
useKPPinAdMode, useGMrediInAdMode, and useSEAICEinAdMode. These |
161 |
|
parameters are set in data.pkg. |
162 |
|
This is the lazy coward's version of doing this, but still useful for |
163 |
|
debugging. In order to do it right, everything needs to be moved to |
164 |
|
pkg/autodiff. |
165 |
|
o pkg/autodiff: fix global_sum_tile_ad.F by resetting adsumPhi at |
166 |
|
the end; this fixes the adjoint balancing code for open boundaries. |
167 |
|
o pkg/ctrl: |
168 |
|
- change behavior of xx_${varname}period to be analogous to exf-conventions: |
169 |
|
xx_${varname}period = 0., means time-independent control part |
170 |
|
xx_${varname}period = -12., means one-year-periodic monthly control part |
171 |
|
- introduce helper routine ctrl_init_rec (part of ctrl_init.F) to |
172 |
|
clean up ctrl_init a little, remove unused variables |
173 |
|
- ctrl_init: fixed the handling of the start/endrec for obcs-variables |
174 |
|
- move "call cal_GetMonthsRec" from s/r ctrl_get_gen to s/r ctrl_get_gen_rec |
175 |
|
|
176 |
|
checkpoint62u (2011/03/15) |
177 |
|
o model/src: |
178 |
|
- for the adjoint, change NonLin-FreeSurf initialisation sequence: fill-in |
179 |
|
h0Fac from INITIALISE_FIXED and reset hFac to h0Fac in INITIALISE_VARIA ; |
180 |
|
- in initialise_varia.F (except for ALLOW_DEPTH_CONTROL) remove 2nd call to |
181 |
|
INI_DEPTHS, INI_MASKS_ETC & INI_LINEAR_PHISURF. |
182 |
|
o pkg/ctrl/obcs/ecco: |
183 |
|
- remove obsolete, unused, and partially broken code: |
184 |
|
ctrl_obcsvol/ctrl_obcsbal/ctrl_volflux and code within |
185 |
|
ALLOW_CTRL_OBCS_BALANCE |
186 |
|
- put a stop statement into ecco/cost_obcsvol.F, but also add |
187 |
|
cost_obcsvol to ecco_ad_diff.list |
188 |
|
o pkg/ecco: fix counting cost function contributions for obcs (code |
189 |
|
by Matt M.) and diffkr for diagnostics |
190 |
|
o pkg/ecco, pkg/ctrl, pkg/grdchk: |
191 |
|
add cost penalty terms for initial uvel, vvel, eta controls |
192 |
|
and I/O for prior error files |
193 |
|
o pkg/mdsio: |
194 |
|
move mds_check4file.F from eesupp/src to mdsio_check4file.F ; add option |
195 |
|
(new argument) to check for tiled file in mdsioLocalDir : this fix the |
196 |
|
restart from pickup_som , pickup_dic (& dic_co2atm) with mdsioLocalDir. |
197 |
o pkg/ctrl: |
o pkg/ctrl: |
198 |
- ctrl_obcsbal.F, ctrl_obcsvol.F: replace last calls of ctrl_getrec by |
- ctrl_obcsbal.F, ctrl_obcsvol.F: replace last calls of ctrl_getrec by |
199 |
ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove |
ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove |
201 |
- ctrl_get_gen_rec.F: catch the case of xx_genperiod=0. |
- ctrl_get_gen_rec.F: catch the case of xx_genperiod=0. |
202 |
o pkg/ecco |
o pkg/ecco |
203 |
- enable adjoint of Stevens OB |
- enable adjoint of Stevens OB |
204 |
o pkg/ctrl/ecco/grdchk: |
o pkg/ctrl/ecco/grdchk: |
205 |
- remove global declaration of tmpfldx/yz and tmpfldx/yz2. |
- remove global declaration of tmpfldx/yz and tmpfldx/yz2. |
206 |
Fortunately, we do not have any tests for the numerous cpp-flagged |
Fortunately, we do not have any tests for the numerous cpp-flagged |
207 |
option of "obcs as control parameters" so we will never know |
option of "obcs as control parameters" so we will never know |
208 |
if this is an improvement (but at least now things compile). |
if this is an improvement (but at least now things compile). |
209 |
- remove an obsolete initialization from ecco_cost_init_barfiles.F |
- remove an obsolete initialization from ecco_cost_init_barfiles.F |
210 |
- fix some problems within never used ifdefs to make the code compile |
- fix some problems within never used ifdefs to make the code compile |
211 |
o pkg/obcs: |
o pkg/obcs: |
212 |
- Refine Interior mask definition to work with more complex OB (e.g. |
- Refine Interior mask definition to work with more complex OB (e.g. |
213 |
if OB_Ie < OB_Iw); In case default setting is not sufficient, allows to |
if OB_Ie < OB_Iw); In case default setting is not sufficient, allows to |