/[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.3 - (show annotations) (download)
Wed Jan 28 18:49:05 2004 UTC (20 years, 5 months ago) by stephd
Branch: MAIN
CVS Tags: checkpoint53f_post, checkpoint54a_pre, checkpoint55c_post, checkpoint53b_pre, checkpoint52l_pre, hrcube4, hrcube5, checkpoint52j_post, checkpoint54b_post, checkpoint53c_post, checkpoint53d_post, checkpoint55d_pre, checkpoint55j_post, checkpoint52j_pre, checkpoint54a_post, checkpoint55h_post, checkpoint52n_post, checkpoint54d_post, checkpoint54e_post, checkpoint55b_post, checkpoint52m_post, checkpoint53a_post, checkpoint55a_post, checkpoint53b_post, checkpoint55g_post, checkpoint55f_post, checkpoint52l_post, checkpoint52k_post, checkpoint55, checkpoint54, checkpoint56, checkpoint53, checkpoint53g_post, checkpoint54f_post, checkpoint53d_pre, checkpoint55e_post, checkpoint54c_post, checkpoint55i_post, hrcube_3, checkpoint55d_post
Changes since 1.2: +3 -1 lines
o  cleaning up headers, additional documentation

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

  ViewVC Help
Powered by ViewVC 1.1.22