/[MITgcm]/MITgcm/diags/src/timeaver_inter_xy.F
ViewVC logotype

Contents of /MITgcm/diags/src/timeaver_inter_xy.F

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


Revision 1.6 - (show annotations) (download)
Wed Feb 14 22:25:20 2001 UTC (25 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
FILE REMOVED
routines not actually called.

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

  ViewVC Help
Powered by ViewVC 1.1.22