4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/ctrl: |
8 |
|
- new header file CTRL_SIZE.h for parameters maxCtrlArr2D, maxCtrlArr3D |
9 |
|
- redefine CPP option ALLOW_BOTTOMDRAG_CONTROL to |
10 |
|
ALLOW_BOTTOMDRAG_CONTROL_NONGENERIC |
11 |
|
- verification/hs94.1x64x5/ tests ALLOW_GENARR{2D,3D}_CONTROL |
12 |
|
checkpoint63q (2012/07/30) |
13 |
|
o pkg/autodiff: |
14 |
|
note about monitor and snap-shot of ad-variables: |
15 |
|
a) need to apply ADEXCH before monitor or output of ad-vars to include |
16 |
|
overlap contributions (was done for adjDump but missing for monitor). |
17 |
|
b) since ADEXCH implies adding overlap values to interior array, machine |
18 |
|
truncation error is expected when adding an ADEXCH call in the middle of |
19 |
|
the time-stepping (although mathematically identical). |
20 |
|
modifs: |
21 |
|
- fix some incorrect type (RL/RS, UV/scalar) in ADEXCH calls and ad-vars |
22 |
|
declaration (adEddyPsiX,adEddyPsiY in adcommon.h). |
23 |
|
- add new run-time params (dumpAdVarExch & mon_AdVarExch) to select how to |
24 |
|
apply ADEXCH before monitor or snap-shot of ad-variables: |
25 |
|
=0 : no ADEXCH ; =1 : do ADEXCH ; =2 : apply ADEXCH on a local copy. |
26 |
|
- implement new method (copy+adexch) for snap-shot and monitor of main model |
27 |
|
ad-vars (initially not used by default -> output unchanged). |
28 |
|
- change default (set to 2) to use new method and update few output_adm.txt |
29 |
|
with accurate ad-monitor (global_ocean.90x40x15, tutorial_global_oce_biogeo |
30 |
|
and both tutorial_tracer_adjsens tests). |
31 |
|
- switch 2 global_ocean.cs32x15 AD-tests to AB-2 (seaice_dynmix & thsice) |
32 |
|
and turn off momDissip_In_AB in the 2 other (needed for stable AB-3). |
33 |
|
o pkg/ctrl: |
34 |
|
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
35 |
|
generic control variables via |
36 |
|
#define ALLOW_GENARR2D_CONTROL and/or #define ALLOW_GENARR3D_CONTROL |
37 |
|
Only required customization should be S/R ctrl_map_ini_genarr.F |
38 |
|
(routine in repository contains example) |
39 |
|
o pkg/exf: |
40 |
|
- fix and refine checking of surface-relaxation setting when using EXF |
41 |
|
o verification (adjoint exp): |
42 |
|
- reduce length of simulation by half for experiment global_ocean.cs32x15 |
43 |
|
(std, seaice & seaice_dynmix) and exp tutorial_dic_adjoffline; update output. |
44 |
|
o pkg/mom_common (mom_u/v_bottomdrag), pkg/shelfice (shelfice_u/v_drag) |
45 |
|
- replace if statements KE.ne.0 with KE.gt.0 to avoid sqrt of negative numbers |
46 |
|
of KE that can occur with aggressive optimization |
47 |
|
+ put quadratic bottom drag calculation in separated loops (only done if |
48 |
|
using bottomDragQuadratic) |
49 |
|
o model/src: CG2D_NSA |
50 |
|
- clean-up: stop if cg2dNormaliseRHS=T and AUTODIFF |
51 |
|
and replace GLOBAL_SUM calls with GLOBAL_SUM_TILE. |
52 |
|
- in test-exp that uses CG2D_NSA (bottom_ctrl & tutorial_tracer_adjsens), |
53 |
|
change cg2d residual target to be expressed in Wunits (=> do not normalise |
54 |
|
RHS ; this fix global_max Pb with TAF); update output. |
55 |
o verification/tutorial_tracer_adjsens: |
o verification/tutorial_tracer_adjsens: |
56 |
improve parameter consistencyi (and get rid of warnings): |
improve parameter consistency (and get rid of warnings): |
57 |
- use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf); |
- use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf); |
58 |
- switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical) |
- switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical) |
59 |
- use staggerTimeStep (for stability) in som81; use default rotation period. |
- use staggerTimeStep (for stability) in som81; use default rotation period. |