You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create an openmc.model.CylinderSector that is not located at the origin, the planes that define the sector do not appear to intersect the center.
Reading the code it seems like this issue is this line and the next few. It seems to me that the assumption with these planes is that they are going through the origin and they are parallel to the Z-axis. I tried to read through #2027 to better understand the logic, and there doesn't seem to be any discussion of this. @yardasol, am I missing something?
Bug Description
If you create an
openmc.model.CylinderSector
that is not located at the origin, the planes that define the sector do not appear to intersect the center.Reading the code it seems like this issue is this line and the next few. It seems to me that the assumption with these planes is that they are going through the origin and they are parallel to the Z-axis. I tried to read through #2027 to better understand the logic, and there doesn't seem to be any discussion of this. @yardasol, am I missing something?
Steps to Reproduce
This leads to errors shown in #3015.
The cylinders are properly located. However it looks like the planes go through the origin. This can be easily confirmed:
Therefore, the plane does go through the origin.
Environment
The text was updated successfully, but these errors were encountered: