4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
checkpoint59f |
8 |
|
o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode) |
9 |
|
o pkg/ctrl: ctrl_bound forces parameter corrections to stay in |
10 |
|
a bounded range (in forward mode) |
11 |
|
o pkg/ecco, ctrl, autodiff and mom_common: |
12 |
|
internal parameter controls, completements of implementations |
13 |
|
o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy. |
14 |
|
o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ; |
15 |
|
(not seem any difference in testing results). |
16 |
|
o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains |
17 |
|
at face corners. |
18 |
|
o pkg/generic_advdiff: |
19 |
|
- in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR) |
20 |
|
loop range indices for computing vertical advection tendency |
21 |
|
and do the calculation in the interior only (no overlap) ; |
22 |
|
for now, only implemented for SOM advection (to save CPU time). |
23 |
|
- add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment) |
24 |
|
o exch2 adjoint |
25 |
|
First set of changes: |
26 |
|
- add exch2 hand-written adjoint templates |
27 |
|
- exch2 hand-written no longer use TAF-flag 'nownew_arg' |
28 |
|
This will require cleanup in pkg/autodiff/*.F |
29 |
|
(changed routines currently kept separate in verif. code/) |
30 |
|
- Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC |
31 |
|
that used to hide exch2 or cubed-sphere specific code |
32 |
|
(commented via 'cph-exch2') |
33 |
|
o pkg/seaice |
34 |
|
- Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE. |
35 |
|
o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update |
36 |
|
output of global_ocean.cs32x15.thsice . |
37 |
|
|
38 |
|
checkpoint59e |
39 |
|
o exch2: new S/R that only use the cube-tracer (center-position) exchange: |
40 |
|
for B-grid vector (not yet tested) and C-grid vector (<- only used |
41 |
|
when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined). |
42 |
|
o starting implementation of Duffy et al. (GRL 1999) salt plume scheme |
43 |
|
(#ifdef ALLOW_SALT_PLUME) |
44 |
|
o gather_2d/scatter_2d: removed halo regions |
45 |
|
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
46 |
|
scheme and the corresponding test case (under front_relax dir). For now, |
47 |
|
only available with Skew-flux form and not yet tested in realistic set-up. |
48 |
|
adjoint: store directives updated, but gradient checks deteriorated, |
49 |
|
so maybe GM/Redi adjoint is now broken. |
50 |
|
o seaice adjoint |
51 |
|
* add AREA, HEFF, HSNOW as control variable |
52 |
|
(should not change lab_sea results) |
53 |
|
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
54 |
|
o pkg/seaice: |
55 |
|
* added computation of saltFlux in seaice_growth; |
56 |
|
For time being, sea ice salinity is assumed constant |
57 |
|
contribution of snow flooding to freshening of sea ice is neglected. |
58 |
|
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
59 |
|
defaults to 0.0 in order to maintain backward compatibility. |
60 |
|
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
61 |
|
* replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F |
62 |
|
* added SEAICE_availHeatFrac, which specifies fraction of surface level |
63 |
|
heat content used to melt or grow ice |
64 |
|
* commented out cap of HICE: it helps keep ice thinner |
65 |
|
* reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option |
66 |
|
* applied OBCS T/S mask to HEFFM sea ice mask |
67 |
|
|
68 |
|
checkpoint59d |
69 |
|
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
70 |
|
for {PKG} state variables, and called from DO_STATEVARS_DIAGS. |
71 |
|
(keep {PKG}_DIAGNOSTICS_FILL for non-state variables diagnostics) |
72 |
|
o pkg/gmredi (gmredi_readparms.F): add some missing "_d 0" |
73 |
|
and change default value of parameter "GM_Small_Number"; |
74 |
|
update output of exp: lab_sea (x2), cfc_example, global_ocean.90x40x15, |
75 |
|
global_ocean.cs32x15 (x4), global_ocean_ebm, global_with_exf, |
76 |
|
tutorial_global_oce_biogeo, tutorial_global_oce_latlon |
77 |
|
o pkg/ecco: cost function when applying pkg/smooth to controls |
78 |
|
o pkg/ctrl: add forcingPrecond run time parameter |
79 |
|
o pkg/seaice: |
80 |
|
- replace ZMIN=4.e8 with ZMIN=0. in dynsolver.F as in C-grid code |
81 |
|
- fix bug in metric terms of u-equation in LSR solver (implicit part), |
82 |
|
changes verification/lab_sea |
83 |
|
- rearrange implicit part of u-equation in LSR solver to make it easier to |
84 |
|
read, understand, and debug. This causes changes at the truncation level. |
85 |
|
- fix (serious) bug in the boundary conditions (sign error in the implicit |
86 |
|
part) of the LSR solver. Changes all LSR results. |
87 |
|
- fixed problem with HSNOW initialization to avoid thick snow when AREA |
88 |
|
is initilized with small values - does not change lab_sea results. |
89 |
|
- added HsnowFile initialization capability |
90 |
|
o pkg/smooth: addition to model/src and pkg/ctrl so allow |
91 |
|
initialization of pkg/smooth and application to control vector |
92 |
o pkg/seaice: fix another bug in the LSR no-slip boundary conditons |
o pkg/seaice: fix another bug in the LSR no-slip boundary conditons |
93 |
o dependencies: pkg/profiles requires pkg/cal |
o dependencies: pkg/profiles requires pkg/cal |
94 |
o pkg/profiles: |
o pkg/profiles: |
100 |
that allow you to prepare netcdf input files. |
that allow you to prepare netcdf input files. |
101 |
- also modified: cleaner include statements, cleaner error print statements, |
- also modified: cleaner include statements, cleaner error print statements, |
102 |
cleaner stops when error, and more tests of the netcdf input files consistency. |
cleaner stops when error, and more tests of the netcdf input files consistency. |
|
|
|
103 |
o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs. |
o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs. |
104 |
o pkg/seaice: |
o pkg/seaice: |
105 |
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |