/[MITgcm]/MITgcm/pkg/timeave/timeave_cumul_1k.F
ViewVC logotype

Contents of /MITgcm/pkg/timeave/timeave_cumul_1k.F

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


Revision 1.4 - (show annotations) (download)
Fri Aug 19 22:50:26 2005 UTC (18 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57s_post, checkpoint58b_post, checkpoint57y_post, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint58y_post, checkpoint58t_post, checkpoint57t_post, checkpoint57v_post, checkpoint60, checkpoint61, checkpoint62, checkpoint57x_post, checkpoint58w_post, checkpoint57y_pre, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58e_post, checkpoint58m_post, checkpoint58r_post, checkpoint58n_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpint57u_post, checkpoint57q_post, mitgcm_mapl_00, checkpoint58k_post, checkpoint58v_post, checkpoint58l_post, checkpoint61f, checkpoint58g_post, checkpoint58x_post, checkpoint61n, checkpoint59j, checkpoint58h_post, checkpoint58j_post, checkpoint61q, checkpoint61z, checkpoint57w_post, checkpoint61e, checkpoint58i_post, checkpoint58c_post, checkpoint58u_post, checkpoint58s_post, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61x, checkpoint61y
Changes since 1.3: +4 -4 lines
Move deltaT to deltaTloc to avoid conflict with PARAMS.h

1 C $Header: /u/gcmpack/MITgcm/pkg/timeave/timeave_cumul_1k.F,v 1.3 2003/12/05 02:27:58 jmc Exp $
2 C $Name: $
3 #include "CPP_EEOPTIONS.h"
4
5 CStartofinterface
6 SUBROUTINE TIMEAVE_CUMUL_1K( fld, fldtave, deltaTloc,
7 & bi, bj, K, myThid )
8 C /==========================================================\
9 C | SUBROUTINE TIMEAVE_CUMUL_1K |
10 C | o Sum over time a single array and a single level |
11 C | (replace "timeaver_1fld_xyz" and use the same argments) |
12 C \==========================================================/
13 IMPLICIT NONE
14
15 C == Global variables ===
16 #include "SIZE.h"
17 #include "EEPARAMS.h"
18
19 C == Routine arguments ==
20 C myThid - Thread number for this instance of the routine.
21 C fld - Input Field
22 C fldtave - time averaged Field
23 _RL fld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
24 _RL fldtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
25 _RL deltaTloc
26 INTEGER bi, bj, K, myThid
27
28 CEndofinterface
29
30 C == Local variables ==
31 C i,j,k,bi,bj - Loop counters
32 INTEGER i, j
33
34 C DO bj = myByLo(myThid), myByHi(myThid)
35 C DO bi = myBxLo(myThid), myBxHi(myThid)
36 C DO K=1,Nr
37 DO j=1,sNy
38 DO i=1,sNx
39 fldtave(i,j,K,bi,bj)=
40 & fldtave(i,j,K,bi,bj)+fld(i,j,K,bi,bj)*deltaTloc
41 ENDDO
42 ENDDO
43 C ENDDO
44 C ENDDO
45 C ENDDO
46
47 RETURN
48 END

  ViewVC Help
Powered by ViewVC 1.1.22