/[MITgcm]/MITgcm/pkg/diagnostics/diagnostics_init_fixed.F
ViewVC logotype

Contents of /MITgcm/pkg/diagnostics/diagnostics_init_fixed.F

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


Revision 1.7 - (show annotations) (download)
Fri Jan 15 00:24:37 2010 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.6: +5 -3 lines
add internal flag to check if adding diag to the list from the right place.

1 C $Header: /u/gcmpack/MITgcm/pkg/diagnostics/diagnostics_init_fixed.F,v 1.6 2006/11/04 14:28:09 heimbach Exp $
2 C $Name: $
3
4 #include "DIAG_OPTIONS.h"
5
6 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7 CBOP 0
8 C !ROUTINE: DIAGNOSTICS_INIT_FIXED
9
10 C !INTERFACE:
11 SUBROUTINE DIAGNOSTICS_INIT_FIXED(myThid)
12
13 C !DESCRIPTION:
14 C finish setting up the list of available diagnostics and
15 C prepare for storing selected diagnostics and statistics-diags.
16
17 C !USES:
18 IMPLICIT NONE
19 #include "EEPARAMS.h"
20 #include "SIZE.h"
21 #include "DIAGNOSTICS_SIZE.h"
22 #include "DIAGNOSTICS.h"
23 #ifdef ALLOW_FIZHI
24 #include "PARAMS.h"
25 #endif
26
27 C !INPUT PARAMETERS:
28 INTEGER myThid
29 CEOP
30
31 C !LOCAL VARIABLES:
32
33 C-- Set number of levels for all available diagnostics
34 C (cannot add diags to list anymore after this call)
35 CALL DIAGNOSTICS_SET_LEVELS( myThid )
36
37 C-- Calculate pointers for diagnostics set to non-zero frequency
38 CALL DIAGNOSTICS_SET_POINTERS( myThid )
39
40 C-- Define region-mask for regional statistics diagnostics
41 CALL DIAGSTATS_SET_REGIONS( myThid )
42
43 C-- Calculate pointers for statistics-diags set to non-zero frequency
44 CALL DIAGSTATS_SET_POINTERS( myThid )
45
46 CALL DIAGSTATS_INI_IO( myThid )
47
48 #ifdef ALLOW_FIZHI
49 if( useFIZHI) then
50 call fizhi_diagalarms(myThid)
51 endif
52 #endif
53
54 RETURN
55 END

  ViewVC Help
Powered by ViewVC 1.1.22