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

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

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


Revision 1.3 - (hide annotations) (download)
Wed Oct 28 03:11:38 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint17, checkpoint16
Changes since 1.2: +5 -3 lines
Changes to support
 - g77 compilation under Linux
 - LR(1) form of 64-bit is D or E for constants
 - Modified adjoint of exch with adjoint variables
   acuumulated.

1 cnh 1.3 C $Header: /u/gcmpack/models/MITgcmUV/model/src/state_summary.F,v 1.2 1998/04/24 02:05:42 cnh Exp $
2 cnh 1.1
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 cnh 1.3 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
42     & SQUEEZE_RIGHT , 1)
43 cnh 1.1 WRITE(msgBuf,'(A)') '// Model current state'
44 cnh 1.3 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
45     & SQUEEZE_RIGHT , 1)
46 cnh 1.1 WRITE(msgBuf,'(A)')
47     &'// ======================================================='
48     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
49     & SQUEEZE_RIGHT , 1)
50     WRITE(msgBuf,'(A)') ' '
51     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
52     & SQUEEZE_RIGHT , 1)
53     _END_MASTER(myThid)
54    
55     _BARRIER
56    
57    
58     RETURN
59     END
60    

  ViewVC Help
Powered by ViewVC 1.1.22