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

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

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

revision 1.27 by jmc, Tue Feb 20 15:02:16 2001 UTC revision 1.31 by jmc, Sun Feb 10 00:35:30 2002 UTC
# Line 3  C $Name$ Line 3  C $Name$
3    
4  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
5    
6  CStartOfInterface  CBOP
7    C     !ROUTINE: CONFIG_SUMMARY
8    C     !INTERFACE:
9        SUBROUTINE CONFIG_SUMMARY( myThid )        SUBROUTINE CONFIG_SUMMARY( myThid )
10  C     /==========================================================  C     !DESCRIPTION: \bv
11  C     | SUBROUTINE CONFIG_SUMMARY                                |  C     *=========================================================*
12  C     | o Summarize model prognostic variables.                  |  C     | SUBROUTINE CONFIG_SUMMARY                                
13  C     |==========================================================|  C     | o Summarize model parameter settings.                    
14  C     | This routine writes a tabulated summary of the model     |  C     *=========================================================*
15  C     | configuration.                                           |  C     | This routine writes a tabulated summary of the kernel    
16  C     | Note                                                     |  C     | model configuration. Information describes all the
17  C     |  1. Under multi-process parallelism the summary          |  C     | parameter setting in force and the meaning and units of
18  C     |     is only given for the per-process data.              |  C     | those parameters. Individal packages report a similar
19  C     |  2. Under multi-threading the summary is produced by     |  C     | table for each package using the same format as employed
20  C     |     the master thread. This threads reads data managed by|  C     | here. If parameters are missing or incorrectly described
21  C     |     other threads.                                       |  C     | or dimensioned please contact support@mitgcm.org
22  C     \==========================================================/  C     *=========================================================*
23        IMPLICIT NONE  C     \ev
24    
25    C     !USES:
26          IMPLICIT NONE
27  C     === Global variables ===  C     === Global variables ===
28  #include "SIZE.h"  #include "SIZE.h"
29  #include "EEPARAMS.h"  #include "EEPARAMS.h"
# Line 27  C     === Global variables === Line 31  C     === Global variables ===
31  #include "GRID.h"  #include "GRID.h"
32  #include "DYNVARS.h"  #include "DYNVARS.h"
33    
34    C     !INPUT/OUTPUT PARAMETERS:
35  C     == Routine arguments ==  C     == Routine arguments ==
36  C     myThid -  Number of this instance of CONFIG_SUMMARY  C     myThid -  Number of this instance of CONFIG_SUMMARY
37        INTEGER myThid        INTEGER myThid
38  CEndOfInterface  CEndOfInterface
39    
40    C     !LOCAL VARIABLES:
41  C     == Local variables ==  C     == Local variables ==
42    C     msgBuf :: Temp. for building output string.
43    C     I,J,K  :: Loop counters.
44    C     bi,bj  :: Tile loop counters.
45    C     xcoord :: Temps. for building lists of values for uni-dimensionally
46    C     ycoord :: varying parameters.
47    C     zcoord ::
48        CHARACTER*(MAX_LEN_MBUF) msgBuf        CHARACTER*(MAX_LEN_MBUF) msgBuf
49        INTEGER                  I,J,K        INTEGER                  I,J,K
50        INTEGER                  bi, bj        INTEGER                  bi, bj
# Line 41  C     == Local variables == Line 53  C     == Local variables ==
53        _RL                     rcoord(Nr)        _RL                     rcoord(Nr)
54        INTEGER coordLine        INTEGER coordLine
55        INTEGER tileLine        INTEGER tileLine
56    CEOP
57    
58    
59        _BARRIER        _BARRIER
# Line 130  C     == Local variables == Line 143  C     == Local variables ==
143       &'   /* Reference coriolis parameter ( 1/s ) */')       &'   /* Reference coriolis parameter ( 1/s ) */')
144        CALL WRITE_0D_R8( beta,    INDEX_NONE,'beta =',        CALL WRITE_0D_R8( beta,    INDEX_NONE,'beta =',
145       &'   /* Beta ( 1/(m.s) ) */')       &'   /* Beta ( 1/(m.s) ) */')
146    
147        CALL WRITE_0D_R8( freeSurfFac, INDEX_NONE,'freeSurfFac =',        CALL WRITE_0D_R8( freeSurfFac, INDEX_NONE,'freeSurfFac =',
148       &'   /* Implicit free surface factor */')       &'   /* Implicit free surface factor */')
149        CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE,        CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE,
# Line 144  C     == Local variables == Line 158  C     == Local variables ==
158        CALL WRITE_0D_R8( implicDiv2Dflow, INDEX_NONE,        CALL WRITE_0D_R8( implicDiv2Dflow, INDEX_NONE,
159       &'implicDiv2Dflow =',       &'implicDiv2Dflow =',
160       &'   /* Barot. Flow Div. implicit factor (0-1)*/')       &'   /* Barot. Flow Div. implicit factor (0-1)*/')
161          CALL WRITE_0D_L( exactConserv, INDEX_NONE,
162         &'exactConserv =',
163         &'   /* Exact Volume Conservation on/off flag*/')
164          CALL WRITE_0D_L( uniformLin_PhiSurf, INDEX_NONE,
165         &'uniformLin_PhiSurf =',
166         &'   /* use uniform Bo_surf on/off flag*/')
167          CALL WRITE_0D_I( nonlinFreeSurf, INDEX_NONE,
168         &'nonlinFreeSurf =',
169         &'   /* Non-linear Free Surf. options (-1,0,1,2,3)*/')
170          WRITE(msgBuf,'(2A)') '     -1,0= Off ; 1,2,3= On,',
171         &  ' 2=+rescale gU,gV, 3=+update cg2d solv.'
172          CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
173         &                    SQUEEZE_RIGHT , 1)
174          CALL WRITE_0D_R8( hFacInf, INDEX_NONE,
175         &'hFacInf =',
176         &'   /* lower threshold for hFac (nonlinFreeSurf only)*/')
177          CALL WRITE_0D_R8( hFacSup, INDEX_NONE,
178         &'hFacSup =',
179         &'   /* upper threshold for hFac (nonlinFreeSurf only)*/')
180          CALL WRITE_0D_L( useRealFreshWaterFlux, INDEX_NONE,
181         &'useRealFreshWaterFlux =',
182         &'   /* Real Fresh Water Flux on/off flag*/')
183          IF (useRealFreshWaterFlux .AND. nonlinFreeSurf.GT.0) THEN
184          CALL WRITE_0D_R8( temp_EvPrRn, INDEX_NONE,
185         &'temp_EvPrRn =',
186         &' /* Temp. of Evap/Prec/R (UNSET=use local T)(oC)*/')
187          CALL WRITE_0D_R8( salt_EvPrRn, INDEX_NONE,
188         &'salt_EvPrRn =',
189         &' /* Salin. of Evap/Prec/R (UNSET=use local S)(ppt)*/')
190          CALL WRITE_0D_R8( trac_EvPrRn, INDEX_NONE,
191         &'trac_EvPrRn =',
192         &' /* Tracer in Evap/Prec/R (UNSET=use local Tr)*/')
193          ELSE
194          CALL WRITE_0D_R8( convertFW2Salt, INDEX_NONE,
195         &'convertFW2Salt =',
196         &' /* convert F.W. Flux to Salt Flux (-1=use local S)(ppt)*/')
197          ENDIF
198    
199        CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE,        CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE,
200       &                 'staggerTimeStep =',       &                 'staggerTimeStep =',
201       &'   /* Stagger time stepping on/off flag */')       &'   /* Stagger time stepping on/off flag */')

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.22