| 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 |
|
| 10 |
C == Global variables === |
| 11 |
#include "SIZE.h" |
| 12 |
#include "EEPARAMS.h" |
| 13 |
#include "AVER.h" |
| 14 |
|
| 15 |
C == Routine arguments == |
| 16 |
C myThid - Thread number for this instance of the routine. |
| 17 |
C fldtave - time averaged Field |
| 18 |
INTEGER bi, bj, K, myThid |
| 19 |
_RL fldtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
| 20 |
|
| 21 |
CEndofinterface |
| 22 |
|
| 23 |
C == Local variables == |
| 24 |
C i,j,k,bi,bj - Loop counters |
| 25 |
INTEGER i, j |
| 26 |
|
| 27 |
C DO bj = myByLo(myThid), myByHi(myThid) |
| 28 |
C DO bi = myBxLo(myThid), myBxHi(myThid) |
| 29 |
C DO k=1,Nr |
| 30 |
DO j=1,sNy |
| 31 |
DO i=1,sNx |
| 32 |
fldtave(i,j,k,bi,bj) = 0. _d 0 |
| 33 |
ENDDO |
| 34 |
ENDDO |
| 35 |
C ENDDO |
| 36 |
C ENDDO |
| 37 |
C ENDDO |
| 38 |
|
| 39 |
RETURN |
| 40 |
END |