4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/ctrl: |
8 |
|
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
9 |
|
generic control variables via |
10 |
|
#define ALLOW_GENARR2D_CONTROL and/or #define ALLOW_GENARR3D_CONTROL |
11 |
|
Only required customization should be S/R ctrl_map_ini_genarr.F |
12 |
|
(routine in repository contains example) |
13 |
|
o pkg/exf: |
14 |
|
- fix and refine checking of surface-relaxation setting when using EXF |
15 |
|
o verification (adjoint exp): |
16 |
|
- reduce length of simulation by half for experiment global_ocean.cs32x15 |
17 |
|
(std, seaice & seaice_dynmix) and exp tutorial_dic_adjoffline; update output. |
18 |
|
o pkg/mom_common (mom_u/v_bottomdrag), pkg/shelfice (shelfice_u/v_drag) |
19 |
|
- replace if statements KE.ne.0 with KE.gt.0 to avoid sqrt of negative numbers |
20 |
|
of KE that can occur with aggressive optimization |
21 |
|
+ put quadratic bottom drag calculation in separated loops (only done if |
22 |
|
using bottomDragQuadratic) |
23 |
|
o model/src: CG2D_NSA |
24 |
|
- clean-up: stop if cg2dNormaliseRHS=T and AUTODIFF |
25 |
|
and replace GLOBAL_SUM calls with GLOBAL_SUM_TILE. |
26 |
|
- in test-exp that uses CG2D_NSA (bottom_ctrl & tutorial_tracer_adjsens), |
27 |
|
change cg2d residual target to be expressed in Wunits (=> do not normalise |
28 |
|
RHS ; this fix global_max Pb with TAF); update output. |
29 |
|
o verification/tutorial_tracer_adjsens: |
30 |
|
improve parameter consistency (and get rid of warnings): |
31 |
|
- use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf); |
32 |
|
- switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical) |
33 |
|
- use staggerTimeStep (for stability) in som81; use default rotation period. |
34 |
|
o pkg/exch2: |
35 |
|
- with empty facet: fix compact-format (W2_mapIO=1) definition (was previously |
36 |
|
reset to 0 = 1 long line in X) |
37 |
|
o pkg/mdsio: |
38 |
|
- fix reading of dimensions from meta file for large-size domain |
39 |
|
o model/src: |
40 |
|
- fix saltIsActiveTr setting for IdealGas eosType (eosType is 6 character long); |
41 |
|
- to refine CS-grid check, add logical flag "hasWetCSCorners": true if using |
42 |
|
Cubed-Sphere Exch with CS-corners inside the domain; |
43 |
|
make new S/R INI_GLOBAL_DOMAIN from code in ini_linear_phisurf.F to calculate |
44 |
|
globalArea and to set hasWetCSCorners. |
45 |
|
- add warning if usingCurvilinearGrid and momAdvection in flux-form (missing |
46 |
|
metric terms); stop if hasWetCSCorners=T and momAdvection in flux-form. |
47 |
|
- re-activate the stop if useCDscheme and hasWetCSCorners=T (previously if |
48 |
|
useCDscheme and useCubedSphereExchange). |
49 |
|
o pkg/seaice/seaice_growth.F : |
50 |
|
- compute the SEAICE_DISABLE_HEATCONSFIX term accordingly |
51 |
|
for the (.NOT.useRealFreshWaterFlux).OR.(nonlinFreeSurf.EQ.0) |
52 |
|
when the previous code was not correct. |
53 |
|
- in all cases diagnoze the boundary condition mismatch to SIaaflux |
54 |
|
- in the case of useRealFreshWaterFlux.AND.(nonlinFreeSurf.GT.0) add |
55 |
|
that term to QNET (essentially to set the melt/freeze water to 0degC). |
56 |
|
when SEAICEheatConsFix is true, so that the ocean+ice budget heat is closed. |
57 |
|
o verification/global_ocean.cs32x15/input.seaice : |
58 |
|
- add SEAICEheatConsFix in data.seaice, ensuring closed ocean+ice heat budget. |
59 |
|
- add diagnostics (commented out) for budget test using my matlab codes (gcmfaces). |
60 |
|
- update results (output.seaice.txt) accordingly. |
61 |
|
o verification/lab_sea/input/data.seaice : |
62 |
|
- remove SEAICEheatConsFix, which is now be tested |
63 |
|
in global_ocean.cs32x15. The presently coded fix |
64 |
|
is only consistent with real fresh water + nlfs. |
65 |
|
- update results (output.txt) accordingly. |
66 |
|
o pkg/salt_plume: added diagnotic for salt tendency (oceSPtnd). |
67 |
|
o AD_CONFIG.h file: |
68 |
|
- in genmake2: remove "#undef ALLOW_ECCO_OPTIMIZATION" from AD_CONFIG.h; |
69 |
|
- remove #include "AD_CONFIG.h" from all included OPTIONS files and |
70 |
|
add it explicitly in each fortran src file where it is needed. |
71 |
|
motivation: header file AD_CONFIG.h is generated/modified after "make depend" |
72 |
|
thus introducing potentially wrong dependency; therefore, better to include |
73 |
|
it only where it's really needed, and after any other included OPTIONS file |
74 |
|
(less tempting to bring conditional includes according to ALLOW_ADJOINT_RUN |
75 |
|
or ALLOW_TANGENTLINEAR_RUN). |
76 |
|
|
77 |
checkpoint63p (2012/07/06) |
checkpoint63p (2012/07/06) |
78 |
o pkg/autodiff: |
o pkg/autodiff: |
79 |
- rename S/R INI_AUTODIFF to AUTODIFF_INIT_VARIA ; |
- rename S/R INI_AUTODIFF to AUTODIFF_INIT_VARIA ; |