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

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

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


Revision 1.3 - (hide annotations) (download)
Mon May 24 15:15:10 1999 UTC (25 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint30, checkpoint34, branch-atmos-merge-zonalfilt, branch-atmos-merge-shapiro, branch-atmos-merge-phase4, checkpoint26, checkpoint24, checkpoint25, checkpoint27, branch-atmos-merge-phase3, branch-atmos-merge-phase2, checkpoint29, checkpoint28, branch-atmos-merge-phase5, branch-atmos-merge-phase7, branch-atmos-merge-phase1, branch-atmos-merge-phase6, branch-atmos-merge-start, checkpoint33, checkpoint32, checkpoint31, checkpoint23, branch-atmos-merge-freeze
Branch point for: branch-atmos-merge
Changes since 1.2: +1 -0 lines
Added IMPLICIT NONE.

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

  ViewVC Help
Powered by ViewVC 1.1.22