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

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

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


Revision 1.4 - (show annotations) (download)
Sun Feb 4 14:38:41 2001 UTC (23 years, 4 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint35
Changes since 1.3: +2 -0 lines
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!

1 C $Header: $
2 C $Name: $
3 #include "CPP_EEOPTIONS.h"
4
5 CStartofinterface
6 SUBROUTINE TIMEAVER_INI_XYZ( fldtave, bi, bj, K, myThid )
7 C /==========================================================\
8 C | SUBROUTINE TIMEAVER_INI_XYZ |
9 C | o Initialize 3D array |
10 C \==========================================================/
11 IMPLICIT NONE
12
13 C == Global variables ===
14 #include "SIZE.h"
15 #include "EEPARAMS.h"
16 #include "AVER.h"
17
18 C == Routine arguments ==
19 C myThid - Thread number for this instance of the routine.
20 C fldtave - time averaged Field
21 INTEGER bi, bj, K, myThid
22 _RL fldtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
23
24 CEndofinterface
25
26 C == Local variables ==
27 C i,j,k,bi,bj - Loop counters
28 INTEGER i, j
29
30 C DO bj = myByLo(myThid), myByHi(myThid)
31 C DO bi = myBxLo(myThid), myBxHi(myThid)
32 C DO k=1,Nr
33 DO j=1,sNy
34 DO i=1,sNx
35 fldtave(i,j,k,bi,bj) = 0. _d 0
36 ENDDO
37 ENDDO
38 C ENDDO
39 C ENDDO
40 C ENDDO
41
42 RETURN
43 END

  ViewVC Help
Powered by ViewVC 1.1.22