4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
o model/src: add new file gsw_teos10.F that contains |
o pkg/layers: |
8 |
3 functions, more or less a copy of the gsw_toolbox.f90 of the TEOS-10 |
- remove from common block 3D layers fields (used to diagnose transport |
9 |
fortran interface, that are used to convert from conservative to |
in tracer coords) and declare them as local arrays in layers_calc.F |
10 |
potential temperature. For now they are not called anywhere. |
o pkg/seaice: |
11 |
|
- Rename SEAICE_VECTORIZE_LSR_ZEBRA to SEAICE_LSR_ZEBRA and define it |
12 |
|
in lab_sea forward experiment (changes results -> updated) |
13 |
|
- update adjoint experiment lab_sea after cleaning up seaice_lsr_tridiagu/v |
14 |
|
o pkg/seaice: modify seaice_lsr.F in order to improve the gradient |
15 |
|
computations; for SEAICE_VECTORIZE_LSR |
16 |
|
- move the loops over which the tridiagonal solvers (seaice_lsr_tridiagu/v) |
17 |
|
sweep to the outside, |
18 |
|
- remove store directives and add "CADJ loop sequential" directives |
19 |
|
in analogy to model/src/solve_tridiagonal.F |
20 |
|
- replace many "#ifdef SEAICE_VECTORIZE_LSR_ZEBRA" by variable loop |
21 |
|
boundaries to yield more readable code. This has also the charming side |
22 |
|
effect that your can use SEAICE_VECTORIZE_LSR_ZEBRA without |
23 |
|
SEAICE_VECTORIZE_LSR (i.e. adjoint without recomputations in |
24 |
|
seaice_lsr_tridiagu/v now requires either of these flags, vectorization |
25 |
|
still requires SEAICE_VECTORIZE_LSR with SEAICE_VECTORIZE_LSR_ZEBRA as |
26 |
|
an additional option) |
27 |
|
The tridiagonal solvers are now completely analoguous to solve_tridiagonal.F |
28 |
|
but the adjoint gradients (which are affected by this change) still explode. |
29 |
|
o coupler (atm & ocn _compon_interf): |
30 |
|
- avoid using Exch2 IO mapping if not suitable. |
31 |
|
|
32 |
|
checkpoint65m (2015/06/15) |
33 |
|
o pkg/layers: |
34 |
|
- clean-up old parameters setting (from Sep 2012): |
35 |
|
+ remove old parameters setting from common block (declared locally); |
36 |
|
+ stop if any old parameter is mixed with new parameters; |
37 |
|
+ check for valid or consistent parameter setting (e.g., layers_name) |
38 |
|
- check that layers_bounds for Pot.Density are in the right range; |
39 |
|
this is supposed to catch un-updated setting after recently shifting |
40 |
|
potential density field "prho" by -1000 (now in "sigma" scale). |
41 |
|
o pkg/layers: |
42 |
|
- Added missing call to layers_fill for keeping track of tottend in |
43 |
|
pkg/diagnostics/diagnostics_fill_state.F |
44 |
|
o pkg/layers: |
45 |
|
- added CPP flux LAYERS_FINEGRID_DIAPYCNAL to disable fine-grid binning |
46 |
|
of diapycnal fluxes |
47 |
|
o pkg/layers: |
48 |
|
- reverted changes to interpolation to previous treatment; there |
49 |
|
was never actually a problem |
50 |
|
o pkg/layers: |
51 |
|
- fix interpolation of layers tracers in the presence of partial cells |
52 |
|
- add lots of new functionality to compute water mass transformation |
53 |
|
(enabled by CPP flag LAYERS_THERMODYNAMICS) |
54 |
|
- add new calls from main code (diags_oceanic_surf_flux.F, |
55 |
|
thermodynamics.F, impldiff.F) and gad to save the necessary fields |
56 |
|
for layers_thermodynamics calculations |
57 |
|
o pkg/ptracers: |
58 |
|
- add capability of stepping a passive tracer forward without advection |
59 |
|
by setting PTRACERS_advScheme to 0. |
60 |
|
o pkg/diagnostics: |
61 |
|
- add few (threads) _BARRIER around any update of "diag_pkgStatus". |
62 |
|
o pkg/layers: |
63 |
|
- shift potential density field "prho" by -1000 for density layer averaging so |
64 |
|
that it corresponds to usual "sigma" definition (i.e., rho(p=const)-1000); |
65 |
|
Note that density bin boundaries (layers_bounds in data.layers) have |
66 |
|
to be set accordingly (i.e., shifted, in sigma scale). |
67 |
|
o pkg/layers: |
68 |
|
- fix snap-shot output of layer thickness @ V.pt and output of pot.density |
69 |
|
- fix calculation of layer non-weighted velocity and layer probability |
70 |
|
- add diagnostics for pot.density used for layer averaging |
71 |
|
o pkg/seaice: |
72 |
|
- seaice_calc_viscosity.F: change computation of deltaC**2 to ensure |
73 |
|
positiveness, modify a few comments and improve variable names, |
74 |
|
- the changed computation of deltaC affects most seaice-related |
75 |
|
experiments at the truncation level. |
76 |
|
seaice_itd.thermo is affected by far the most, with |
77 |
|
only 7 digits of agreement remaining; update experiments. |
78 |
|
|
79 |
|
checkpoint65l (2015/05/04) |
80 |
|
o pkg/shelfice: |
81 |
|
- in shelfice_thermodynamics.F, if SHELFICEBoundaryLayer=.true., then set |
82 |
|
factor drKp1 to zero where it is negative (ie. do not use |
83 |
|
SHELFICEBoundaryLayer if hFacC>1) |
84 |
|
- the same for factor drLoc in shelfice_forcing.F |
85 |
|
o tools/genmake2: move FEXTRAFLAGS from FFLAGS to FOPTIM to avoid a problem |
86 |
|
with modules in ptracers, when using testreport option "-small_f" |
87 |
|
o pkg/seaice/seaice_growth.F (in case of SEAICE_ITD) |
88 |
|
- replace tmpscal1**1.36 by faster exp(1.36*log(tmpscal1)) |
89 |
|
o verification/testreport |
90 |
|
- add new option -small_f |
91 |
|
with this option testreport first makes the target small_f (*.f files) |
92 |
|
before running make (all). This is useful for explicit inlining when |
93 |
|
all sources need to be full available. |
94 |
|
o pkg/exf/exf_interp.F: |
95 |
|
remove previous changes related to reverse (decreasing) input grids latitude |
96 |
|
|
97 |
|
checkpoint65k (2015/04/01) |
98 |
|
o pkg/ecco: |
99 |
|
fix missing cosphi initialization; use eccoiter in place of optimcycle; |
100 |
|
if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL |
101 |
|
instead of active read/write |
102 |
|
o pkg/ctrl: |
103 |
|
if autodiff is not compiled then use READ_REC_XY_RL/READ_REC_XYZ_RL |
104 |
|
instead of active read/write. |
105 |
|
o pkg/autodiff: make autodiff_readparms.F and autodiff_whtapeio_sync.F |
106 |
|
return if .NOT.useAUTODIFF |
107 |
|
o pkg/seaice: add CPP brackets (cost function related). |
108 |
|
o model/src: |
109 |
|
add useAUTODIFF run time switch. |
110 |
|
o pkg/exf/exf_interp.F: |
111 |
|
add code to allow input grids with latitude starting in the north (i.e. when |
112 |
|
j=1 corresponds to northern edge of field); modify global_with_exf to test |
113 |
|
this feature. |
114 |
|
o verification/testreport: |
115 |
|
- replace "grep -A3" with POSIX conformal sed command, because there are |
116 |
|
implementations of grep that cannot do contextual searches |
117 |
|
- replace "cat -n" by "nl" (two occurrences), because not all implementations |
118 |
|
of "cat" have the option "-n" |
119 |
|
o model/src: |
120 |
|
add new file gsw_teos10.F that contains 3 functions, more or less a copy |
121 |
|
of the gsw_toolbox.f90 of the TEOS-10 fortran interface, that are used to |
122 |
|
convert from conservative to potential temperature. For now they are not |
123 |
|
called anywhere. |
124 |
o pkg/ggl90: make "useIDEMIX" useful |
o pkg/ggl90: make "useIDEMIX" useful |
125 |
- re-organize code in s/r ggl90_calc a little to move computations that |
- re-organize code in s/r ggl90_calc a little to move computations that |
126 |
are different for idemix into separate loops (changes verification |
are different for idemix into separate loops (changes verification |
127 |
experiment idemix at truncation level, 12 digits remain -> updated) |
experiment idemix at truncation level, 12 digits remain -> updated) |
128 |
- requires 2 new 2D fields KappaM, verticalShear |
- requires 2 new 2D fields KappaM, verticalShear |
129 |
- make hFacI and recip_hFacI local 3D variables that are passed to |
- make hFacI and recip_hFacI local 3D variables that are passed to |