4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/diagnostics: |
8 |
|
- move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R). |
9 |
|
- rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument |
10 |
|
(was _RL, now integer) with option = 0 to retrieve all levels. |
11 |
|
o model/src (rStar): |
12 |
|
- add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F); |
13 |
|
affect solution only if z* with full pressure in EOS; |
14 |
|
update output of test-exp global_ocean.90x40x15. |
15 |
|
o pkg/seaice: |
16 |
|
- introduce siEps=1e-5 parameter |
17 |
|
- use areaMax in AREA update (part 4), consistent with ridging step (part 2.5). |
18 |
|
- re-organize SEAICE_ADD_SUBLIMATION_TO_FWBUDGET code. |
19 |
|
- introduce ALLOW_SITRACER and seaice_tracer_phys.F to handle generic seaice tracer. |
20 |
|
For now it covers, and was tested for, ice salinity and age (attached to HEFF), |
21 |
|
as well as ice cover age and ridging index (attached to AREA). |
22 |
|
For now the run time parameters (in data.seaice/SEAICE_PARM03) are |
23 |
|
SItrName (e.g. 'age') and SItrMate ('HEFF', which is the default, or 'AREA'). |
24 |
|
Up to SItrMaxNum=3 tracers can be used simultaneously. |
25 |
|
o pkg/salt_plume: |
26 |
|
-introduce SPsalFRAC run time parameter that sets the fraction of the |
27 |
|
salt by-product of ice growth (SPsalFRAC*(1-SIsalFRAC)*salt typically) |
28 |
|
that gets vertically redistributed (fluxed down) by pkg/salt_plume. |
29 |
|
o model debug options: |
30 |
|
- Switch reading of debugMode from S/R INI_PARMS (parameter file "data", stored |
31 |
|
in PARAMS.h) to S/R EESET_PARMS (parameter file "eedata", stored in EEPARAMS.h). |
32 |
|
- Refine debug-msg printing selection (3 new levels): |
33 |
|
debugMode : controls printing of debug messages (sequence of S/R calls). |
34 |
|
debugLevel : controls printing of algorithm-relevant auxiliary/debug messages |
35 |
|
debLevZero = 0 ; /* level of disabled aux. msg printing */ |
36 |
|
debLevA = 1 ; /* level of minimum aux. msg printing */ |
37 |
|
debLevB = 2 ; /* level of low aux. print (report read-file opening)*/ |
38 |
|
debLevC = 3 ; /* level of moderate debug prt (most pkgs debug msg) */ |
39 |
|
debLevD = 4 ; /* level of enhanced debug prt (add DEBUG_STATS prt) */ |
40 |
|
debLevE = 5 ; /* level of extensive debug printing */ |
41 |
|
New debugLevel default: with default debugMode value (=F), |
42 |
|
= 2 (debLevB) or = 1 (debLevA) in case ALLOW_AUTODIFF is defined.; |
43 |
|
and if debugMode=T, default debugLevel = 4 (debLevD). |
44 |
|
Relation with previous settings: |
45 |
|
debLevB (=2) corresponds to former debLevA (=1) |
46 |
|
debLevD (=4) corresponds to former debLevB (=2) |
47 |
|
Note: |
48 |
|
a) if debugLevel=0, skip WRITE_GRID call when nIter0 > 0 (same as before); |
49 |
|
b) default debugLevel=1 is convenient in AD runs (avoid many file opening msgs); |
50 |
|
to recover previous default, set debugLevel=2 (e.g. AD-test hs94.1x64x5) |
51 |
|
- Add new parameter (printResidualFreq, read from PARM02 namelist) to print |
52 |
|
detailed CG solvers convergence; off (=0) by default, except if debugLevel=5. |
53 |
o pkg/obcs: |
o pkg/obcs: |
54 |
- change OBCSfixTopo default from True to False (should not change the results); |
- change OBCSfixTopo default from True to False (should not change the results); |
55 |
keep OBCSfixTopo=T in verification-exp. seaice_obcs. |
keep OBCSfixTopo=T in verification-exp. seaice_obcs. |