/[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.5 - (show annotations) (download)
Sun Jan 3 23:49:00 2010 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
these 2 S/R are not called anywhere.

1 C $Header: /u/gcmpack/MITgcm/pkg/timeave/timeave_cumul_1k.F,v 1.4 2005/08/19 22:50:26 heimbach 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