Status of BugThis bug has been corrected in the latest unix(Jan 2, 1997 version 3) and PC distributions of of the EGS4 code. |
On line 274 of xyzp.mortran:
. . . DO N=2,$MXREG [MED(N)=1;] "I.E. EVERYTHING THE FIRST MEDIUM " "CAN BE CHANGED BELOW ON A REGION BY REGION BASIS " . . .This should be changed to:
. . . MED(1) = 0; "Set external volume to vacuum" DO N=2,$MXREG [MED(N)=1;] "I.E. EVERYTHING THE FIRST MEDIUM " "CAN BE CHANGED BELOW ON A REGION BY REGION BASIS " . . .Even with the -static switch thrown (WHICH ALWAYS MUST BE DONE WITH EGS!), some compilers do not zero elements of common areas and this can cause problems with the HOWNEAR routine trying to determine distances to boundaries from outside the target volume, which it was not designed to do.
This bug alert was posted on the EGS listserver (EGS4-L) by
Alex F Bielajew
30-OCT-1995
Further questions regarding the aforementioned bug should be directed to
Alex.
last updated 09/28/01