/[MITgcm]/MITgcm/pkg/ggl90/ggl90_diagnostics_init.F
ViewVC logotype

Annotation of /MITgcm/pkg/ggl90/ggl90_diagnostics_init.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Fri Aug 6 18:37:05 2010 UTC (13 years, 11 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint65h, checkpoint65i, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62k, checkpoint62j, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.2: +10 -3 lines
Minor changes in pkg/ggl90:
 o GGL90diffKrS was removed --> always use GGL90diffKr
 o GGL90viscAr was removed --> replaced with GGL90viscArU, GGL90viscArV
 o hack of mxlMaxFlag=2 --> ensure mixing between first and second level (commented out for now)
 o change in max/min operations to ensure that smoothing is ok
 o smoothing of GGL90viscAr was moved to ggl90_calc.F (as done for GGL90diffKr)
 o always use diffKrNrT as background profile (i.e. never use diffKr field)

1 gforget 1.3 C $Header: /u/gcmpack/MITgcm/pkg/ggl90/ggl90_diagnostics_init.F,v 1.2 2010/01/03 18:48:53 jmc Exp $
2 dfer 1.1 C $Name: $
3    
4     #include "GGL90_OPTIONS.h"
5    
6     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7     CBOP 0
8     C !ROUTINE: GGL90_DIAGNOSTICS_INIT
9    
10     C !INTERFACE:
11     SUBROUTINE GGL90_DIAGNOSTICS_INIT( myThid )
12    
13     C !DESCRIPTION:
14     C Initialize list of all available diagnostics
15    
16     C !USES:
17     IMPLICIT NONE
18     #include "EEPARAMS.h"
19     #include "SIZE.h"
20     #include "GGL90.h"
21    
22     C !INPUT/OUTPUT PARAMETERS:
23     C myThid :: my Thread Id number
24     INTEGER myThid
25     CEOP
26    
27     #ifdef ALLOW_DIAGNOSTICS
28     C !LOCAL VARIABLES:
29     C === Local variables ===
30     C diagNum :: diagnostics number in the (long) list of available diag.
31     C diagMate :: diag. mate number in the (long) list of available diag.
32     C diagName :: local short name (8c) of a diagnostics
33     C diagCode :: local parser field with characteristics of the diagnostics
34     C cf head of S/R DIAGNOSTICS_INIT_EARLY or DIAGNOSTICS_MAIN_INIT
35     C diagUnits :: local string (16c): physical units of a diagnostic field
36     C diagTitle :: local string (80c): description of field in diagnostic
37     INTEGER diagNum
38 jmc 1.2 c INTEGER diagMate
39 dfer 1.1 CHARACTER*8 diagName
40     CHARACTER*16 diagCode
41     CHARACTER*16 diagUnits
42     CHARACTER*(80) diagTitle
43    
44     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
45    
46     diagName = 'GGL90TKE'
47     diagTitle = 'GGL90 sub-grid turbulent kinetic energy'
48     diagUnits = 'm^2/s^2 '
49     diagCode = 'SM LR '
50     CALL DIAGNOSTICS_ADDTOLIST( diagNum,
51     I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
52    
53     diagName = 'GGL90Lmx'
54     diagTitle = 'Mixing length scale '
55     diagUnits = 'm '
56     diagCode = 'SM LR '
57     CALL DIAGNOSTICS_ADDTOLIST( diagNum,
58     I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
59    
60     diagName = 'GGL90Prl'
61     diagTitle = 'Prandtl number used in GGL90'
62     diagUnits = '1 '
63     diagCode = 'SM LR '
64     CALL DIAGNOSTICS_ADDTOLIST( diagNum,
65     I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
66    
67 gforget 1.3 diagName = 'GGL90ArU'
68     diagTitle = 'GGL90 eddy viscosity at U-point'
69     diagUnits = 'm^2/s '
70     diagCode = 'SM LR '
71     CALL DIAGNOSTICS_ADDTOLIST( diagNum,
72     I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
73    
74     diagName = 'GGL90ArV'
75     diagTitle = 'GGL90 eddy viscosity at V-point'
76 dfer 1.1 diagUnits = 'm^2/s '
77     diagCode = 'SM LR '
78     CALL DIAGNOSTICS_ADDTOLIST( diagNum,
79     I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
80    
81     diagName = 'GGL90Kr'
82     diagTitle = 'GGL90 diffusion coefficient for temperature'
83     diagUnits = 'm^2/s '
84     diagCode = 'SM LR '
85     CALL DIAGNOSTICS_ADDTOLIST( diagNum,
86     I diagName, diagCode, diagUnits, diagTitle, 0, myThid )
87    
88     #endif /* ALLOW_DIAGNOSTICS */
89    
90     RETURN
91     END

  ViewVC Help
Powered by ViewVC 1.1.22