4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o model/inc/scr and pkg/autodiff: add parameters that allow to turn |
8 |
|
of parts of the adjoint code at run time. For now, there are only |
9 |
|
useKPPinAdMode, useGMrediInAdMode, and useSEAICEinAdMode. These |
10 |
|
parameters are set in data.pkg. |
11 |
|
This is the lazy coward's version of doing this, but still useful for |
12 |
|
debugging. In order to do it right, everything needs to be moved to |
13 |
|
pkg/autodiff. |
14 |
|
o pkg/autodiff: fix global_sum_tile_ad.F by resetting adsumPhi at |
15 |
|
the end; this fixes the adjoint balancing code for open boundaries. |
16 |
|
o pkg/ctrl: |
17 |
|
- change behavior of xx_${varname}period to be analogous to exf-conventions: |
18 |
|
xx_${varname}period = 0., means time-independent control part |
19 |
|
xx_${varname}period = -12., means one-year-periodic monthly control part |
20 |
|
- introduce helper routine ctrl_init_rec (part of ctrl_init.F) to |
21 |
|
clean up ctrl_init a little, remove unused variables |
22 |
|
- ctrl_init: fixed the handling of the start/endrec for obcs-variables |
23 |
|
- move "call cal_GetMonthsRec" from s/r ctrl_get_gen to s/r ctrl_get_gen_rec |
24 |
|
|
25 |
|
checkpoint62u (2011/03/15) |
26 |
|
o model/src: |
27 |
|
- for the adjoint, change NonLin-FreeSurf initialisation sequence: fill-in |
28 |
|
h0Fac from INITIALISE_FIXED and reset hFac to h0Fac in INITIALISE_VARIA ; |
29 |
|
- in initialise_varia.F (except for ALLOW_DEPTH_CONTROL) remove 2nd call to |
30 |
|
INI_DEPTHS, INI_MASKS_ETC & INI_LINEAR_PHISURF. |
31 |
|
o pkg/ctrl/obcs/ecco: |
32 |
|
- remove obsolete, unused, and partially broken code: |
33 |
|
ctrl_obcsvol/ctrl_obcsbal/ctrl_volflux and code within |
34 |
|
ALLOW_CTRL_OBCS_BALANCE |
35 |
|
- put a stop statement into ecco/cost_obcsvol.F, but also add |
36 |
|
cost_obcsvol to ecco_ad_diff.list |
37 |
|
o pkg/ecco: fix counting cost function contributions for obcs (code |
38 |
|
by Matt M.) and diffkr for diagnostics |
39 |
|
o pkg/ecco, pkg/ctrl, pkg/grdchk: |
40 |
|
add cost penalty terms for initial uvel, vvel, eta controls |
41 |
|
and I/O for prior error files |
42 |
|
o pkg/mdsio: |
43 |
|
move mds_check4file.F from eesupp/src to mdsio_check4file.F ; add option |
44 |
|
(new argument) to check for tiled file in mdsioLocalDir : this fix the |
45 |
|
restart from pickup_som , pickup_dic (& dic_co2atm) with mdsioLocalDir. |
46 |
o pkg/ctrl: |
o pkg/ctrl: |
47 |
- 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 |
48 |
ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove |
ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove |
50 |
- ctrl_get_gen_rec.F: catch the case of xx_genperiod=0. |
- ctrl_get_gen_rec.F: catch the case of xx_genperiod=0. |
51 |
o pkg/ecco |
o pkg/ecco |
52 |
- enable adjoint of Stevens OB |
- enable adjoint of Stevens OB |
53 |
o pkg/ctrl/ecco/grdchk: |
o pkg/ctrl/ecco/grdchk: |
54 |
- remove global declaration of tmpfldx/yz and tmpfldx/yz2. |
- remove global declaration of tmpfldx/yz and tmpfldx/yz2. |
55 |
Fortunately, we do not have any tests for the numerous cpp-flagged |
Fortunately, we do not have any tests for the numerous cpp-flagged |
56 |
option of "obcs as control parameters" so we will never know |
option of "obcs as control parameters" so we will never know |
57 |
if this is an improvement (but at least now things compile). |
if this is an improvement (but at least now things compile). |
58 |
- remove an obsolete initialization from ecco_cost_init_barfiles.F |
- remove an obsolete initialization from ecco_cost_init_barfiles.F |
59 |
- fix some problems within never used ifdefs to make the code compile |
- fix some problems within never used ifdefs to make the code compile |
60 |
o pkg/obcs: |
o pkg/obcs: |
61 |
- Refine Interior mask definition to work with more complex OB (e.g. |
- Refine Interior mask definition to work with more complex OB (e.g. |
62 |
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 |