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

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

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


Revision 1.3 - (hide 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.2: +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 cnh 1.3 C $Header: $
2     C $Name: $
3 adcroft 1.1 #include "CPP_EEOPTIONS.h"
4    
5     CStartofinterface
6     SUBROUTINE TIMEAVER_INI_XY( fldtave, bi, bj, myThid )
7     C /==========================================================\
8     C | SUBROUTINE TIMEAVER_INI_XY |
9     C | o Initialize 2D array |
10     C \==========================================================/
11 adcroft 1.2 IMPLICIT NONE
12 adcroft 1.1
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, myThid
22     _RL fldtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,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     DO j=1,sNy
33     DO i=1,sNx
34     fldtave(i,j,bi,bj) = 0. _d 0
35     ENDDO
36     ENDDO
37     C ENDDO
38     C ENDDO
39    
40     RETURN
41     END

  ViewVC Help
Powered by ViewVC 1.1.22