4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/autodiff: |
8 |
|
note about monitor and snap-shot of ad-variables: |
9 |
|
a) need to apply ADEXCH before monitor or output of ad-vars to include |
10 |
|
overlap contributions (was done for adjDump but missing for monitor). |
11 |
|
b) since ADEXCH implies adding overlap values to interior array, machine |
12 |
|
truncation error is expected when adding an ADEXCH call in the middle of |
13 |
|
the time-stepping (although mathematically identical). |
14 |
|
modifs: |
15 |
|
- add new run-time params (dumpAdVarExch & mon_AdVarExch) to select how to |
16 |
|
apply ADEXCH before monitor or snap-shot of ad-variables: |
17 |
|
=0 : no ADEXCH ; =1 : do ADEXCH ; =2 : apply ADEXCH on a local copy. |
18 |
|
- implement new method (copy+adexch) for snap-shot and monitor of main model |
19 |
|
ad-vars (but not yet used by default). |
20 |
|
- fix some incorrect type (RL/RS, UV/scalar) in ADEXCH calls and ad-vars |
21 |
|
declaration (adEddyPsiX,adEddyPsiY in adcommon.h). |
22 |
o pkg/ctrl: |
o pkg/ctrl: |
23 |
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
24 |
generic control variables via |
generic control variables via |