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

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

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


Revision 1.7 - (hide annotations) (download)
Tue May 13 18:18:05 2003 UTC (21 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint52l_pre, hrcube4, hrcube5, checkpoint52d_pre, checkpoint52j_pre, checkpoint51o_pre, checkpoint51l_post, checkpoint52l_post, checkpoint52k_post, checkpoint51, checkpoint52, checkpoint52f_post, checkpoint51f_post, checkpoint51d_post, checkpoint51t_post, checkpoint51n_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint51s_post, checkpoint51j_post, checkpoint52e_pre, checkpoint52e_post, checkpoint51n_pre, checkpoint52b_pre, checkpoint51l_pre, checkpoint51q_post, checkpoint51b_pre, checkpoint52b_post, checkpoint52c_post, checkpoint51h_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint52f_pre, branchpoint-genmake2, checkpoint51r_post, checkpoint51i_post, checkpoint51b_post, checkpoint51c_post, checkpoint52d_post, checkpoint50g_post, checkpoint52a_pre, checkpoint50h_post, checkpoint52i_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51i_pre, checkpoint52h_pre, checkpoint52j_post, checkpoint50e_post, branch-netcdf, checkpoint51e_post, checkpoint51o_post, checkpoint51f_pre, checkpoint52a_post, checkpoint51g_post, ecco_c52_e35, checkpoint51m_post, checkpoint51a_post, checkpoint51p_post, checkpoint51u_post
Branch point for: branch-genmake2, branch-nonh, tg2-branch, netcdf-sm0, checkpoint51n_branch
Changes since 1.6: +2 -2 lines
 o split mon_set.F into mon_set_iounit.F and mon_set_pref.F
 o replaced ref's to CPP_OPTIONS with MONITOR_OPTIONS
 o added new s/r monitor_solution.F that checks that model state
   and if unlikely lets the model die cleanly
   - this is to reduce the number of hanging processes we encounter
     if the model dies due to FPEs

1 adcroft 1.7 C $Header: /u/gcmpack/models/MITgcmUV/pkg/monitor/mon_printstats_rl.F,v 1.6 2002/06/15 03:14:53 jmc Exp $
2 adcroft 1.2 C $Name: $
3 adcroft 1.1
4 adcroft 1.7 #include "MONITOR_OPTIONS.h"
5 adcroft 1.1
6     SUBROUTINE MON_PRINTSTATS_RL(
7 jmc 1.5 I myNr, arr, arrName,
8     I arrMask,arrhFac,arrArea,arrDr,
9 adcroft 1.1 I myThid )
10     C /==========================================================\
11     C | SUBROUTINE MON_PRINTSTATS_RL |
12     C | o Prints to STDOUT the bare statistics of global array |
13     C | "_RL arr" with label "arrName" |
14     C |==========================================================|
15     C \==========================================================/
16     IMPLICIT NONE
17    
18     C === Global data ===
19     #include "SIZE.h"
20     #include "EEPARAMS.h"
21 cnh 1.3 #include "MONITOR.h"
22 adcroft 1.1
23     C === Routine arguments ===
24     INTEGER myNr
25     _RL arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
26 jmc 1.5 _RS arrMask(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
27     _RS arrhFac(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
28     _RS arrArea(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
29     _RS arrDr(myNr)
30 adcroft 1.1 CHARACTER*(*) arrName
31     INTEGER myThid
32    
33     C === Local variables ====
34     _RL theMin
35     _RL theMax
36     _RL theMean
37     _RL theSD
38 jmc 1.5 _RL theDel2
39 jmc 1.6 _RL theVol
40 adcroft 1.1
41     CALL MON_STATS_RL(
42 jmc 1.5 I myNr, arr, arrMask,arrhFac,arrArea,arrDr,
43 jmc 1.6 O theMin,theMax,theMean,theSD,theDel2,theVol,
44 adcroft 1.1 I myThid )
45    
46 adcroft 1.4 CALL MON_OUT_RL( arrName, theMax, mon_foot_max ,myThid)
47     CALL MON_OUT_RL( arrName, theMin, mon_foot_min ,myThid)
48     CALL MON_OUT_RL( arrName, theMean, mon_foot_mean ,myThid)
49     CALL MON_OUT_RL( arrName, theSD, mon_foot_sd ,myThid)
50 jmc 1.5 CALL MON_OUT_RL( arrName, theDel2, mon_foot_del2 ,myThid)
51 jmc 1.6 c CALL MON_OUT_RL( arrName, theVol, mon_foot_vol ,myThid)
52 adcroft 1.1
53     RETURN
54     END

  ViewVC Help
Powered by ViewVC 1.1.22