/[MITgcm]/MITgcm/pkg/gchem/gchem_mon_print.F
ViewVC logotype

Contents of /MITgcm/pkg/gchem/gchem_mon_print.F

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


Revision 1.2 - (show annotations) (download)
Mon Oct 6 20:04:29 2003 UTC (20 years, 8 months ago) by stephd
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint51l_post, checkpoint51j_post, checkpoint52e_pre, checkpoint52e_post, checkpoint51n_pre, checkpoint52d_pre, branch-netcdf, checkpoint51r_post, checkpoint52b_pre, checkpoint51o_pre, checkpoint51i_post, checkpoint51l_pre, checkpoint51o_post, checkpoint51q_post, checkpoint52, checkpoint52d_post, checkpoint52a_post, checkpoint52b_post, checkpoint52f_post, checkpoint52c_post, checkpoint51h_pre, ecco_c52_e35, checkpoint52a_pre, checkpoint51m_post, checkpoint51t_post, checkpoint52i_post, checkpoint51p_post, checkpoint51n_post, checkpoint51i_pre, checkpoint52i_pre, checkpoint51u_post, checkpoint52h_pre, checkpoint52f_pre, hrcube_1, hrcube_2, checkpoint51s_post
Branch point for: netcdf-sm0, branch-nonh, tg2-branch, checkpoint51n_branch
Changes since 1.1: +7 -1 lines
modifications for gchem to make it more versatile

1 C $Header: /u/gcmpack/MITgcm/pkg/gchem/gchem_mon_print.F,v 1.1 2003/06/25 21:00:37 stephd Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5 #include "GCHEM_OPTIONS.h"
6
7 SUBROUTINE GCHEM_PRINT(
8 I myNr, arr, arrName,
9 I arrMask,arrhFac,arrArea,arrDr,
10 I myThid )
11 C /==========================================================\
12 C | SUBROUTINE MON_PRINTSTATS_RL |
13 C | o Prints to STDOUT the bare statistics of global array |
14 C | "_RL arr" with label "arrName" |
15 C |==========================================================|
16 C \==========================================================/
17 IMPLICIT NONE
18
19 C === Global data ===
20 #include "SIZE.h"
21 #include "EEPARAMS.h"
22 #include "MONITOR.h"
23
24 C === Routine arguments ===
25 INTEGER myNr
26 _RL arr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
27 _RS arrMask(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
28 _RS arrhFac(1-OLx:sNx+OLx,1-OLy:sNy+OLy,myNr,nSx,nSy)
29 _RS arrArea(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
30 _RS arrDr(myNr)
31 CHARACTER*(*) arrName
32 INTEGER myThid
33
34 #ifdef ALLOW_PTRACERS
35 #ifdef ALLOW_GCHEM
36
37 C === Local variables ====
38 _RL theMin
39 _RL theMax
40 _RL theMean
41 _RL theSD
42 _RL theDel2
43 _RL theVol
44 _RL theTot
45
46 CALL MON_STATS_RL(
47 I myNr, arr, arrMask,arrhFac,arrArea,arrDr,
48 O theMin,theMax,theMean,theSD,theDel2,theVol,
49 I myThid )
50
51 theTot=theMean*theVol
52 CALL MON_OUT_RL( arrName, theMax, mon_foot_max ,myThid)
53 CALL MON_OUT_RL( arrName, theMin, mon_foot_min ,myThid)
54 CALL MON_OUT_RL( arrName, theMean, mon_foot_mean ,myThid)
55
56 #endif
57 #endif
58
59 RETURN
60 END

  ViewVC Help
Powered by ViewVC 1.1.22