1 | MODULE tamctl |
---|
2 | !!====================================================================== |
---|
3 | !! *** MODULE tamctl *** |
---|
4 | !! NEMOTAMR : variables controlling the run. |
---|
5 | !!====================================================================== |
---|
6 | |
---|
7 | !!---------------------------------------------------------------------- |
---|
8 | !! History : |
---|
9 | !! ! ... ( ... ) Original code: varctl.F90 |
---|
10 | !! ! 09-06 (F. Vigilant) Created to split NEMOVAR / NEMOTAM |
---|
11 | !!--------------------------------------------------------------------- |
---|
12 | |
---|
13 | !!---------------------------------------------------------------------- |
---|
14 | !!---------------------------------------------------------------------- |
---|
15 | !! * Modules used |
---|
16 | USE par_kind |
---|
17 | |
---|
18 | !! * Routine accessibility |
---|
19 | |
---|
20 | IMPLICIT NONE |
---|
21 | |
---|
22 | PUBLIC |
---|
23 | |
---|
24 | !! * Module variables |
---|
25 | |
---|
26 | |
---|
27 | !! namtst: assimilation test parameters |
---|
28 | |
---|
29 | INTEGER :: & |
---|
30 | & ln_swi_opatam ! Switch for NEMOTAM adjoint tests |
---|
31 | ! = 0 => Routine by routine adjoint test |
---|
32 | ! = 1 => Step test |
---|
33 | ! = 2 => Run TL model |
---|
34 | |
---|
35 | LOGICAL :: & |
---|
36 | & ln_tst_tlh ! Switch for tangent linear hypothesis testing |
---|
37 | |
---|
38 | LOGICAL :: & ! TLH and tan testing settings |
---|
39 | & ln_tlhts, & ! Switch for perturbing T and S |
---|
40 | & ln_tlhuv, & ! Switch for perturbing U and V |
---|
41 | & ln_incdx, & ! Switch for using an increment file for the perturbation |
---|
42 | ! (rather than the difference between 2 restarts |
---|
43 | & ln_hnorm, & ! Switch for normalizing the perturbation |
---|
44 | & ln_tlhssh ! Switch for perturbing SSH |
---|
45 | |
---|
46 | INTEGER :: & |
---|
47 | & nn_stage ! Current stage of the test (deprecated ?) |
---|
48 | |
---|
49 | REAL(wp) :: & |
---|
50 | & rn_hstdt, & ! Upper bound of norm. for T |
---|
51 | & rn_hstds, & ! Upper bound of norm. for S |
---|
52 | & rn_hstduv, & ! Upper bound of norm. for U and V |
---|
53 | & rn_hstdssh ! Upper bound of norm. for SSH |
---|
54 | |
---|
55 | CHARACTER(len=32) :: & |
---|
56 | & cn_tlhinc_in, & ! Name the perturbation file |
---|
57 | & cn_tlhrst_in, & ! Suffix of the perturbed restart file (input) |
---|
58 | & cn_tlhrst_out, & ! Suffix of the perturbed restart file (output) |
---|
59 | & cn_tlhtrj_out ! Suffix of the perturbed trajectory file (output) |
---|
60 | |
---|
61 | !! Units for tangent test |
---|
62 | |
---|
63 | INTEGER :: & |
---|
64 | & numtan, & ! Output for tangent diagnostics |
---|
65 | & numtan_sc !Output for tangent diagnostics (scalar sampling) |
---|
66 | |
---|
67 | END MODULE tamctl |
---|