Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
This is a follow-on to #1205 and #1171. The calculation of the face normals assumed that the faces were oriented as CCW, whereas they were only asserted to be convex. I've fixed it by testing the orientation and reversing the order of the polygons if needed.
This is a follow-on to #1205 and #1171. The calculation of the face normals assumed that the faces were oriented as CCW, whereas they were only asserted to be convex. I've fixed it by testing the orientation and reversing the order of the polygons if needed.