/[MITgcm]/MITgcm/pkg/ocn_compon_interf/ocn_cpl_diags.F
ViewVC logotype

Annotation of /MITgcm/pkg/ocn_compon_interf/ocn_cpl_diags.F

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


Revision 1.1 - (hide annotations) (download)
Fri May 21 19:39:18 2004 UTC (20 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint53d_post, checkpoint54a_pre, checkpoint55c_post, checkpoint54e_post, checkpoint54a_post, checkpoint53c_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57b_post, checkpoint57c_pre, checkpoint55j_post, checkpoint56b_post, checkpoint57e_post, checkpoint55h_post, checkpoint54b_post, checkpoint55b_post, checkpoint54d_post, checkpoint56c_post, checkpoint55, checkpoint57f_pre, checkpoint57a_post, checkpoint54, checkpoint54f_post, checkpoint55g_post, checkpoint55f_post, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint53g_post, checkpoint57c_post, checkpoint55e_post, checkpoint53f_post, checkpoint55a_post, checkpoint53d_pre, checkpoint54c_post, checkpoint56a_post, checkpoint55d_post
rename cpl_calc_diags.F --> ocn_cpl_diags.F

1 jmc 1.1 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/cpl_calc_diags.F,v 1.1 2003/12/15 02:49:09 jmc Exp $
2     C $Name: $
3    
4     #include "PACKAGES_CONFIG.h"
5     #include "CPP_OPTIONS.h"
6    
7     CStartOfInterFace
8     SUBROUTINE OCN_CPL_DIAGS( bi, bj, myTime, myThid )
9     C /==========================================================\
10     C | SUBROUTINE OCN_CPL_DIAGS |
11     C | o Calculate CPL diagnostics |
12     C \==========================================================/
13     IMPLICIT NONE
14    
15     C === Global variables ===
16     #include "SIZE.h"
17     #include "EEPARAMS.h"
18     #include "PARAMS.h"
19     #include "OCNCPL.h"
20     #include "CPL_DIAGS.h"
21    
22     LOGICAL DIFFERENT_MULTIPLE
23     EXTERNAL DIFFERENT_MULTIPLE
24    
25     C == Routine arguments ==
26     C bi,bj - Tile index
27     C myTime - Current time of simulation ( s )
28     C myThid - Number of this instance of the routine
29     INTEGER bi, bj
30     _RL myTime
31     INTEGER myThid
32     CEndOfInterface
33    
34     #ifdef COMPONENT_MODULE
35    
36     C == Local variables ==
37     INTEGER I,J,K
38     _RL DDTT
39    
40     #ifdef ALLOW_TIMEAVE
41    
42     DDTT = deltaTclock
43    
44     DO J=1,sNy
45     DO I=1,sNx
46     SLPtave(i,j,bi,bj) = SLPtave(i,j,bi,bj)
47     & + DDTT * atmSLPr(i,j,bi,bj)
48     HFtave(i,j,bi,bj) = HFtave(i,j,bi,bj)
49     & + DDTT * HeatFlux(i,j,bi,bj)
50     QSWtave(i,j,bi,bj) = QSWtave(i,j,bi,bj)
51     & + DDTT * qShortWave(i,j,bi,bj)
52     c QLTtave(i,j,bi,bj) = QLTtave(i,j,bi,bj)
53     c & + DDTT * qLatent(i,j,bi,bj)
54     c QSNtave(i,j,bi,bj) = QSNtave(i,j,bi,bj)
55     c & + DDTT * qSensible(i,j,bi,bj)
56     c QLWtave(i,j,bi,bj) = QLWtave(i,j,bi,bj)
57     c & + DDTT * qLongWave(i,j,bi,bj)
58     c UGtave(i,j,bi,bj) = UGtave(i,j,bi,bj)
59     c & + DDTT * uVelGround(i,j,bi,bj)
60     c VGtave(i,j,bi,bj) = VGtave(i,j,bi,bj)
61     c & + DDTT * vVelGround(i,j,bi,bj)
62     TXtave(i,j,bi,bj) = TXtave(i,j,bi,bj)
63     & + DDTT * tauX(i,j,bi,bj)
64     TYtave(i,j,bi,bj) = TYtave(i,j,bi,bj)
65     & + DDTT * tauY(i,j,bi,bj)
66     FWtave(i,j,bi,bj) = FWtave(i,j,bi,bj)
67     & + DDTT * FWFlux(i,j,bi,bj)
68     SFxtave(i,j,bi,bj) = SFxtave(i,j,bi,bj)
69     & + DDTT * iceSaltFlx(i,j,bi,bj)
70     SICtave(i,j,bi,bj) = SICtave(i,j,bi,bj)
71     & + DDTT * seaIceMass(i,j,bi,bj)
72     MXLtave(i,j,bi,bj) = MXLtave(i,j,bi,bj)
73     & + DDTT * ocMxlD2cpl(i,j,bi,bj)
74     SSTtave(i,j,bi,bj) = SSTtave(i,j,bi,bj)
75     & + DDTT * SSTocn2cpl(i,j,bi,bj)
76     SSStave(i,j,bi,bj) = SSStave(i,j,bi,bj)
77     & + DDTT * SSSocn2cpl(i,j,bi,bj)
78     vSqtave(i,j,bi,bj) = vSqtave(i,j,bi,bj)
79     & + DDTT * vSqocn2cpl(i,j,bi,bj)
80     ENDDO
81     ENDDO
82    
83     C- Keep record of how much time has been integrated over
84     DO K=1,1
85     CPL_TimeAve(k,bi,bj)=CPL_TimeAve(k,bi,bj)+DDTT
86     ENDDO
87     #endif /* ALLOW_TIMEAVE */
88    
89     #endif /* COMPONENT_MODULE */
90    
91     RETURN
92     END

  ViewVC Help
Powered by ViewVC 1.1.22