INFN homepage
FLUKA: RAW Previous Index Next

8.2.4.8} Right Angle Wedge. Code: WED or RAW

      A WED is the half of a BOX (see), cut by a plane passing through
      its centre and through four corners. Its use, like that of the BOX,
      is now mostly superseded by the availability of infinite planes
      (XYP, XZP, YZP and PLA).
      A WED is defined by 12 numbers:
      V_x, V_y, V_z (coordinates of one of rectangular corners), H1_x,
      H1_y, H1_z, H2_x, H2_y, H2_z, H3_x, H3_y, H3_z (x, y and z
      components of three mutually PERPENDICULAR vectors corresponding
      to the height, width and length of the wedge). Note that it is the
      user's responsibility to ensure perpendicularity. This is best attained
      if the user has chosen high-accuracy input fixed format (IDBG = -10 or
      -100 in the CG Title line, see above), or free format, and the value of
      each vector component is expressed with the largest available number of
      significant digits.
      The face defined by vectors 1 and 3 and that defined by vectors 2
      and 3 are rectangular; the 2 faces defined by vectors 1 and 2 are
      triangular; the fifth face is rectangular with two edges parallel
      to vector 3 and two edges parallel to the hypotenuse of the
      triangle made by vectors 1 and 2.
      A WED definition extends over 2 lines in default fixed format, or over
      4 lines in high-accuracy body fixed format.

      Example in default fixed format:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7..
WED 97 0.0 0.0 0.0 7.0710678 7.0710678 0.0 -14.142136 14.142136 0.0 0.0 0.0 30.0
* (the bottom half of a parallelepiped with a corner on the origin,
* with edges 10, 20 and 30 cm long, rotated counterclockwise by 45
* degrees in the x-y plane)
The same example in high-accuracy body fixed format:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.
WED 97 0.0 0.0 0.0 7.071067811865475 7.071067811865475 0.0 -14.14213562373095 14.14213562373095 0.0 0.0 0.0 30.0 The same, in free format: WED halfbox1 0.0 0.0 0.0 7.071067811865475 7.071067811865475 0.0 -14.14213562373095 14.14213562373095 0.0 0.0 0.0 30.0

Previous Index Next