29 |
C !LOCAL VARIABLES: |
C !LOCAL VARIABLES: |
30 |
INTEGER i,j,k,bi,bj |
INTEGER i,j,k,bi,bj |
31 |
|
|
32 |
C Zero out the qdiag array which accumulates during integration |
C-- Track diagnostics pkg activation status: |
33 |
|
_BEGIN_MASTER( myThid ) |
34 |
|
c IF ( diag_pkgStatus.NE.3 ) STOP |
35 |
|
diag_pkgStatus = 10 |
36 |
|
_END_MASTER( myThid ) |
37 |
|
|
38 |
|
C-- Zero out the qdiag array which accumulates during integration |
39 |
DO bj = myByLo(myThid), myByHi(myThid) |
DO bj = myByLo(myThid), myByHi(myThid) |
40 |
DO bi = myBxLo(myThid), myBxHi(myThid) |
DO bi = myBxLo(myThid), myBxHi(myThid) |
41 |
DO k = 1,numDiags |
DO k = 1,numDiags |
42 |
DO j = 1-Oly,sNy+Oly |
DO j = 1-OLy,sNy+OLy |
43 |
DO i = 1-Olx,sNx+Olx |
DO i = 1-OLx,sNx+OLx |
44 |
qdiag(i,j,k,bi,bj) = 0. _d 0 |
qdiag(i,j,k,bi,bj) = 0. _d 0 |
45 |
ENDDO |
ENDDO |
46 |
ENDDO |
ENDDO |
47 |
C Zero out the counters for the qdiag array |
C- Zero out the counters for the qdiag array |
48 |
ndiag(k,bi,bj) = 0 |
ndiag(k,bi,bj) = 0 |
49 |
ENDDO |
ENDDO |
50 |
DO k = 1,numlists |
DO k = 1,numLists |
51 |
C Zero out the index array for periodic averaging diagnostic |
C- Zero out the index array for periodic averaging diagnostic |
52 |
pdiag(k,bi,bj) = 0 |
pdiag(k,bi,bj) = 0 |
53 |
ENDDO |
ENDDO |
54 |
ENDDO |
ENDDO |
55 |
ENDDO |
ENDDO |
56 |
|
|
57 |
C Zero out the qSdiag array (statistics) which accumulates during integration |
C-- Zero out the qSdiag array (statistics) which accumulates during integration |
58 |
DO bj = myByLo(myThid), myByHi(myThid) |
DO bj = myByLo(myThid), myByHi(myThid) |
59 |
DO bi = myBxLo(myThid), myBxHi(myThid) |
DO bi = myBxLo(myThid), myBxHi(myThid) |
60 |
DO k = 1,diagSt_size |
DO k = 1,diagSt_size |