/[MITgcm]/MITgcm/pkg/monitor/MONITOR.h
ViewVC logotype

Contents of /MITgcm/pkg/monitor/MONITOR.h

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


Revision 1.9 - (show annotations) (download)
Wed Jul 1 14:49:22 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62c, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint63g, checkpoint64, checkpoint62, checkpoint63, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint62b, checkpoint64a, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.8: +29 -24 lines
File MIME type: text/plain
change error msg when stopping in MON_SOLUTION (add iteration number ...)

1 C $Header: /u/gcmpack/MITgcm/pkg/monitor/MONITOR.h,v 1.8 2004/09/07 23:51:22 jmc Exp $
2 C $Name: $
3 C
4
5 CBOP
6 C !ROUTINE: MONITOR.h
7
8 C !INTERFACE:
9 C #include "MONITOR.h"
10
11 C !DESCRIPTION:
12 C Contains the state (parameters) for the ``monitor'' package.
13 C
14 C Monitor routines (prefixed MON\_) provide a simple set of
15 C utilities for outputting useful runtime diagnostic
16 C information. They use a standard format so that the monitor output
17 C can be parsed offline to help in trouble shooting.
18 C
19 C Monitor setup params should be set through appropriate MON\_
20 C routines to ensure that changes are made in a thread-safe fashion.
21
22 CEOP
23
24 C-- Monitor head and tail strings
25 CHARACTER*(*) mon_head
26 PARAMETER ( mon_head = '%MON' )
27 CHARACTER*(*) mon_foot_min
28 PARAMETER ( mon_foot_min = '_min' )
29 CHARACTER*(*) mon_foot_max
30 PARAMETER ( mon_foot_max = '_max' )
31 CHARACTER*(*) mon_foot_sd
32 PARAMETER ( mon_foot_sd = '_sd' )
33 CHARACTER*(*) mon_foot_mean
34 PARAMETER ( mon_foot_mean = '_mean' )
35 CHARACTER*(*) mon_foot_volint
36 PARAMETER ( mon_foot_volint = '_volint' )
37 CHARACTER*(*) mon_foot_volmean
38 PARAMETER ( mon_foot_volmean = '_volmean' )
39 CHARACTER*(*) mon_foot_del2
40 PARAMETER ( mon_foot_del2 = '_del2' )
41 CHARACTER*(*) mon_foot_vol
42 PARAMETER ( mon_foot_vol = '_vol' )
43 CHARACTER*(*) mon_string_none
44 PARAMETER ( mon_string_none = 'NONE' )
45
46 C-- COMMON /MON_I/ Monitor integer variables
47 C mon_ioUnit :: Used to specify the output unit for monitor IO.
48 C mon_prefL :: Prefix length of current mon_ prefix
49 COMMON /MON_I/ mon_ioUnit, mon_prefL
50 INTEGER mon_ioUnit
51 INTEGER mon_prefL
52
53 C-- COMMON /MON_C/ Monitor character variables
54 C mon_pref :: Prefix used for monitor output
55 COMMON /MON_C/ mon_pref
56 CHARACTER*(MAX_LEN_MBUF) mon_pref
57
58 C-- COMMON /MON_C/ Monitor real variables
59 C monSolutionMaxRange :: Maximum allowed Range for solution
60 COMMON /MON_R/ monSolutionMaxRange
61 _RL monSolutionMaxRange
62
63 C-- COMMON /MON_L/ Monitor logical variables
64 C mon_overrideStop :: Allow code to continue even if model state is
65 C heading out of bounds
66 C mon_write_stdout :: hold True when writing monitor to standard output
67 C mon_write_mnc :: hold True when writing monitor to MNC file
68 COMMON /MON_L/
69 & mon_write_stdout, mon_write_mnc
70 c LOGICAL mon_overrideStop
71 LOGICAL mon_write_stdout, mon_write_mnc
72
73 C File names and time steps
74 C mon_fname :: monitor file group name
75 COMMON /MON_F/
76 & mon_fname
77 CHARACTER*(MAX_LEN_FNAM) mon_fname
78
79 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
80
81 CEH3 ;;; Local Variables: ***
82 CEH3 ;;; mode:fortran ***
83 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22