4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o prepare for "clever pickup" implementation: add new header file "RESTART.h" |
8 |
|
for internal parameters related to restart process (formerly from PARAMS.h) |
9 |
|
and add startAB parameter to argument list of S/R ADAMS_BASHFORTH2. |
10 |
|
o more standard interface to {PKG}_WRITE_PICKUP with pickup suffix passed |
11 |
|
as argument. (only atm2d & obcs write_pickup have not yet been updated) |
12 |
|
o pkg/monitor: |
13 |
|
- use GLOBAL_SUM_TILE instead of _GLOBAL_SUM |
14 |
|
- fix mon_stats_rs (statistics over the full domain, even where field is zero) |
15 |
|
- account for deep Atmosphere factor and density factor (anelastic) |
16 |
|
o added open boundary conditions capability for seaice HEFF and AREA |
17 |
|
o pkg/shelfice: add option for convservative form of Hellmer&Olbers (1989) |
18 |
|
thermodynamics |
19 |
|
- requires a little reorganization, which affects the testreport results |
20 |
|
of isomip.htd (only 7 digits of cg2d agree) => update/modify experiment, |
21 |
|
so that now the conservative form is tested |
22 |
|
- add a few comments |
23 |
|
o add missing cvs Header: or Name: in eesupp/*, pkg/* & verification/code* |
24 |
|
o add a little bit of code to gad_os7mp_adv_?.F to help vectorization |
25 |
|
o add new diagnostics to seaice: advective, diffusive fluxes (only for |
26 |
|
multidim-advection, for scheme 2 they are not filled) and transports, |
27 |
|
thermodynamic growth rates |
28 |
|
o change units of EmPmR (inside the code) from m/s to kg/m2/s (mass flux) but |
29 |
|
leave input file unchanged. Affects results @ truncation level (cg2d match) |
30 |
|
and update output of experiments: lab_sea(6), global_ocean.90x40x15(10), |
31 |
|
global_ocean.cs32x15(11x3,10), natl_box(11), tutorial_global_oce_latlon(11) |
32 |
|
+ adjoint results: global_ocean_ebm(11) and lab_sea (12). |
33 |
|
Next: will retire convertEmP2rUnit (simply using mass2rUnit instead). |
34 |
|
|
35 |
|
checkpoint59h |
36 |
|
o pkg/exf: |
37 |
|
- improve vectorization by moving if-statement out of loops in |
38 |
|
exf_mapfields, exf_radiation |
39 |
|
- exf_bulkformulae.F: introduce 2D fields and vectorize code |
40 |
|
o pkg/kpp: added the salt plume scheme (ALLOW_SALT_PLUME) to KPP package |
41 |
|
o testreport: |
42 |
|
- allow to test for Qnet & SeaIce monitor output; clean-up ALLOW_BULK_OFFLINE |
43 |
|
monitor & update offline_exf_seaice exp. output. |
44 |
|
- AD testing: pass/FAIL according to Grad. output accuracy (instead of Cost) |
45 |
|
o pkg/seaice: |
46 |
|
- bug fix in the evp solver: boundary conditions were affected be |
47 |
|
masking of zMax/zMin (changes results) |
48 |
|
- minor bug fix in boundary conditions in seaice_calc_strainrates |
49 |
|
(changes results for no_slip) |
50 |
|
- seaice_lsr.F: make interpolation of eta dependent on boundaries |
51 |
|
- replace hardcoded lower limit for zeta (zMin) by runtime parameter |
52 |
|
- add a test to lab_sea, that tests the Hibler and Bryan (1987) ocean |
53 |
|
stress formulation and no-slip boundary conditions |
54 |
|
o pkg/ptracers: Temporary fix for PTRACERS_useGMRedi & PTRACERS_useKPP |
55 |
|
in gad_calc_rhs.F ; add few safety stops in initialisation phase. |
56 |
|
o pkg/seaice: a first HSALT time stepping equation has been checked in |
57 |
|
o pkg/seaice: replaced maskW with seaiceMaskU and maskS with seaiceMaskV |
58 |
|
in seaice_lsr.F; this solves the pkg/seaice-pkg/obcs problem |
59 |
|
without requiring DO-IF statements |
60 |
|
o pkg/thsice: |
61 |
|
use continuous power-law function for partition of energy between lateral |
62 |
|
melting/freezing and thinning/thickening ; old code using step function |
63 |
|
still available with #undef THSICE_FRACEN_POWERLAW |
64 |
|
update output of exp: aim.5l_cs.thSI, global_ocean.cs32x15.icedyn & .thsice |
65 |
|
o testreport: change AD testing : check against results/output_adm.txt |
66 |
|
using same scripts as for forward test. |
67 |
|
|
68 |
|
checkpoint59g |
69 |
|
o adjoint testing: in preparation for changing testreport: |
70 |
|
- output format: cost and grad written on separated lines |
71 |
|
- ad output results in directory "results" (instead of "results_ad") |
72 |
|
o pkg/seaice: adding ice salinity HSALT as a prognostic variable |
73 |
|
o pkg/seaice: changes for using pkg/seaice with pkg/obcs |
74 |
|
o pkg/ecco: allow user defined cost function contributions |
75 |
|
o testreport: |
76 |
|
Allow to choose (per experiment) the list of tested output variables |
77 |
|
and the main variable (used to issue a pass/FAIL ) ; |
78 |
|
- for now, done by adding the specific list in file: [exp]/input/tr_checklist |
79 |
|
- default is unchanged: >cg2d< , (T,S,U,V,5 tracers)_[min,max,mean,StD] ; |
80 |
|
Also modify printing of summary: |
81 |
|
a) ">" NN "<" indicates the "main" variable (used for pass/FAIL) |
82 |
|
b) echo the list of tested variables in the individual summary.txt of |
83 |
|
each experiment. |
84 |
|
o new S/R GLOBAL_SUM_TILE to compute global sum independently of number of |
85 |
|
threads and number of processes (with #define GLOBAL_SUM_SEND_RECV) |
86 |
|
(but still depend on the tile decompostion of the domain). |
87 |
|
o pkg/seaice: change a discretization detail to make the B-grid code |
88 |
|
"more symmetric". This change is likely to remove all "ridges/leads" that |
89 |
|
where quasi-aligned with the grid in B-grid solutions. It may also be |
90 |
|
the solution to the stress coupling issues with the B-grid. |
91 |
|
o each tested exp: add a "run" directory with a standard ".cvsignore" file ; |
92 |
|
remove .cvsignore from input dir. (since testreport no longer run here). |
93 |
|
o pkg/thsice: |
94 |
|
- cleaning: move common block out of "THSICE_2DYN.h" (removed) to "THSICE_VARS.h" |
95 |
|
- fix reshaping of sea-ice just after advection: |
96 |
|
melt all the ice only if ice-volume is too small. |
97 |
|
- re-visit lateral/thinning repartition of melting (modifs from May 04, 2007): |
98 |
|
prevent lateral melting if sea-ice fraction is too close to iceMaskMin ; |
99 |
|
and update experiment global_ocean.cs32x15.icedyn (+start from pickup files). |
100 |
|
o external_forcing_surf : extend the use of salt_EvPrRn & temp_EvPrRn (fresh-water |
101 |
|
tracer content) to linFS or no RealFreshWaterFlux ; default remains unchanged. |
102 |
|
o define mass2rUnit & rUnit2mass as units conversion factor, used for surface |
103 |
|
forcing. mass2rUnit: from mass per unit area [kg/m2] to r-coordinate unit |
104 |
|
(z-coord: =1/rhoConst ; p-coord: =gravity) ; rUnit2mass is just the reverse; |
105 |
|
and remove horiVertRatio (& recip_horiVertRatio). Affects truncation error |
106 |
|
of exp. global_oce_in_p: 10 16 16 14 16 13 16 16 16 13 13 13 16 13 13 12 16 |
107 |
|
-> update output.txt |
108 |
|
o pkg/cd_code: add brackets in multiple terms sum (S/R CD_CODE_SCHEME): |
109 |
|
this affects truncation error: -> update output.txt of exp: |
110 |
|
global_ocean.90x40x15 (fw&adm), lab_sea (fw&adm) & lab_sea.lsr, |
111 |
|
ideal_2D_oce, isomip.htd, natl_box, tutorial_global_oce_latlon. |
112 |
|
|
113 |
|
checkpoint59f |
114 |
|
o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode) |
115 |
|
o pkg/ctrl: ctrl_bound forces parameter corrections to stay in |
116 |
|
a bounded range (in forward mode) |
117 |
|
o pkg/ecco, ctrl, autodiff and mom_common: |
118 |
|
internal parameter controls, completements of implementations |
119 |
|
o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy. |
120 |
|
o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ; |
121 |
|
(not seem any difference in testing results). |
122 |
|
o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains |
123 |
|
at face corners. |
124 |
|
o pkg/generic_advdiff: |
125 |
|
- in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR) |
126 |
|
loop range indices for computing vertical advection tendency |
127 |
|
and do the calculation in the interior only (no overlap) ; |
128 |
|
for now, only implemented for SOM advection (to save CPU time). |
129 |
|
- add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment) |
130 |
|
o exch2 adjoint |
131 |
|
First set of changes: |
132 |
|
- add exch2 hand-written adjoint templates |
133 |
|
- exch2 hand-written no longer use TAF-flag 'nownew_arg' |
134 |
|
This will require cleanup in pkg/autodiff/*.F |
135 |
|
(changed routines currently kept separate in verif. code/) |
136 |
|
- Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC |
137 |
|
that used to hide exch2 or cubed-sphere specific code |
138 |
|
(commented via 'cph-exch2') |
139 |
|
o pkg/seaice |
140 |
|
- Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE. |
141 |
|
o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update |
142 |
|
output of global_ocean.cs32x15.thsice . |
143 |
|
|
144 |
|
checkpoint59e |
145 |
|
o exch2: new S/R that only use the cube-tracer (center-position) exchange: |
146 |
|
for B-grid vector (not yet tested) and C-grid vector (<- only used |
147 |
|
when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined). |
148 |
|
o starting implementation of Duffy et al. (GRL 1999) salt plume scheme |
149 |
|
(#ifdef ALLOW_SALT_PLUME) |
150 |
|
o gather_2d/scatter_2d: removed halo regions |
151 |
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
152 |
scheme and the corresponding test case (under front_relax dir). For now, |
scheme and the corresponding test case (under front_relax dir). For now, |
153 |
only available with Skew-flux form and not yet tested in realistic set-up. |
only available with Skew-flux form and not yet tested in realistic set-up. |
157 |
* add AREA, HEFF, HSNOW as control variable |
* add AREA, HEFF, HSNOW as control variable |
158 |
(should not change lab_sea results) |
(should not change lab_sea results) |
159 |
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
160 |
o pkg/seaice: added computation of saltFlux in seaice_growth; |
o pkg/seaice: |
161 |
For time being, sea ice salinity is assumed constant |
* added computation of saltFlux in seaice_growth; |
162 |
contribution of snow flooding to freshening of sea ice is neglected. |
For time being, sea ice salinity is assumed constant |
163 |
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
contribution of snow flooding to freshening of sea ice is neglected. |
164 |
defaults to 0.0 in order to maintain backward compatibility. |
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
165 |
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
defaults to 0.0 in order to maintain backward compatibility. |
166 |
|
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
167 |
|
* replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F |
168 |
|
* added SEAICE_availHeatFrac, which specifies fraction of surface level |
169 |
|
heat content used to melt or grow ice |
170 |
|
* commented out cap of HICE: it helps keep ice thinner |
171 |
|
* reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option |
172 |
|
* applied OBCS T/S mask to HEFFM sea ice mask |
173 |
|
|
174 |
checkpoint59d |
checkpoint59d |
175 |
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
339 |
ATMOSPHERIC_LOADING is #define). |
ATMOSPHERIC_LOADING is #define). |
340 |
o pkg/kpp: replaced _KPP_RL with _RL |
o pkg/kpp: replaced _KPP_RL with _RL |
341 |
o bug fixes for vertical diffusivity computations when both KPP and |
o bug fixes for vertical diffusivity computations when both KPP and |
342 |
3D diffusivity arrays are used. |
3D diffusivity arrays are used; pkg/kpp/kpp_calc_diff_s & _t.F |
343 |
|
are no longer updating the vertical diffusivity array |
344 |
|
(passed as argument) but are (re-) setting those arrays. |
345 |
o pkg/seaice: fix bug in evp solver, while doing that |
o pkg/seaice: fix bug in evp solver, while doing that |
346 |
- change (improve?) discretization of stress computations for both |
- change (improve?) discretization of stress computations for both |
347 |
cgrid-lsr and evp solver |
cgrid-lsr and evp solver |