/[MITgcm]/MITgcm/compare01/src/DIAGS.h
ViewVC logotype

Annotation of /MITgcm/compare01/src/DIAGS.h

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


Revision 1.1 - (hide annotations) (download)
Mon May 25 20:21:06 1998 UTC (26 years, 1 month ago) by cnh
Branch: MAIN
CVS Tags: branch-atmos-merge-phase6, checkpoint24, checkpoint4, checkpoint7, checkpoint6, checkpoint26, checkpoint3, branch-atmos-merge-start, checkpoint27, checkpoint9, checkpoint8, checkpoint11, checkpoint10, checkpoint13, checkpoint12, checkpoint15, checkpoint18, checkpoint17, checkpoint16, checkpoint19, checkpoint32, checkpoint31, branch-atmos-merge-zonalfilt, branch-atmos-merge-shapiro, checkpoint5, branch-atmos-merge-freeze, branch-point-rdot, checkpoint14, checkpoint28, checkpoint29, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, checkpoint23, branch-atmos-merge-phase1, checkpoint25, branch-atmos-merge-phase3, branch-atmos-merge-phase2, checkpoint20, checkpoint21, checkpoint22
Branch point for: branch-atmos-merge, checkpoint7-4degree-ref, branch-rdot
File MIME type: text/plain
Added version of compare01 reference code to repository.
Code committed is configured to produce same results as MITgcmUV

1 cnh 1.1 C $Id: DIAGS.h,v 1.5 1997/06/21 02:00:03 cnh Exp $
2     C Ultimately the diagnostics library should allow a set of diagnostic "objects"
3     C to be defined. Diagnostic objects will have a type such as a basin
4     C map or a section or a path. The model will call a DIAG_OBJECT_ADD
5     C routine to create any number of diagnostic objects each having a unique
6     C user defined name such as "NA_BASIN" or "SEC_I10" or "PATH_A1" and
7     C of a specific type. Diagnostic operations will then be allowed using
8     C these diagnostic objects such as along path integrals or basin averages
9     C etc... Diagnostic objects, the quantities to monitor for each object etc..
10     C will be defined in the
11     C #DIAGNOSTICS
12     C #END DIAGNOSTICS
13     C section of the input data file.
14     C For now however something much simpler will be used!
15    
16     C /--------------------------------------------------------------\
17     C | Constants for diagnostic utilities |
18     C \--------------------------------------------------------------/
19     C DIAGS_MAX_NUMBER_OF_BASINS - Maximum number of different
20     C basins that can be defined.
21     C bMapSuffix - Suffix appended to name of a basin to get filename
22     C for the basin XY map.
23     INTEGER DIAGS_MAX_NUMBER_OF_BASINS
24     PARAMETER ( DIAGS_MAX_NUMBER_OF_BASINS = 10 )
25     CHARACTER*(*) bMapSuffix
26     PARAMETER (bMapSuffix = '_map.txt' )
27     REAL MixedLayerDensityJump
28     PARAMETER ( MixedLayerDensityJump = 0.05 )
29    
30     C /--------------------------------------------------------------\
31     C | Parameters for diagnostic utilities |
32     C \--------------------------------------------------------------/
33     C Floating point parameters
34     C basinMask - XY map(s) defining extent of each basin.
35     COMMON /DIAGS_F/
36     & basinMask,
37     & bAveT, bAveS, bAveRho, bAveTime,
38     & meridPsi, mld,
39     & sumMeridPsi, sumMeridPsiTime0,
40     & maxMld, sumMld, sumMldTime0, minMld
41     REAL basinMask(Nx,Ny,DIAGS_MAX_NUMBER_OF_BASINS)
42     REAL bAveT (Nz,DIAGS_MAX_NUMBER_OF_BASINS)
43     REAL bAveS (Nz,DIAGS_MAX_NUMBER_OF_BASINS)
44     REAL bAveRho(Nz,DIAGS_MAX_NUMBER_OF_BASINS)
45     REAL bAveTime(DIAGS_MAX_NUMBER_OF_BASINS)
46     REAL meridPsi(Ny,Nz,DIAGS_MAX_NUMBER_OF_BASINS)
47     REAL sumMeridPsi(Ny,Nz,DIAGS_MAX_NUMBER_OF_BASINS)
48     REAL sumMeridPsiTime0
49     REAL mld(Nx,Ny)
50     REAL maxMld(Nx,Ny)
51     REAL sumMld(Nx,Ny)
52     REAL sumMldTime0
53     REAL minMld(Nx,Ny)
54    
55     C Integer parameters
56     C numberOfBasins - Number of basins actually defined.
57     C mldIndex - Level number of last cell within the mixed
58     C layer.
59     COMMON /DIAGS_I/
60     & numberOfBasins, mldIndex
61     INTEGER numberOfBasins
62     INTEGER mldIndex(Nx,Ny)
63     C Character parameters
64     C basinList - Name associated with each basin.
65     COMMON /DIAGS_C/
66     & basinList
67     CHARACTER*10 basinList(DIAGS_MAX_NUMBER_OF_BASINS)

  ViewVC Help
Powered by ViewVC 1.1.22