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

Contents 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.2 - (show annotations) (download)
Wed Apr 6 18:44:12 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint57g_post, checkpoint58r_post, checkpoint57i_post, checkpoint57y_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint58q_post, checkpoint58j_post, checkpoint59a, checkpoint57r_post, checkpoint59, checkpoint58, 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, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint57j_post, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post
Changes since 1.1: +1 -4 lines
use baseTime as time origin ; DIFF_BASE_MULTIPLE replaces DIFFERENT_MULTIPLE

1 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/ocn_cpl_diags.F,v 1.1 2004/05/21 19:39:18 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 C == Routine arguments ==
23 C bi,bj - Tile index
24 C myTime - Current time of simulation ( s )
25 C myThid - Number of this instance of the routine
26 INTEGER bi, bj
27 _RL myTime
28 INTEGER myThid
29 CEndOfInterface
30
31 #ifdef COMPONENT_MODULE
32
33 C == Local variables ==
34 INTEGER I,J,K
35 _RL DDTT
36
37 #ifdef ALLOW_TIMEAVE
38
39 DDTT = deltaTclock
40
41 DO J=1,sNy
42 DO I=1,sNx
43 SLPtave(i,j,bi,bj) = SLPtave(i,j,bi,bj)
44 & + DDTT * atmSLPr(i,j,bi,bj)
45 HFtave(i,j,bi,bj) = HFtave(i,j,bi,bj)
46 & + DDTT * HeatFlux(i,j,bi,bj)
47 QSWtave(i,j,bi,bj) = QSWtave(i,j,bi,bj)
48 & + DDTT * qShortWave(i,j,bi,bj)
49 c QLTtave(i,j,bi,bj) = QLTtave(i,j,bi,bj)
50 c & + DDTT * qLatent(i,j,bi,bj)
51 c QSNtave(i,j,bi,bj) = QSNtave(i,j,bi,bj)
52 c & + DDTT * qSensible(i,j,bi,bj)
53 c QLWtave(i,j,bi,bj) = QLWtave(i,j,bi,bj)
54 c & + DDTT * qLongWave(i,j,bi,bj)
55 c UGtave(i,j,bi,bj) = UGtave(i,j,bi,bj)
56 c & + DDTT * uVelGround(i,j,bi,bj)
57 c VGtave(i,j,bi,bj) = VGtave(i,j,bi,bj)
58 c & + DDTT * vVelGround(i,j,bi,bj)
59 TXtave(i,j,bi,bj) = TXtave(i,j,bi,bj)
60 & + DDTT * tauX(i,j,bi,bj)
61 TYtave(i,j,bi,bj) = TYtave(i,j,bi,bj)
62 & + DDTT * tauY(i,j,bi,bj)
63 FWtave(i,j,bi,bj) = FWtave(i,j,bi,bj)
64 & + DDTT * FWFlux(i,j,bi,bj)
65 SFxtave(i,j,bi,bj) = SFxtave(i,j,bi,bj)
66 & + DDTT * iceSaltFlx(i,j,bi,bj)
67 SICtave(i,j,bi,bj) = SICtave(i,j,bi,bj)
68 & + DDTT * seaIceMass(i,j,bi,bj)
69 MXLtave(i,j,bi,bj) = MXLtave(i,j,bi,bj)
70 & + DDTT * ocMxlD2cpl(i,j,bi,bj)
71 SSTtave(i,j,bi,bj) = SSTtave(i,j,bi,bj)
72 & + DDTT * SSTocn2cpl(i,j,bi,bj)
73 SSStave(i,j,bi,bj) = SSStave(i,j,bi,bj)
74 & + DDTT * SSSocn2cpl(i,j,bi,bj)
75 vSqtave(i,j,bi,bj) = vSqtave(i,j,bi,bj)
76 & + DDTT * vSqocn2cpl(i,j,bi,bj)
77 ENDDO
78 ENDDO
79
80 C- Keep record of how much time has been integrated over
81 DO K=1,1
82 CPL_TimeAve(k,bi,bj)=CPL_TimeAve(k,bi,bj)+DDTT
83 ENDDO
84 #endif /* ALLOW_TIMEAVE */
85
86 #endif /* COMPONENT_MODULE */
87
88 RETURN
89 END

  ViewVC Help
Powered by ViewVC 1.1.22