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

Annotation of /MITgcm/pkg/monitor/mon_printstats_rs.F

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


Revision 1.3 - (hide annotations) (download)
Wed Jun 6 14:49:51 2001 UTC (23 years ago) by adcroft
Branch: MAIN
Changes since 1.2: +5 -8 lines
Removed unused variables and corrected left hand label.

1 adcroft 1.3 C $Header: /u/gcmpack/models/MITgcmUV/pkg/monitor/mon_printstats_rs.F,v 1.2 2001/06/04 20:03:33 adcroft Exp $
2 adcroft 1.2 C $Name: $
3 adcroft 1.1
4     #include "CPP_OPTIONS.h"
5    
6     SUBROUTINE MON_PRINTSTATS_RS(
7     I myNr, arr, arrName,
8     I myThid )
9     C /==========================================================\
10     C | SUBROUTINE MON_PRINTSTATS_RS |
11     C | o Prints to STDOUT the bare statistics of global array |
12     C | "_RS arr" with label "arrName" |
13     C |==========================================================|
14     C \==========================================================/
15     IMPLICIT NONE
16    
17     C === Global data ===
18     #include "SIZE.h"
19     #include "EEPARAMS.h"
20    
21     C === Routine arguments ===
22     INTEGER myNr
23     _RS arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
24     CHARACTER*(*) arrName
25     INTEGER myThid
26    
27     C === Local variables ====
28     _RL theMin
29     _RL theMax
30     _RL theMean
31     _RL theSD
32    
33 adcroft 1.2 CALL MON_STATS_RS(
34 adcroft 1.1 I myNr, arr,
35     O theMin,theMax,theMean,theSD,
36     I myThid )
37    
38     _BEGIN_MASTER( myThid )
39     WRITE(*,'(A,A20,A,1PE22.14)')
40 adcroft 1.3 & 'MON_PRINTSTATS_RS: ',arrName,' min=',theMin
41 adcroft 1.1 WRITE(*,'(A,A20,A,1PE22.14)')
42 adcroft 1.3 & 'MON_PRINTSTATS_RS: ',arrName,' max=',theMax
43 adcroft 1.1 WRITE(*,'(A,A20,A,1PE22.14)')
44 adcroft 1.3 & 'MON_PRINTSTATS_RS: ',arrName,' mean=',theMean
45 adcroft 1.1 WRITE(*,'(A,A20,A,1PE22.14)')
46 adcroft 1.3 & 'MON_PRINTSTATS_RS: ',arrName,' S.D.=',theSD
47 adcroft 1.1 _END_MASTER( )
48    
49     RETURN
50     END

  ViewVC Help
Powered by ViewVC 1.1.22