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

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

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


Revision 1.5 - (hide annotations) (download)
Sun Apr 26 23:41:54 1998 UTC (26 years, 1 month ago) by cnh
Branch: MAIN
Changes since 1.4: +26 -5 lines
Improvements to I/O and feedback info.

1 cnh 1.5 C $Header: /u/gcmpack/models/MITgcmUV/model/src/config_summary.F,v 1.4 1998/04/24 02:08:39 cnh Exp $
2 cnh 1.1
3     #include "CPP_EEOPTIONS.h"
4    
5     CStartOfInterface
6     SUBROUTINE CONFIG_SUMMARY( myThid )
7     C /==========================================================\
8     C | SUBROUTINE CONFIG_SUMMARY |
9     C | o Summarize model prognostic variables. |
10     C |==========================================================|
11     C | This routine writes a tabulated summary of the model |
12     C | configuration. |
13     C | Note |
14     C | 1. Under multi-process parallelism the 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 CONFIG_SUMMARY
30     INTEGER myThid
31     CEndOfInterface
32    
33     C == Local variables ==
34     CHARACTER*(MAX_LEN_MBUF) msgBuf
35 cnh 1.5 INTEGER I,J,K
36    
37 cnh 1.1
38     _BARRIER
39 cnh 1.5 _BEGIN_MASTER(myThid)
40 cnh 1.1
41     WRITE(msgBuf,'(A)')
42     &'// ======================================================='
43     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, SQUEEZE_RIGHT , 1)
44     WRITE(msgBuf,'(A)') '// Model configuration'
45     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, SQUEEZE_RIGHT , 1)
46     WRITE(msgBuf,'(A)')
47     &'// ======================================================='
48     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
49     & SQUEEZE_RIGHT , 1)
50 cnh 1.5
51     CALL WRITE_1D_R8( tRef, Nz, INDEX_K,'tRef =',
52     &' /* Reference temperature profile ( oC or oK ) */')
53     CALL WRITE_1D_R8( viscAh, 1, INDEX_NONE,'viscAh =',
54     &' /* Lateral eddy viscosity ( m^2/s ) */')
55     CALL WRITE_1D_R8( viscAz, 1, INDEX_NONE,'viscAz =',
56     &' /* Vertical eddy viscosity ( m^2/s ) */')
57     CALL WRITE_1D_R8( diffKhT, 1, INDEX_NONE,'diffKhT =',
58     &' /* Laplacian diffusion of heat laterally ( m^2/s ) */')
59     CALL WRITE_1D_R8( diffKzT, 1, INDEX_NONE,'diffKzT =',
60     &' /* Laplacian diffusion of heat vertically ( m^2/s ) */')
61     CALL WRITE_1D_R8( diffK4T, 1, INDEX_NONE,'diffK4T =',
62     &' /* Bihaarmonic diffusion of heat laterally ( m^4/s ) */')
63     CALL WRITE_1D_R8( diffKhS, 1, INDEX_NONE,'diffKhS =',
64     &' /* Laplacian diffusion of salt laterally ( m^2/s ) */')
65     CALL WRITE_1D_R8( diffKzS, 1, INDEX_NONE,'diffKzS =',
66     &' /* Laplacian diffusion of salt vertically ( m^2/s ) */')
67     CALL WRITE_1D_R8( diffK4S, 1, INDEX_NONE,'diffK4S =',
68     &' /* Bihaarmonic diffusion of salt laterally ( m^4/s ) */')
69    
70    
71 cnh 1.1 WRITE(msgBuf,'(A)') ' '
72     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
73     & SQUEEZE_RIGHT , 1)
74 cnh 1.5
75 cnh 1.1 _END_MASTER(myThid)
76     _BARRIER
77    
78    
79     RETURN
80     100 FORMAT(A,
81 cnh 1.4 &' '
82 cnh 1.1 &)
83     END
84    

  ViewVC Help
Powered by ViewVC 1.1.22