173 |
itdkey = 1 |
itdkey = 1 |
174 |
#endif /* ALLOW_AUTODIFF_TAMC */ |
#endif /* ALLOW_AUTODIFF_TAMC */ |
175 |
|
|
|
C-- Set up work arrays with valid (i.e. not NaN) values |
|
|
C These inital values do not alter the numerical results. They |
|
|
C just ensure that all memory references are to valid floating |
|
|
C point numbers. This prevents spurious hardware signals due to |
|
|
C uninitialised but inert locations. |
|
|
DO j=1-OLy,sNy+OLy |
|
|
DO i=1-OLx,sNx+OLx |
|
|
xA(i,j) = 0. _d 0 |
|
|
yA(i,j) = 0. _d 0 |
|
|
uTrans(i,j) = 0. _d 0 |
|
|
vTrans(i,j) = 0. _d 0 |
|
|
rhok (i,j) = 0. _d 0 |
|
|
phiSurfX(i,j) = 0. _d 0 |
|
|
phiSurfY(i,j) = 0. _d 0 |
|
|
ENDDO |
|
|
ENDDO |
|
|
|
|
|
|
|
176 |
#ifdef ALLOW_AUTODIFF_TAMC |
#ifdef ALLOW_AUTODIFF_TAMC |
177 |
C-- HPF directive to help TAMC |
C-- HPF directive to help TAMC |
178 |
CHPF$ INDEPENDENT |
CHPF$ INDEPENDENT |
203 |
& + act4*max1*max2*max3 |
& + act4*max1*max2*max3 |
204 |
#endif /* ALLOW_AUTODIFF_TAMC */ |
#endif /* ALLOW_AUTODIFF_TAMC */ |
205 |
|
|
206 |
C-- Set up work arrays that need valid initial values |
C-- Set up work arrays with valid (i.e. not NaN) values |
207 |
|
C These inital values do not alter the numerical results. They |
208 |
|
C just ensure that all memory references are to valid floating |
209 |
|
C point numbers. This prevents spurious hardware signals due to |
210 |
|
C uninitialised but inert locations. |
211 |
|
|
212 |
DO j=1-OLy,sNy+OLy |
DO j=1-OLy,sNy+OLy |
213 |
DO i=1-OLx,sNx+OLx |
DO i=1-OLx,sNx+OLx |
214 |
|
xA(i,j) = 0. _d 0 |
215 |
|
yA(i,j) = 0. _d 0 |
216 |
|
uTrans(i,j) = 0. _d 0 |
217 |
|
vTrans(i,j) = 0. _d 0 |
218 |
|
rhok (i,j) = 0. _d 0 |
219 |
|
rhoKM1 (i,j) = 0. _d 0 |
220 |
|
phiSurfX(i,j) = 0. _d 0 |
221 |
|
phiSurfY(i,j) = 0. _d 0 |
222 |
rTrans (i,j) = 0. _d 0 |
rTrans (i,j) = 0. _d 0 |
223 |
fVerT (i,j,1) = 0. _d 0 |
fVerT (i,j,1) = 0. _d 0 |
224 |
fVerT (i,j,2) = 0. _d 0 |
fVerT (i,j,2) = 0. _d 0 |
226 |
fVerS (i,j,2) = 0. _d 0 |
fVerS (i,j,2) = 0. _d 0 |
227 |
fVerTr1(i,j,1) = 0. _d 0 |
fVerTr1(i,j,1) = 0. _d 0 |
228 |
fVerTr1(i,j,2) = 0. _d 0 |
fVerTr1(i,j,2) = 0. _d 0 |
|
rhoKM1 (i,j) = 0. _d 0 |
|
229 |
ENDDO |
ENDDO |
230 |
ENDDO |
ENDDO |
231 |
|
|