4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/generic_advdiff: |
8 |
|
Change OBCS in multiDim advection (gad_advection.F): |
9 |
|
Use maskInC to prevent intermediate update of tracer-field in OB regions, |
10 |
|
thus keeping current-time-step OB values; and remove the call to OBCS_APPLY |
11 |
|
which were applying future time-step OB values. |
12 |
|
This way, all explicit calculations use current-time-step OB values |
13 |
|
(simpler and more consistent). |
14 |
|
Affects results when set-up uses time-varying OBC and multi-dim advection; |
15 |
|
update output of experiment seaice_obcs. |
16 |
|
o pkg/seaice: |
17 |
|
move OPTIONS (formerly locally defined) to SEAICE_OPTIONS.h: |
18 |
|
this includes SEAICE_GROWTH_LEGACY (+ SEAICE_DO_OPEN_WATER_GROWTH & |
19 |
|
SEAICE_OCN_MELT_ACT_ON_AREA ) and SEAICE_SOLVE4TEMP_LEGACY. |
20 |
|
Default (pkg/seaice/SEAICE_OPTIONS.h) is to define SEAICE_SOLVE4TEMP_LEGACY |
21 |
|
but leave SEAICE_GROWTH_LEGACY undef ; For now, keep verification exp |
22 |
|
unchanged (SEAICE_GROWTH_LEGACY defined in */code*/SEAICE_OPTIONS.h) |
23 |
|
o pkg aim (2010/10/26): |
24 |
|
- Introduce ALLOW_INSOLATION, moving toward a more general incoming solar radiation |
25 |
|
formulation with obliquity, eccentricity, ... as run-time parameters, |
26 |
|
- Introduce diagnostics for top-of-the-atmaophere incoming solar radiation and |
27 |
|
upward shortwave radition at the surface (all-sky and clear-sky). |
28 |
|
o pkg/obcs: |
29 |
|
- writing sections with globalFiles=T does not work: switch to tiled-files |
30 |
|
when writing sections for OBCS (change pkg/rw/write_rec.F accordingly). |
31 |
|
- fix index bug (OB_Ie -> OB_Iw_) in obcs_apply_uvice.F |
32 |
|
- apply OBCS_SEAICE_COMPUTE_UVICE to both uice and vice at all obcs |
33 |
|
|
34 |
|
checkpoint62m (2010/10/21) |
35 |
|
o pkg/seaice: vectorize seaice_solve4temp.F |
36 |
|
- move iterations loops outside of i/j-loops |
37 |
|
- requires 2D arrays for TB and effConduct |
38 |
|
- add 2D iceOrNot to replace HICE_ACTUAL.GT.0, as HICE_ACTUAL is |
39 |
|
modified in this routine |
40 |
|
- a little bit of clean up, adjusting indentation, etc. |
41 |
|
- replaced a few TEN**a by exp(a*log(10.)) in new code for better |
42 |
|
performance and '**TWO' by '**2' (because TWO is a float), |
43 |
|
replaced ONE, ZERO |
44 |
|
o eesupp/src: |
45 |
|
fix flow dir for exch1_z_RX_cube, exch1_uv_RX_cube & exch1_bg_RX_cube |
46 |
|
o pkg/seaice/seaice_growth.F |
47 |
|
Revision 1.89 of seaice_growth.F completes the overall october 2010 revision and |
48 |
|
merging process. The merged routine has two branches, and one activates the 'evolution' |
49 |
|
branch by setting SEAICE_GROWTH_LEGACY to undef (at the top of the routine for now). |
50 |
|
In summary, here is what the '10/10 revision' did consist of |
51 |
|
part 1: seaice_growth.F revisions 1.71 to 1.75 |
52 |
|
- Preliminary seaice_growth.F clean-up, keeping test results strictly unchanged. |
53 |
|
The emphasis here was on improving readability (e.g. by trying to use meaningful |
54 |
|
variable names) and modularity (e.g. by adding arrays to store heff etc. updates). |
55 |
|
part 1.5: |
56 |
|
- revising the lab_sea experiment to make it a more useful (i.e. stable |
57 |
|
and representative of an actual model run). This was done by generating a |
58 |
|
(winter) pickup to start from, switching back the main experiment dynamic |
59 |
|
solver from evp to lsr, having one of the experiments use the free drift solution. |
60 |
|
part 2: seaice_growth.F revisions 1.76 to 1.85 |
61 |
|
- Sorting out hard-coded constants that prevented heat and fresh water conservation. |
62 |
|
- Sorting out the various fields units and sign (set early on and reset at the end) |
63 |
|
to avoid numerous scalings/re-scalings. By v1.85 the basic unit for ice, heat and |
64 |
|
fresh water stock is 'effective ice meters', and >0 implies more ice/snow. |
65 |
|
- Using tendency terms arrays (d_HEFF* etc.) to alleviate remaining code locks, |
66 |
|
and simplifying logical expressions to further improve readibility. |
67 |
|
part 3: seaice_growth.F revisions 1.86 to 1.89 |
68 |
|
- Re-organize the blocks of code more logically. |
69 |
|
- Merging the '_if.F' pieces that add something new. |
70 |
|
o pkg/thsice: |
71 |
|
- vectorize thsice_solve4temp and thsice_get_exf. |
72 |
|
Problem: thsice_solve4temp has an unvectorizable statement that |
73 |
|
might also be problematic for TAF |
74 |
|
- thsice_get_exf: add the ALLOW_BULK_LARGEYEAGER04 CPP-flag. This |
75 |
|
does not change the verifcation experiment, but will change all |
76 |
|
experiments that have this flag undefined (not tested in verification); |
77 |
|
a little reorganization to save a few 2D fields and recomputations |
78 |
|
- 1st step of revisiting thsice adjoint (major recomp. sorted out) |
79 |
|
- 2nd step: fix some store dirs |
80 |
|
o seems to work somewhat, i.e. using ifort but not g77 |
81 |
|
o likely cause are incomplete init. or recomputation |
82 |
|
o start verification/global_ocean.cs32x15/input_ad.thsice |
83 |
|
o pkg/obcs: add support for exch2 |
84 |
|
- the position of the boundary and prescribed values are specified using |
85 |
|
a global domain with exch2 facets stacked |
86 |
|
- in x for N,S boundaries (like W2_mapIO=-1) |
87 |
|
- in y for E,W boundaries (so E,W boundaries do not overlap) |
88 |
|
o pkg/mdsio: add support for writing global sections with exch2 |
89 |
|
file layout is as for obcs described above: |
90 |
|
- for x-z sections, facets are stacked in x (like W2_mapIO=-1) |
91 |
|
- for y-z sections, facets are stacked in y |
92 |
|
o pkg/thsice: |
93 |
|
- change a few routines for better vectorization: thsice_albedo.F, |
94 |
|
thsice_step_temp.F, and in thsice_calc_thickn.F. Results are |
95 |
|
not affected, but in particular the latter routine has changed |
96 |
|
dramatically (not necessarily easier to read now). |
97 |
|
- re-arrange calculation in THSICE_SOLVE4TEMP: move outside of i,j loops |
98 |
|
iteration loop and call to S/R THSICE_GET_BULKF & THSICE_GET_EXF. |
99 |
|
o verification/lab_sea: |
100 |
|
- overhaul of the forward model experiments. The main motivation |
101 |
|
for this revision is that lab_sea has proven quite fragile (when |
102 |
|
changing the sea-ice code, and switching platforms) to a point |
103 |
|
when failures were very hard to attribute to specific code problems. |
104 |
|
- the suspected reason for this fragility is noise amplification by evp so, |
105 |
|
to start with, we decided to replace evp with lsr in the main experiment. |
106 |
|
- the input.lsr experiment thus became obsolete and was removed. |
107 |
|
- it was replaced with the input.fd experiment that uses an |
108 |
|
analytical "free drift" solution as the ice velocity field. |
109 |
|
- Taken together, input (lsr), input.fd (free drift) and input.hb87 (evp) |
110 |
|
will hopefully allow us to discriminate problems due to dynamic solvers |
111 |
|
from problems due to the thermodynamic code. input.salt_plume (lsr) allows |
112 |
|
us to test additional options, along with the salt plume package. |
113 |
|
- Finally a pickup was generated (at the end of a one year run) to |
114 |
|
make the tests more representative of an actual model run. Previously |
115 |
|
the tests starting point was a 1m thickness of ice everywhere. |
116 |
|
o pkg/seaice: |
117 |
|
- introducing S\R seaice_freedrift.F that compute the |
118 |
|
analytical solution to an approximate ice momentum |
119 |
|
equation (i.e. the simple stress/coriolis balance). |
120 |
|
- define SEAICE_ALLOW_FREEDRIFT to trigger the computation |
121 |
|
of the free drift velocity field, and enable its use. |
122 |
|
To actually use the free drift solution as the model ice |
123 |
|
velocity field set SEAICEuseFREEDRIFT to .TRUE. in data.seaice. |
124 |
|
o move "useOASIS" from PARAMS.h to EEPARAMS.h and read it from "eedata" |
125 |
|
|
126 |
|
checkpoint62l (2010/10/04) |
127 |
o pkg/seaice: |
o pkg/seaice: |
128 |
-fix the USE_ORIGINAL_SBI version (for variable freezing point); |
-fix the USE_ORIGINAL_SBI version (for variable freezing point); |
129 |
-use "celsius2K" in SEAICE_VARIABLE_FREEZING_POINT and in new |
-use "celsius2K" in SEAICE_VARIABLE_FREEZING_POINT and in new |
441 |
but keep the former optfile for few weeks for smooth transition |
but keep the former optfile for few weeks for smooth transition |
442 |
o pkg/ecco |
o pkg/ecco |
443 |
- allow user defined cost function contributions |
- allow user defined cost function contributions |
444 |
CPP: ALLOW_USERCOST_CONTRIBUTION |
CPP: ALLOW_USERCOST_CONTRIBUTION |
445 |
USAGE: compute contributions in cost_usercost_all.F |
USAGE: compute contributions in cost_usercost_all.F |
446 |
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
- note: this is identical to what ALLOW_GENCOST_CONTRIBUTION once was. |
447 |
the two options are complementary. |
the two options are complementary. |
448 |
o pkg/smooth |
o pkg/smooth |