C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/model/src/config_summary.F,v 1.5 1998/04/26 23:41:54 cnh Exp $ #include "CPP_EEOPTIONS.h" CStartOfInterface SUBROUTINE CONFIG_SUMMARY( myThid ) C /==========================================================\ C | SUBROUTINE CONFIG_SUMMARY | C | o Summarize model prognostic variables. | C |==========================================================| C | This routine writes a tabulated summary of the model | C | configuration. | C | Note | C | 1. Under multi-process parallelism the summary | C | is only given for the per-process data. | C | 2. Under multi-threading the summary is produced by | C | the master thread. This threads reads data managed by| C | other threads. | C \==========================================================/ C === Global variables === #include "SIZE.h" #include "EEPARAMS.h" #include "PARAMS.h" #include "GRID.h" #include "DYNVARS.h" C == Routine arguments == C myThid - Number of this instance of CONFIG_SUMMARY INTEGER myThid CEndOfInterface C == Local variables == CHARACTER*(MAX_LEN_MBUF) msgBuf INTEGER I,J,K _BARRIER _BEGIN_MASTER(myThid) WRITE(msgBuf,'(A)') &'// =======================================================' CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, SQUEEZE_RIGHT , 1) WRITE(msgBuf,'(A)') '// Model configuration' CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, SQUEEZE_RIGHT , 1) WRITE(msgBuf,'(A)') &'// =======================================================' CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, & SQUEEZE_RIGHT , 1) CALL WRITE_1D_R8( tRef, Nz, INDEX_K,'tRef =', &' /* Reference temperature profile ( oC or oK ) */') CALL WRITE_1D_R8( viscAh, 1, INDEX_NONE,'viscAh =', &' /* Lateral eddy viscosity ( m^2/s ) */') CALL WRITE_1D_R8( viscAz, 1, INDEX_NONE,'viscAz =', &' /* Vertical eddy viscosity ( m^2/s ) */') CALL WRITE_1D_R8( diffKhT, 1, INDEX_NONE,'diffKhT =', &' /* Laplacian diffusion of heat laterally ( m^2/s ) */') CALL WRITE_1D_R8( diffKzT, 1, INDEX_NONE,'diffKzT =', &' /* Laplacian diffusion of heat vertically ( m^2/s ) */') CALL WRITE_1D_R8( diffK4T, 1, INDEX_NONE,'diffK4T =', &' /* Bihaarmonic diffusion of heat laterally ( m^4/s ) */') CALL WRITE_1D_R8( diffKhS, 1, INDEX_NONE,'diffKhS =', &' /* Laplacian diffusion of salt laterally ( m^2/s ) */') CALL WRITE_1D_R8( diffKzS, 1, INDEX_NONE,'diffKzS =', &' /* Laplacian diffusion of salt vertically ( m^2/s ) */') CALL WRITE_1D_R8( diffK4S, 1, INDEX_NONE,'diffK4S =', &' /* Bihaarmonic diffusion of salt laterally ( m^4/s ) */') WRITE(msgBuf,'(A)') ' ' CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, & SQUEEZE_RIGHT , 1) _END_MASTER(myThid) _BARRIER RETURN 100 FORMAT(A, &' ' &) END