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
Right now, the CylindricalMesh class constrains the phi argument to be between 0 and 2π. If the user wants to tally a segment in the phi angle that covers ϕ=0, it's currently not possible. For example, the phi bin [-π/4, π/4] would be rejected because the first angle is less than 0. In addition, the bin [7π/4, π/4] wouldn't work because it expects it to be monotonically increasing.
To allow this use case, we could potentially allow any set of monotonically increasing angles within [-2π, 2π] as long as the min and max values are within 2π of each other. So for example, the range could be between [-2π, 0], [-π, π], [-π/2, 3π/2], etc. This would require changes on the C++ side to normalize the phi range to the range that the user specified (currently it always forces values onto the interval [0, 2π]).
Right now, the
CylindricalMesh
class constrains the phi argument to be between 0 and 2π. If the user wants to tally a segment in the phi angle that covers ϕ=0, it's currently not possible. For example, the phi bin [-π/4, π/4] would be rejected because the first angle is less than 0. In addition, the bin [7π/4, π/4] wouldn't work because it expects it to be monotonically increasing.To allow this use case, we could potentially allow any set of monotonically increasing angles within [-2π, 2π] as long as the min and max values are within 2π of each other. So for example, the range could be between [-2π, 0], [-π, π], [-π/2, 3π/2], etc. This would require changes on the C++ side to normalize the phi range to the range that the user specified (currently it always forces values onto the interval [0, 2π]).
Thanks to @spasmann for bring this up to me.
The text was updated successfully, but these errors were encountered: