/[MITgcm]/MITgcm/model/src/state_summary.F
ViewVC logotype

Contents of /MITgcm/model/src/state_summary.F

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


Revision 1.2 - (show annotations) (download)
Fri Apr 24 02:05:42 1998 UTC (26 years, 2 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint11, checkpoint10, checkpoint13, checkpoint15, checkpoint14, redigm, checkpoint5, checkpoint4, checkpoint7, checkpoint6, checkpoint1, checkpoint3, checkpoint2, checkpoint9, checkpoint8, kloop1, kloop2, checkpoint12, branch-point-rdot
Branch point for: checkpoint7-4degree-ref, branch-rdot
Changes since 1.1: +1 -1 lines
Further $Id to $Header conversions

1 C $Header: state_summary.F,v 1.1.1.1 1998/04/22 19:15:30 cnh Exp $
2
3 #include "CPP_EEOPTIONS.h"
4
5 CStartOfInterface
6 SUBROUTINE STATE_SUMMARY( myThid )
7 C /==========================================================\
8 C | SUBROUTINE STATE_SUMMARY |
9 C | o Summarize model prognostic variables. |
10 C |==========================================================|
11 C | This routine can be called at any time during an |
12 C | integration to provide a summary of the model state. |
13 C | Note |
14 C | 1. Under multi-process parallelism the state summary |
15 C | is only given for the per-process data. |
16 C | 2. Under multi-threading the summary is produced by |
17 C | the master thread. This threads reads data managed by|
18 C | other threads. |
19 C \==========================================================/
20
21 C === Global variables ===
22 #include "SIZE.h"
23 #include "EEPARAMS.h"
24 #include "PARAMS.h"
25 #include "GRID.h"
26 #include "DYNVARS.h"
27
28 C == Routine arguments ==
29 C myThid - Number of this instance of STATE_SUMMARY
30 INTEGER myThid
31 CEndOfInterface
32
33 C == Local variables ==
34 CHARACTER*(MAX_LEN_MBUF) msgBuf
35
36 _BARRIER
37
38 _BEGIN_MASTER(myThid)
39 WRITE(msgBuf,'(A)')
40 &'// ======================================================='
41 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, SQUEEZE_RIGHT , 1)
42 WRITE(msgBuf,'(A)') '// Model current state'
43 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, SQUEEZE_RIGHT , 1)
44 WRITE(msgBuf,'(A)')
45 &'// ======================================================='
46 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
47 & SQUEEZE_RIGHT , 1)
48 WRITE(msgBuf,'(A)') ' '
49 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
50 & SQUEEZE_RIGHT , 1)
51 _END_MASTER(myThid)
52
53 _BARRIER
54
55
56 RETURN
57 END
58

  ViewVC Help
Powered by ViewVC 1.1.22