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

Contents of /MITgcm/pkg/timeave/timeave_cumul_fc.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_fc.F,v 1.3 2003/12/05 02:27:59 jmc Exp $
2 C $Name: $
3 #include "CPP_EEOPTIONS.h"
4
5 CStartofinterface
6 SUBROUTINE TIMEAVE_CUMUL_FC(
7 O fldtave,
8 I fld, Ksize, deltaTloc,
9 I bi, bj, myThid )
10 C /==========================================================\
11 C | SUBROUTINE TIMEAVE_CUMUL_FC |
12 C | o Sum over time a single RS array into a RL array |
13 C \==========================================================/
14 IMPLICIT NONE
15
16 C == Global variables ===
17 #include "SIZE.h"
18 #include "EEPARAMS.h"
19
20 C == Routine arguments ==
21 C myThid - Thread number for this instance of the routine.
22 C fldtave - time averaged Field
23 C fld - Input Field
24 C Ksize - 3rd dimension of local arrays (Input and Output fields)
25 INTEGER Ksize
26 _RS fld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Ksize,nSx,nSy)
27 _RL fldtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Ksize,nSx,nSy)
28 _RL deltaTloc
29 INTEGER bi, bj, myThid
30
31 CEndofinterface
32
33 C == Local variables ==
34 C i,j,k,bi,bj - Loop counters
35 INTEGER i, j, k
36
37 C DO bj = myByLo(myThid), myByHi(myThid)
38 C DO bi = myBxLo(myThid), myBxHi(myThid)
39 DO k=1,Ksize
40 DO j=1,sNy
41 DO i=1,sNx
42 fldtave(i,j,k,bi,bj) = fldtave(i,j,k,bi,bj)
43 & + deltaTloc*fld(i,j,k,bi,bj)
44 ENDDO
45 ENDDO
46 ENDDO
47 C ENDDO
48 C ENDDO
49
50 RETURN
51 END

  ViewVC Help
Powered by ViewVC 1.1.22