4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf: |
8 |
|
- use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h |
9 |
|
(previously, ALLOW_AUTODIFF_TAMC was controling this switch). |
10 |
|
o verification/*/code_ad: |
11 |
|
mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file: |
12 |
|
- reccord when this file is included (define ECCO_CPPOPTIONS_H) |
13 |
|
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not |
14 |
|
allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h) |
15 |
|
o pkg/seaice : |
16 |
|
- added possibility to change ice strength/PRESS0 relationship to |
17 |
|
HEFF, according to the following run time parameters |
18 |
|
SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0) |
19 |
|
SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0) |
20 |
|
SEAICEpresH0 :: HEFF threshold for ice strength (m) |
21 |
|
o pkg/ggl90 : |
22 |
|
- added run time flag mxlSurfFlag to include the code that ensure |
23 |
|
mixing between first and second level (previously included as a comment) |
24 |
|
o verification/1D_ocean_ice_column/input_ad/data.autodiff : |
25 |
|
- add test of newly added dumpAdByRec=T option where |
26 |
|
we write all records to one file per variable. |
27 |
|
o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h : |
28 |
|
- switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES |
29 |
|
to check that this code is ok with taf and compiles in adjoint. |
30 |
|
o pkg/autodiff : |
31 |
|
- added run time param dumpAdByRec : ad dump format switch. |
32 |
|
If true then write all records to one file per variable. |
33 |
|
Else write one file per record (remains the default). |
34 |
|
- revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly. |
35 |
|
o pkg/seaice: |
36 |
|
- Added SEAICEuseTILT run time switch : if set to |
37 |
|
false then omit the tilt term in seaice dynamics. |
38 |
|
- Fix free drift calculation. |
39 |
|
o pkg/shelfice: |
40 |
|
When initializing SHELFICEDragQuadratic, set default to be |
41 |
|
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
42 |
|
but retain option to set it independently |
43 |
|
(inconsistenty spotted by Veronique Dansereau) |
44 |
|
o eesupp/inc: |
45 |
|
- in EEPARAMS.h, add real-type constant for some frequently used simple number |
46 |
|
(0,1,2,1/2), with name explicitly referring to RS/RL type. |
47 |
|
o model/src: |
48 |
|
- move balancing of relaxation terms to new S/R balance_relax.F. |
49 |
|
o pkg/autodiff: |
50 |
|
re-write active I/O high-level (control) S/R: |
51 |
|
- rename S/R ACTIVE_READ/WRITE_RL to ACTIVE_READ/WRITE_3D_RL |
52 |
|
- add 1 more argument (useCurrentDir) to replace the "_LOC" 2nd set of S/R. |
53 |
|
- use standard pkg/mdsio I/O routines (MDS_READ/WRITE_SEC_XZ/YZ and |
54 |
|
MDS_READ/WRITE_FIELD); change loops to multi-threads. |
55 |
|
- update and merge active_file_control_slice.flow into active_file_control.flow |
56 |
|
- update the calls in lower level S/R (active_file.F, active_file_g.F and |
57 |
|
active_file_ad.F) keeping the argument list and function unchanged. |
58 |
|
- also update lower-level "_LOC" version (call same S/R with "useCurrentDir |
59 |
|
=.TRUE.") and remove high-level (control) _loc version (not called anymore). |
60 |
|
- new low-level active I/O routines, one for each type (RL/RS), for active var |
61 |
|
of various (XY,XZ,YZ) shape and level number (arguments: arrShape, myNr); |
62 |
|
fix ctrl_init_wet.F & ecco_cost_weights.F by calling the new S/R with the |
63 |
|
right type. |
64 |
|
o autodiff and RS=real*4: |
65 |
|
- call the right type (_RS instead of _RL) of S/R in few output S/R (pkg/exf |
66 |
|
ad-monitor and snapshots); disable arrType='RS' in mdsio_gl*.F ; |
67 |
|
- change argument type of 3-D mask argument to _RS to match type in the call |
68 |
|
(in seaice_cost*.F, ctrl_*_gen.F and *ctrl_bound.F); to be continued. |
69 |
|
o pkg/thsice: |
70 |
|
- re-anable balanceEmPmR when useSEAICE=T with useThSIce=T. |
71 |
|
- option to correct ocean fresh-water flux for imbalance of Atmos+Land |
72 |
|
fresh-water flux: uniform correction or proportional to local precip. |
73 |
|
o pkg/ctrl: |
74 |
|
- new header file CTRL_SIZE.h for parameters maxCtrlArr2D, maxCtrlArr3D |
75 |
|
- redefine CPP option ALLOW_BOTTOMDRAG_CONTROL to |
76 |
|
ALLOW_BOTTOMDRAG_CONTROL_NONGENERIC |
77 |
|
- verification/hs94.1x64x5/ tests ALLOW_GENARR{2D,3D}_CONTROL |
78 |
|
|
79 |
|
checkpoint63q (2012/07/30) |
80 |
|
o pkg/autodiff: |
81 |
|
note about monitor and snap-shot of ad-variables: |
82 |
|
a) need to apply ADEXCH before monitor or output of ad-vars to include |
83 |
|
overlap contributions (was done for adjDump but missing for monitor). |
84 |
|
b) since ADEXCH implies adding overlap values to interior array, machine |
85 |
|
truncation error is expected when adding an ADEXCH call in the middle of |
86 |
|
the time-stepping (although mathematically identical). |
87 |
|
modifs: |
88 |
|
- fix some incorrect type (RL/RS, UV/scalar) in ADEXCH calls and ad-vars |
89 |
|
declaration (adEddyPsiX,adEddyPsiY in adcommon.h). |
90 |
|
- add new run-time params (dumpAdVarExch & mon_AdVarExch) to select how to |
91 |
|
apply ADEXCH before monitor or snap-shot of ad-variables: |
92 |
|
=0 : no ADEXCH ; =1 : do ADEXCH ; =2 : apply ADEXCH on a local copy. |
93 |
|
- implement new method (copy+adexch) for snap-shot and monitor of main model |
94 |
|
ad-vars (initially not used by default -> output unchanged). |
95 |
|
- change default (set to 2) to use new method and update few output_adm.txt |
96 |
|
with accurate ad-monitor (global_ocean.90x40x15, tutorial_global_oce_biogeo |
97 |
|
and both tutorial_tracer_adjsens tests). |
98 |
|
- switch 2 global_ocean.cs32x15 AD-tests to AB-2 (seaice_dynmix & thsice) |
99 |
|
and turn off momDissip_In_AB in the 2 other (needed for stable AB-3). |
100 |
o pkg/ctrl: |
o pkg/ctrl: |
101 |
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
102 |
generic control variables via |
generic control variables via |