18 |
C | This reduces the amount of total work, total memory | |
C | This reduces the amount of total work, total memory | |
19 |
C | and therefore execution time and is generally a good | |
C | and therefore execution time and is generally a good | |
20 |
C | idea. | |
C | idea. | |
|
C | We also think lower taxes are a good idea but we doubt | |
|
|
C | whether we'll ever get them. | |
|
21 |
C \==========================================================/ |
C \==========================================================/ |
22 |
IMPLICIT NONE |
IMPLICIT NONE |
23 |
|
|
67 |
C-- Calculate tracer cell face open areas |
C-- Calculate tracer cell face open areas |
68 |
DO j=jMin,jMax |
DO j=jMin,jMax |
69 |
DO i=iMin,iMax |
DO i=iMin,iMax |
70 |
xA(i,j) = _dyG(i,j,bi,bj)*drF(k)*_hFacW(i,j,k,bi,bj) |
xA(i,j) = _dyG(i,j,bi,bj) |
71 |
yA(i,j) = _dxG(i,j,bi,bj)*drF(k)*_hFacS(i,j,k,bi,bj) |
& *drF(k)*_hFacW(i,j,k,bi,bj) |
72 |
|
yA(i,j) = _dxG(i,j,bi,bj) |
73 |
|
& *drF(k)*_hFacS(i,j,k,bi,bj) |
74 |
ENDDO |
ENDDO |
75 |
ENDDO |
ENDDO |
76 |
|
|
87 |
C-- tracer cell face *above* this level. |
C-- tracer cell face *above* this level. |
88 |
DO j=jMin,jMax |
DO j=jMin,jMax |
89 |
DO i=iMin,iMax |
DO i=iMin,iMax |
90 |
rTrans(i,j) = uTrans(i,j)*recip_rkFac-uTrans(i+1,j)*recip_rkFac |
rTrans(i,j) = |
91 |
& +vTrans(i,j)*recip_rkFac-vTrans(i,j+1)*recip_rkFac |
& uTrans(i,j)*recip_rkFac-uTrans(i+1,j)*recip_rkFac |
92 |
& +rTrans(i,j) |
& +vTrans(i,j)*recip_rkFac-vTrans(i,j+1)*recip_rkFac |
93 |
|
& +rTrans(i,j) |
94 |
ENDDO |
ENDDO |
95 |
ENDDO |
ENDDO |
96 |
|
|
107 |
maskC(i,j) = 1. |
maskC(i,j) = 1. |
108 |
if (_hFacC(i,j,k,bi,bj).eq.0.) maskC(i,j)=0. |
if (_hFacC(i,j,k,bi,bj).eq.0.) maskC(i,j)=0. |
109 |
maskUp(i,j) = 1. |
maskUp(i,j) = 1. |
110 |
if (_hFacC(i,j,k,bi,bj).eq.0. .or. TOP_LAYER ) maskUp(i,j)=0. |
if (_hFacC(i,j,k,bi,bj).eq.0. .or. TOP_LAYER ) |
111 |
|
& maskUp(i,j)=0. |
112 |
ENDDO |
ENDDO |
113 |
ENDDO |
ENDDO |
114 |
|
|