4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
8 |
|
- clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into |
9 |
|
separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h, |
10 |
|
not necessary accurate). |
11 |
|
- add a template for option-file ECCO_CPPOPTIONS.h, mostly empty, in |
12 |
|
pkg/autodiff, i.e., the 1rst pkg to compile for adjoint built, with lines to |
13 |
|
deliberately break compilation (a remainder that it needs to be customized) |
14 |
|
- in pkg/ecco, includes ECCO_OPTIONS.h instead of COST_OPTIONS.h |
15 |
|
- rename COST_CPPOPTIONS.h to COST_OPTIONS.h |
16 |
|
- rename CTRL_CPPOPTIONS.h to CTRL_OPTIONS.h |
17 |
|
o tools/genamke2: |
18 |
|
- check for lapack. |
19 |
|
o pkg/cost and pkg/ecco : attempt to sort out some of the limiting intricacies. |
20 |
|
- pkg/cost.cost_final.F : allow for use of pkg/ecco and pkg/cost cost functions |
21 |
|
jointly. The exclusive ifdefs were removed, to add costs terms (when defined) |
22 |
|
from both packages. |
23 |
|
- the fc global sum in pkg/ecco/ecco_cost_final.F was removed accordingly. |
24 |
|
- for objf_atl we use either the pkg/ecco or the pkg/cost term depending on CPPs. |
25 |
|
- pkg/ecco and model/src : add CPP brackets around pkg/cost and pkg/ctrl includes |
26 |
|
of "CTRL_SIZE.h" "ctrl.h" "ctrl_dummy.h" "optim.h" / "cost.h" accordingly. |
27 |
|
o pkg/cost : add comments to explain special and/or untested setups. |
28 |
|
o pkg/exf: |
29 |
|
- use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h |
30 |
|
(previously, ALLOW_AUTODIFF_TAMC was controling this switch). |
31 |
|
o verification/*/code_ad: |
32 |
|
mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file: |
33 |
|
- reccord when this file is included (define ECCO_CPPOPTIONS_H) |
34 |
|
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not |
35 |
|
allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h) |
36 |
|
o pkg/seaice : |
37 |
|
- added possibility to change ice strength/PRESS0 relationship to |
38 |
|
HEFF, according to the following run time parameters |
39 |
|
SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0) |
40 |
|
SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0) |
41 |
|
SEAICEpresH0 :: HEFF threshold for ice strength (m) |
42 |
|
o pkg/ggl90 : |
43 |
|
- added run time flag mxlSurfFlag to include the code that ensure |
44 |
|
mixing between first and second level (previously included as a comment) |
45 |
|
o verification/1D_ocean_ice_column/input_ad/data.autodiff : |
46 |
|
- add test of newly added dumpAdByRec=T option where |
47 |
|
we write all records to one file per variable. |
48 |
|
o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h : |
49 |
|
- switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES |
50 |
|
to check that this code is ok with taf and compiles in adjoint. |
51 |
|
o pkg/autodiff : |
52 |
|
- added run time param dumpAdByRec : ad dump format switch. |
53 |
|
If true then write all records to one file per variable. |
54 |
|
Else write one file per record (remains the default). |
55 |
|
- revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly. |
56 |
o pkg/seaice: |
o pkg/seaice: |
57 |
- Added SEAICEuseTILT run time switch : if set to |
- Added SEAICEuseTILT run time switch : if set to |
58 |
false then omit the tilt term in seaice dynamics. |
false then omit the tilt term in seaice dynamics. |
59 |
- Fix free drift calculation. |
- Fix free drift calculation. |
60 |
o pkg/shelfice: |
o pkg/shelfice: |
61 |
When initializing SHELFICEDragQuadratic, set default to be |
When initializing SHELFICEDragQuadratic, set default to be |
62 |
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
63 |
but retain option to set it independently |
but retain option to set it independently |
64 |
(inconsistenty spotted by Veronique Dansereau) |
(inconsistenty spotted by Veronique Dansereau) |
65 |
o eesupp/inc: |
o eesupp/inc: |