4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: a first HSALT time stepping equation has been checked in |
8 |
|
o pkg/seaice: replaced maskW with seaiceMaskU and maskS with seaiceMaskV |
9 |
|
in seaice_lsr.F; this solves the pkg/seaice-pkg/obcs problem |
10 |
|
without requiring DO-IF statements |
11 |
|
o pkg/thsice: |
12 |
|
use continuous power-law function for partition of energy between lateral |
13 |
|
melting/freezing and thinning/thickening ; old code using step function |
14 |
|
still available with #undef THSICE_FRACEN_POWERLAW |
15 |
|
update output of exp: aim.5l_cs.thSI, global_ocean.cs32x15.icedyn & .thsice |
16 |
|
o testreport: change AD testing : check against results/output_adm.txt |
17 |
|
using same scripts as for forward test. |
18 |
|
|
19 |
|
checkpoint59g |
20 |
|
o adjoint testing: in preparation for changing testreport: |
21 |
|
- output format: cost and grad written on separated lines |
22 |
|
- ad output results in directory "results" (instead of "results_ad") |
23 |
|
o pkg/seaice: adding ice salinity HSALT as a prognostic variable |
24 |
|
o pkg/seaice: changes for using pkg/seaice with pkg/obcs |
25 |
|
o pkg/ecco: allow user defined cost function contributions |
26 |
|
o testreport: |
27 |
|
Allow to choose (per experiment) the list of tested output variables |
28 |
|
and the main variable (used to issue a pass/FAIL ) ; |
29 |
|
- for now, done by adding the specific list in file: [exp]/input/tr_checklist |
30 |
|
- default is unchanged: >cg2d< , (T,S,U,V,5 tracers)_[min,max,mean,StD] ; |
31 |
|
Also modify printing of summary: |
32 |
|
a) ">" NN "<" indicates the "main" variable (used for pass/FAIL) |
33 |
|
b) echo the list of tested variables in the individual summary.txt of |
34 |
|
each experiment. |
35 |
|
o new S/R GLOBAL_SUM_TILE to compute global sum independently of number of |
36 |
|
threads and number of processes (with #define GLOBAL_SUM_SEND_RECV) |
37 |
|
(but still depend on the tile decompostion of the domain). |
38 |
|
o pkg/seaice: change a discretization detail to make the B-grid code |
39 |
|
"more symmetric". This change is likely to remove all "ridges/leads" that |
40 |
|
where quasi-aligned with the grid in B-grid solutions. It may also be |
41 |
|
the solution to the stress coupling issues with the B-grid. |
42 |
|
o each tested exp: add a "run" directory with a standard ".cvsignore" file ; |
43 |
|
remove .cvsignore from input dir. (since testreport no longer run here). |
44 |
|
o pkg/thsice: |
45 |
|
- cleaning: move common block out of "THSICE_2DYN.h" (removed) to "THSICE_VARS.h" |
46 |
|
- fix reshaping of sea-ice just after advection: |
47 |
|
melt all the ice only if ice-volume is too small. |
48 |
|
- re-visit lateral/thinning repartition of melting (modifs from May 04, 2007): |
49 |
|
prevent lateral melting if sea-ice fraction is too close to iceMaskMin ; |
50 |
|
and update experiment global_ocean.cs32x15.icedyn (+start from pickup files). |
51 |
|
o external_forcing_surf : extend the use of salt_EvPrRn & temp_EvPrRn (fresh-water |
52 |
|
tracer content) to linFS or no RealFreshWaterFlux ; default remains unchanged. |
53 |
|
o define mass2rUnit & rUnit2mass as units conversion factor, used for surface |
54 |
|
forcing. mass2rUnit: from mass per unit area [kg/m2] to r-coordinate unit |
55 |
|
(z-coord: =1/rhoConst ; p-coord: =gravity) ; rUnit2mass is just the reverse; |
56 |
|
and remove horiVertRatio (& recip_horiVertRatio). Affects truncation error |
57 |
|
of exp. global_oce_in_p: 10 16 16 14 16 13 16 16 16 13 13 13 16 13 13 12 16 |
58 |
|
-> update output.txt |
59 |
|
o pkg/cd_code: add brackets in multiple terms sum (S/R CD_CODE_SCHEME): |
60 |
|
this affects truncation error: -> update output.txt of exp: |
61 |
|
global_ocean.90x40x15 (fw&adm), lab_sea (fw&adm) & lab_sea.lsr, |
62 |
|
ideal_2D_oce, isomip.htd, natl_box, tutorial_global_oce_latlon. |
63 |
|
|
64 |
|
checkpoint59f |
65 |
|
o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode) |
66 |
|
o pkg/ctrl: ctrl_bound forces parameter corrections to stay in |
67 |
|
a bounded range (in forward mode) |
68 |
|
o pkg/ecco, ctrl, autodiff and mom_common: |
69 |
|
internal parameter controls, completements of implementations |
70 |
|
o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy. |
71 |
|
o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ; |
72 |
|
(not seem any difference in testing results). |
73 |
|
o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains |
74 |
|
at face corners. |
75 |
|
o pkg/generic_advdiff: |
76 |
|
- in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR) |
77 |
|
loop range indices for computing vertical advection tendency |
78 |
|
and do the calculation in the interior only (no overlap) ; |
79 |
|
for now, only implemented for SOM advection (to save CPU time). |
80 |
|
- add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment) |
81 |
|
o exch2 adjoint |
82 |
|
First set of changes: |
83 |
|
- add exch2 hand-written adjoint templates |
84 |
|
- exch2 hand-written no longer use TAF-flag 'nownew_arg' |
85 |
|
This will require cleanup in pkg/autodiff/*.F |
86 |
|
(changed routines currently kept separate in verif. code/) |
87 |
|
- Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC |
88 |
|
that used to hide exch2 or cubed-sphere specific code |
89 |
|
(commented via 'cph-exch2') |
90 |
|
o pkg/seaice |
91 |
|
- Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE. |
92 |
|
o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update |
93 |
|
output of global_ocean.cs32x15.thsice . |
94 |
|
|
95 |
|
checkpoint59e |
96 |
|
o exch2: new S/R that only use the cube-tracer (center-position) exchange: |
97 |
|
for B-grid vector (not yet tested) and C-grid vector (<- only used |
98 |
|
when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined). |
99 |
|
o starting implementation of Duffy et al. (GRL 1999) salt plume scheme |
100 |
|
(#ifdef ALLOW_SALT_PLUME) |
101 |
|
o gather_2d/scatter_2d: removed halo regions |
102 |
|
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
103 |
|
scheme and the corresponding test case (under front_relax dir). For now, |
104 |
|
only available with Skew-flux form and not yet tested in realistic set-up. |
105 |
|
adjoint: store directives updated, but gradient checks deteriorated, |
106 |
|
so maybe GM/Redi adjoint is now broken. |
107 |
o seaice adjoint |
o seaice adjoint |
108 |
* add AREA, HEFF, HSNOW as control variable |
* add AREA, HEFF, HSNOW as control variable |
109 |
(should not change lab_sea results) |
(should not change lab_sea results) |
110 |
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
111 |
|
o pkg/seaice: |
112 |
|
* added computation of saltFlux in seaice_growth; |
113 |
|
For time being, sea ice salinity is assumed constant |
114 |
|
contribution of snow flooding to freshening of sea ice is neglected. |
115 |
|
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
116 |
|
defaults to 0.0 in order to maintain backward compatibility. |
117 |
|
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
118 |
|
* replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F |
119 |
|
* added SEAICE_availHeatFrac, which specifies fraction of surface level |
120 |
|
heat content used to melt or grow ice |
121 |
|
* commented out cap of HICE: it helps keep ice thinner |
122 |
|
* reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option |
123 |
|
* applied OBCS T/S mask to HEFFM sea ice mask |
124 |
|
|
125 |
checkpoint59d |
checkpoint59d |
126 |
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |