197 |
ENDIF |
ENDIF |
198 |
C |
C |
199 |
DO I = 1,NPLA |
DO I = 1,NPLA |
200 |
NN = 1 |
C NN = 1 |
201 |
C NN = 0 |
NN = 0 |
202 |
C IF (M.EQ.2) NN = 1 |
C IF (M.EQ.2) NN = 1 |
203 |
IF (MOD(I,2).EQ.NN) THEN |
IF (MOD(I,2).EQ.NN) THEN |
204 |
IF (REVERSE.EQ.0) THEN |
IF (REVERSE.EQ.0) THEN |
|
SHIFT = +0.5 |
|
|
ELSE |
|
205 |
SHIFT = -0.5 |
SHIFT = -0.5 |
206 |
|
ELSE |
207 |
|
SHIFT = +0.5 |
208 |
ENDIF |
ENDIF |
209 |
ELSE |
ELSE |
210 |
IF (REVERSE.EQ.0) THEN |
IF (REVERSE.EQ.0) THEN |
|
SHIFT = -0.5 |
|
|
ELSE |
|
211 |
SHIFT = +0.5 |
SHIFT = +0.5 |
212 |
|
ELSE |
213 |
|
SHIFT = -0.5 |
214 |
ENDIF |
ENDIF |
215 |
ENDIF |
ENDIF |
216 |
C |
C |
217 |
IF (M.EQ.1) THEN |
IF (M.EQ.1) THEN |
218 |
DISTX = PIANO(I) - 5.81 |
DISTX = PIANO(I) - 5.81 |
219 |
|
c print *,'C X PLANE I= ',I,' Z = ',DISTX+ZALIG |
220 |
Y(I) = DISTX * TG(1) + CX |
Y(I) = DISTX * TG(1) + CX |
221 |
BAR(M,I) = Y(I) |
BAR(M,I) = Y(I) |
222 |
CBAR(M,I) = (Y(I) - XALIG)/10. |
CBAR(M,I) = (Y(I) - XALIG)/10. |
223 |
C |
C |
224 |
ELSE |
ELSE |
225 |
DISTY = PIANO(I) |
DISTY = PIANO(I) |
226 |
|
c print *,'C Y PLANE I= ',I,' Z = ',DISTY+ZALIG |
227 |
YY(I) = DISTY * TG(2) + CY |
YY(I) = DISTY * TG(2) + CY |
228 |
BAR(M,I) = YY(I) |
BAR(M,I) = YY(I) |
229 |
CBAR(M,I) = (-YALIG + YY(I))/10. |
CBAR(M,I) = (-YALIG + YY(I))/10. |
246 |
C |
C |
247 |
C CALCULATE ELEN AND SELEN |
C CALCULATE ELEN AND SELEN |
248 |
C |
C |
249 |
ELEN = 40.82 * QTOT * 1.06 * 1E-4 |
c ELEN = 40.82 * QTOT * 1.06 * 1E-4 |
250 |
|
ELEN = 260. * QTOT |
251 |
IF (ELEN.GT.0.) THEN |
IF (ELEN.GT.0.) THEN |
252 |
SELEN = ELEN * (0.01183 + 0.121 / SQRT(ELEN)) |
SELEN = ELEN * (0.01183 + 0.121 / SQRT(ELEN)) |
253 |
ELSE |
ELSE |