4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
o pkg/seaice : |
o pkg/shelfice |
8 |
|
- improve computation of friction velocity for velocity dependent |
9 |
|
exchange coefficients: include velocities into SHELFICEBoundaryLayer |
10 |
|
block to average velocities vertically |
11 |
|
- add TAF store directives for SHI_ALLOW_GAMMAFRICT |
12 |
|
o Modify diagonal solvers, now three versions (upon request): |
13 |
|
#ifndef SOLVE_DIAGONAL_AUTODIFF |
14 |
|
1. default version (dating back a while ago) |
15 |
|
#else /* def SOLVE_DIAGONAL_AUTODIFF */ |
16 |
|
# ifdef SOLVE_DIAGONAL_KINNER |
17 |
|
2. adjoinable version with k-innermost loop (G. Forget) |
18 |
|
# else |
19 |
|
3. adjoinable vectorized version of 2. |
20 |
|
# endif |
21 |
|
#endif /* SOLVE_DIAGONAL_AUTODIFF */ |
22 |
|
All flags are currently set within routines, but could/should be moved to CPP-options. |
23 |
|
Array bounds for 1. are as before, for 2.,3. cover the entire domain |
24 |
|
(could be changed for 1. too). |
25 |
|
o verification/lab_sea (fwd): |
26 |
|
- update the 4 fwd lab_sea test experiment: no longer SEAICE_GROWTH_LEGACY, |
27 |
|
use 7 categories (except hb87), new solve4temp params (except salt_plume), |
28 |
|
constant salinity (=4) or variable salinity (salt_plume) done through |
29 |
|
SItracer. |
30 |
|
o pkg/seaice: |
31 |
|
- rename parameters: SIsalFrac to SEAICE_saltFrac & SIsal0 to SEAICE_salt0; |
32 |
|
- remove old parameters ( SEAICE_freeze, SEAICEturbFluxFormula, SEAICE_gamma_t, |
33 |
|
SEAICE_gamma_t_frz, SEAICE_availHeatTaper & SEAICE_availHeatFracFrz) |
34 |
|
from SEAICE_PARMS.h ; still need to fix seaice_cost_sst.F (broken when |
35 |
|
SEAICE_freeze got retired) but already better than previously with |
36 |
|
SEAICE_freeze=123456.7 deg.C; |
37 |
|
- move setting of facOpenGrow/Melt from SEAICE_INIT_FIXED to SEAICE_READPARMS |
38 |
|
(safer multi-threaded setting); always set SEAICEuseEVP; |
39 |
|
- setting of ocean-ice turb. flux coeff: moved from SEAICE_CHECK to |
40 |
|
SEAICE_READPARMS & SEAICE_INIT_FIXED (this fixes wrong summary report); |
41 |
|
stop if multiple specifications for the same coeff; make sure default |
42 |
|
SEAICE_mcPheePiston is compatible with drF(1) & deltaT. |
43 |
|
o pkg/obcs: |
44 |
|
- allow to switch to upwind 1rst order advection scheme for the advective |
45 |
|
flux computation at the open-boundary; disabled for adjoint built. |
46 |
|
o pkg/ptracers: |
47 |
|
- rename PTRACERS_RESTART.h -> PTRACERS_START.h |
48 |
|
- rename ptracers_fields_blocking_exchanges.F -> ptracers_fields_blocking_exch.F |
49 |
|
- add parameter to decide when to start a tracer; use internal flag to |
50 |
|
know which tracer to step-forward; switch this internal flag at the top |
51 |
|
of forward_step.F (new S/R PTRACERS_SWITCH_ONOFF); for now, not enabled |
52 |
|
for adjoint built. |
53 |
|
o pkg/seaice: |
54 |
|
- add SEAICE_SIZE.h anywhere in the code where SEAICE.h is included ; |
55 |
|
- move MULTDIM declaration and setting from SEAICE.h to SEAICE_SIZE.h ; |
56 |
|
- keep experiment offline_exf_seaice truly single category (set MULTDIM=1). |
57 |
|
o pkg/ecco: |
58 |
|
- fix writing of output file DiagnosCost_ClimSalt/Theta |
59 |
|
and DiagnosCost_DriftSalt/Theta (if multi-tiles per proc). |
60 |
|
o pkg/seaice: |
61 |
|
- add missing initialisation of COR_ICE array in dynsolver.F |
62 |
|
- merging SEAICE_MULTICATEGORY define and undef cases. Now the same code is |
63 |
|
compiled either way, and is tested in all exps (multidim was only tested |
64 |
|
in lab_sea ad before). |
65 |
|
- cosmetic change to prepare for future addition of ITD. no change to results. |
66 |
|
no defaults change. |
67 |
|
- added run time param SEAICE_multDim (7 for SEAICE_MULTICATEGORY, 1 otherwise). |
68 |
|
- by lack of adequate verification experiments, I further used custom versions |
69 |
|
of global_ocean.cs32x15 to test multicat or not, with pickup or not. All |
70 |
|
should be correct. |
71 |
|
- avoid recomputations in ad. |
72 |
|
o array initialisation in adjoint mode: |
73 |
|
1) pkg/mom_common/mom_calc_ke.F: |
74 |
|
add full array initialisation of KE inside mom_calc_ke.F (ALLOW_AUTODIFF_TAMC): |
75 |
|
The S/R which calls MOM_CALC_KE initialises KE but in some recomputation |
76 |
|
part this initialisation is gone, resulting in Floating Point Exception |
77 |
|
(caught by open64 compiler with debug option). |
78 |
|
2) model/src/convective_weights.F |
79 |
|
set output convectCount over the full array range (instead of doing |
80 |
|
an update): this fix a similar issue when called within recomputation (adjoint) |
81 |
|
which could by-pass the initialisation (normally done in the caller S/R). |
82 |
|
o pkg/seaice: |
83 |
- final version of turbulent flux params, as agreed at MIT ice meet: |
- final version of turbulent flux params, as agreed at MIT ice meet: |
84 |
SEAICE_mcPheePiston (default is ~ 0.000875) |
SEAICE_mcPheePiston (default is ~ 0.000875) |
85 |
SEAICE_mcPheeTaper (default is 0.) |
SEAICE_mcPheeTaper (default is 0.) |
86 |
SEAICE_frazilFrac (defualt is 1.) |
SEAICE_frazilFrac (defualt is 1.) |
87 |
SEAICE_mcPheeStepFunc (default is false) |
SEAICE_mcPheeStepFunc (default is false) |
88 |
- changes results at trunction error level. |
- changes results at trunction error level |
89 |
o added pkg/frazil - see frazil_description.tex for details |
- ifdef SEAICE_EXTERNAL_FLUXES, disallow SEAICE_waterAlbedo |
90 |
|
o added pkg/frazil: |
91 |
|
- see frazil_description.tex for details |
92 |
|
- verification experiment is global_with_exf/input.yearly; changes output.yearly.txt |
93 |
o pkg/shelfice/shelfice_thermodynamics.F |
o pkg/shelfice/shelfice_thermodynamics.F |
94 |
- fix exponents for velocity dependent exchange coefficients: change |
- fix exponents for velocity dependent exchange coefficients: change |
95 |
from 2/3(=0) to 0.66666666666666667 |
from 2/3(=0) to 0.66666666666666667 |
96 |
- move computation of velocity dependent exchange coefficients into |
- move computation of velocity dependent exchange coefficients into |
97 |
separate loop, so that it applies to both thermodynamics |
separate loop, so that it applies to both thermodynamics |
98 |
- move some divisions by constants out of loops |
- move some divisions by constants out of loops |
99 |
|
|