4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: |
8 |
|
- simplify (?) ocean-drag coefficent computations by using |
9 |
|
the same routine in all three solvers (saves some code lines) |
10 |
|
- remove global fields DRAGA and DRAGS from C-grid code and |
11 |
|
declare them locally in lsr.F (the only place where they are |
12 |
|
still used) |
13 |
|
o pkg/seaice: add Jacobian-free Newton Krylov solver for ice dynamics |
14 |
|
(Lemieux et al. 2010, 2012). Turn on with the usual SEAICE_ALLOW_JFNK |
15 |
|
and SEAICEuseJFNK=.true. A few things to note: |
16 |
|
- involves a FGMRES, that is parallel but very inefficient, |
17 |
|
because of many scalar products (global sums) in the Gram-Schmidt |
18 |
|
orthogonalization method. Needs to be replaced. Original code |
19 |
|
from J.-F. Lemieux |
20 |
|
- preconditioner for FGMRES is a stripped down version of LSOR |
21 |
|
- SOLV_MAX_ITERS is now used for LSOR as a solver and as a |
22 |
|
preconditioner. For the preconditioner, the default is set to 10. |
23 |
|
- Jacobian times vector is computed with finite differences |
24 |
|
- marginally related to JFNK-solver: add a smooth regularization for |
25 |
|
zeta with tanh that will improve convergence (Lemieux and Tremblay, |
26 |
|
2009) for any implicit solver (not implemented for EVP because EVP |
27 |
|
does not need this regularization in the first place). Define |
28 |
|
SEAICE_ZETA_SMOOTHREG in SEAICE_OPTIONS.h to use. |
29 |
|
o eesupp/src: |
30 |
|
- check in genmake2 that intrinsic S/R flush is available. |
31 |
|
- add S/R to flush IO unit (if intrinsic S/R flush is available) |
32 |
|
- flush standard & error msg unit before MPI termination |
33 |
|
- if debugMode, flush IO unit after printing msg |
34 |
|
o pkg/ctrl: |
35 |
|
- ctrl_unpack.F, ALLOW_GENARR3D_CONTROL code: fix missing argument in call |
36 |
|
to ctrl_set_unpack_xyz. |
37 |
|
|
38 |
|
checkpoint64 (2012/10/09) |
39 |
|
o pkg/shelfice |
40 |
|
- in mom_fluxform.F, mom_vecinv.F: |
41 |
|
CALL SHELFICE_V_DRAG(bi,bj,k,vFld,KE,KappaRU,vF,myThid) |
42 |
|
Bug fix KappaRU -> KappaRV |
43 |
|
does not change verification/isomip but may change other setups |
44 |
|
(presumably constant KappaRU=KappaRV) |
45 |
|
- fix diagnostics SHIU/Vdrag (thanks to Tom Millgate) |
46 |
|
o pkg/obcs: |
47 |
|
- fixed some indexing bugs in obcs_seaice_sponge.F |
48 |
|
- added obcs relaxation subroutines for HSALT and HSNOW |
49 |
|
- changes verification/seaice_obcs/results/obcs_seaice_sponge.F |
50 |
|
o pkg/seaice: |
51 |
|
- add "multicategory" parameterization for snow in analogy to ice, |
52 |
|
default is off for now. |
53 |
|
o pkg/obcs: |
54 |
|
- added obcs_seaice_sponge.F for obcs relaxation of seaice variables; |
55 |
|
see verification/seaice_obcs/input.seaiceSponge for example application. |
56 |
|
- remove local commom bloc "OBCS_GLOBAL" in obcs_readparms.F and do all the OB |
57 |
|
index setting by master-thread. This fix multi-threads Pb in previous modifs. |
58 |
|
o pkg/layers : |
59 |
|
- add diagnostics to pkg/layers |
60 |
|
- move the meat of pkg/layers from layers_calc.F to layers_fluxcalc.F |
61 |
|
(from R.Tulloch). Layers_calc.F now calls layers_fluxcalc.F accordingly. |
62 |
|
o pkg/generic_advdiff/gad_implicit_r.F : |
63 |
|
- fix ADVr diagnostics in case of both implicit vertical advection and diffusion. |
64 |
|
o pkg/seaice/seaice_growth.F: |
65 |
|
- fix SItflux diagnostics in virtual salt flux + balanceEmpmr case. |
66 |
|
o pkg/obcs: |
67 |
|
- change default setting of OBCS_UVICE_OLD from defined to undef; |
68 |
|
- use new parameter OB_indexNone for null index value (instead of hard-coded 0) |
69 |
|
in all pkg/obcs code and in other pkgs; remove k loop in obcs_check_depths.F; |
70 |
|
- pass OB_indexNone as (new) argument to S/R CTRL_MASK_SET_[X,Y]Z; |
71 |
|
- change OB null index value (OB_indexNone) to -99 ; this fix the problem |
72 |
|
with Southern & Western OB at a tile edge (at least in a simple set-up). |
73 |
|
o pkg/obcs: |
74 |
|
- change settings of OB index in case OB coincides with tile edge (shared by |
75 |
|
2 tiles), so that common OB location is registered by both tiles (instead of |
76 |
|
only 1). However, for Southern and Western OB, index value = 0 is not |
77 |
|
recognized as valid OB index (=default null value) and needs to be fixed. |
78 |
|
- modify accordingly OBCS_BALANCE_FLOW and OBCS_MONITOR (avoid double counting) |
79 |
|
- new parameter "OB_indexNone" for null index value (for now, still zero) |
80 |
|
to replace hard-coded null index value of zero. |
81 |
|
o pkg/exch2: |
82 |
|
- improve W2_USE_E2_SAFEMODE (faster) and W2_E2_DEBUG_ON: |
83 |
|
always check buffer-size (but outside the loop); move checking for valid |
84 |
|
index from W2_USE_E2_SAFEMODE to W2_E2_DEBUG_ON; in W2_E2_DEBUG_ON, |
85 |
|
print each tile and point connection only if |W2_printMsg|>= 2 and 3. |
86 |
|
o pkg/ctrl (pack & unpack): |
87 |
|
- in ctrl_pack.F & ctrl_unpack.F, use the same local file-name variable |
88 |
|
(locally defined) for different variables (+ remove the variable-specific |
89 |
|
file name in CTRL_GENARR.h). For now, only implemented for GENARR2/3D_CONTROL |
90 |
|
(to be extended to other local file names in ctrl.h). |
91 |
|
o pkg/flt: |
92 |
|
- add a FLT_Iter0 option (similar to PTRACERS_Iter0). |
93 |
o pkg/mdsio: |
o pkg/mdsio: |
94 |
- fix missing STOP in mdsio_readvec_loc.F (case ioUnit=0) when file is missing |
- fix missing STOP in mdsio_readvec_loc.F (case ioUnit=0) when file is missing |
95 |
o tools/genmake2: |
o tools/genmake2: |