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

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

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


Revision 1.1 - (show annotations) (download)
Wed Nov 10 20:51:26 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint60, checkpoint61, checkpoint57b_post, checkpoint57c_pre, checkpoint58r_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint56c_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint57a_post, checkpoint58q_post, checkpoint57v_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint57c_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post
change mon_solution: write to ErrorUnit (instead of StandardUnit);
              and    avoid 2nd call to mon_stats_rl(theta)

1 C $Header: /u/gcmpack/MITgcm/pkg/monitor/mon_printstats_rl.F,v 1.8 2004/04/03 21:17:10 edhill Exp $
2 C $Name: $
3
4 #include "MONITOR_OPTIONS.h"
5
6 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7 CBOP
8 C !ROUTINE: MON_WRITESTATS_RL
9
10 C !INTERFACE:
11 SUBROUTINE MON_WRITESTATS_RL(
12 I myNr, arr, arrName,
13 I arrMask,arrhFac,arrArea,arrDr,
14 O arrStats,
15 I myThid )
16
17 C !DESCRIPTION:
18 C Compute the bare statistics of global array "\_RL arr"
19 C and write them to STDOUT with label "arrName".
20
21 C !USES:
22 IMPLICIT NONE
23 #include "SIZE.h"
24 #include "EEPARAMS.h"
25 #include "MONITOR.h"
26
27 C !INPUT PARAMETERS:
28 INTEGER myNr
29 _RL arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
30 _RS arrMask(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
31 _RS arrhFac(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
32 _RS arrArea(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
33 _RS arrDr(myNr)
34 CHARACTER*(*) arrName
35 INTEGER myThid
36
37 C !OUTPUT PARAMETERS:
38 C arrStats :: statistics of the global array (min, max ...)
39 _RL arrStats(*)
40 CEOP
41
42 C !LOCAL VARIABLES:
43 _RL theMin, theMax, theMean, theSD, theDel2, theVol
44
45 CALL MON_STATS_RL(
46 I myNr, arr, arrMask, arrhFac, arrArea, arrDr,
47 O theMin, theMax, theMean, theSD, theDel2, theVol,
48 I myThid )
49
50 arrStats(1) = theMin
51 arrStats(2) = theMax
52 arrStats(3) = theMean
53 arrStats(4) = theSD
54 arrStats(5) = theDel2
55 arrStats(6) = theVol
56
57 CALL MON_OUT_RL( arrName, theMax, mon_foot_max ,myThid)
58 CALL MON_OUT_RL( arrName, theMin, mon_foot_min ,myThid)
59 CALL MON_OUT_RL( arrName, theMean, mon_foot_mean ,myThid)
60 CALL MON_OUT_RL( arrName, theSD, mon_foot_sd ,myThid)
61 CALL MON_OUT_RL( arrName, theDel2, mon_foot_del2 ,myThid)
62 c CALL MON_OUT_RL( arrName, theVol, mon_foot_vol ,myThid)
63
64 RETURN
65 END

  ViewVC Help
Powered by ViewVC 1.1.22