/[MITgcm]/MITgcm/pkg/monitor/mon_printstats_rl.F
ViewVC logotype

Diff of /MITgcm/pkg/monitor/mon_printstats_rl.F

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

revision 1.7 by adcroft, Tue May 13 18:18:05 2003 UTC revision 1.8 by edhill, Sat Apr 3 21:17:10 2004 UTC
# Line 3  C $Name$ Line 3  C $Name$
3    
4  #include "MONITOR_OPTIONS.h"  #include "MONITOR_OPTIONS.h"
5    
6    C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7    CBOP
8    C     !ROUTINE: MON_KE
9    
10    C     !INTERFACE:
11        SUBROUTINE MON_PRINTSTATS_RL(        SUBROUTINE MON_PRINTSTATS_RL(
12       I                myNr, arr, arrName,       I     myNr, arr, arrName,
13       I                arrMask,arrhFac,arrArea,arrDr,       I     arrMask,arrhFac,arrArea,arrDr,
14       I                myThid )       I     myThid )
15  C     /==========================================================\  
16  C     | SUBROUTINE MON_PRINTSTATS_RL                             |  C     !DESCRIPTION:
17  C     | o Prints to STDOUT the bare statistics of global array   |  C     Prints to STDOUT the bare statistics of global array "\_RL arr"
18  C     |   "_RL arr" with label "arrName"                         |  C     with label "arrName".
 C     |==========================================================|  
 C     \==========================================================/  
       IMPLICIT NONE  
19    
20  C     === Global data ===  C     !USES:
21          IMPLICIT NONE
22  #include "SIZE.h"  #include "SIZE.h"
23  #include "EEPARAMS.h"  #include "EEPARAMS.h"
24  #include "MONITOR.h"  #include "MONITOR.h"
25    
26  C     === Routine arguments ===  C     !INPUT PARAMETERS:
27        INTEGER myNr        INTEGER myNr
28        _RL arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)        _RL arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
29        _RS arrMask(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)        _RS arrMask(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
# Line 29  C     === Routine arguments === Line 32  C     === Routine arguments ===
32        _RS arrDr(myNr)        _RS arrDr(myNr)
33        CHARACTER*(*) arrName        CHARACTER*(*) arrName
34        INTEGER myThid        INTEGER myThid
35    CEOP
36    
37  C     === Local variables ====  C     !LOCAL VARIABLES:
38        _RL theMin        _RL theMin, theMax, theMean, theSD, theDel2, theVol
       _RL theMax  
       _RL theMean  
       _RL theSD  
       _RL theDel2  
       _RL theVol  
39    
40        CALL MON_STATS_RL(        CALL MON_STATS_RL(
41       I                myNr, arr, arrMask,arrhFac,arrArea,arrDr,       I     myNr, arr, arrMask, arrhFac, arrArea, arrDr,
42       O                theMin,theMax,theMean,theSD,theDel2,theVol,       O     theMin, theMax, theMean, theSD, theDel2, theVol,
43       I                myThid )       I     myThid )
44    
45        CALL MON_OUT_RL( arrName, theMax,  mon_foot_max  ,myThid)        CALL MON_OUT_RL( arrName, theMax,  mon_foot_max  ,myThid)
46        CALL MON_OUT_RL( arrName, theMin,  mon_foot_min  ,myThid)        CALL MON_OUT_RL( arrName, theMin,  mon_foot_min  ,myThid)

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22