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

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

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


Revision 1.2 - (show annotations) (download)
Wed Jun 6 14:49:51 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.1: +6 -9 lines
Removed unused variables and corrected left hand label.

1 C $Header: /u/gcmpack/models/MITgcmUV/pkg/monitor/mon_printstats_rl.F,v 1.1 2001/05/30 19:33:18 adcroft Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 SUBROUTINE MON_PRINTSTATS_RL(
7 I myNr, arr, arrName,
8 I myThid )
9 C /==========================================================\
10 C | SUBROUTINE MON_PRINTSTATS_RL |
11 C | o Prints to STDOUT the bare statistics of global array |
12 C | "_RL 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 _RL 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 CALL MON_STATS_RL(
34 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 & 'MON_PRINTSTATS_RL: ',arrName,' min=',theMin
41 WRITE(*,'(A,A20,A,1PE22.14)')
42 & 'MON_PRINTSTATS_RL: ',arrName,' max=',theMax
43 WRITE(*,'(A,A20,A,1PE22.14)')
44 & 'MON_PRINTSTATS_RL: ',arrName,' mean=',theMean
45 WRITE(*,'(A,A20,A,1PE22.14)')
46 & 'MON_PRINTSTATS_RL: ',arrName,' S.D.=',theSD
47 _END_MASTER( )
48
49 RETURN
50 END

  ViewVC Help
Powered by ViewVC 1.1.22