openmc
openmc copied to clipboard
added option to have cylindrical sources with generally directed symmetry axis
Description
This pr generalize CylindricalIndependent to support symmetry axis in every direction and not only in z direction.
This pr also implement cylindrical_uniform and ring_uniform to generate uniform spatial distributions over cylinders and rings in a similar way to spherical_uniform.
Checklist
- [x] I have performed a self-review of my own code
- [x] I have run clang-format (version 15) on any C++ source files (if applicable)
- [x] I have followed the style guidelines for Python source files (if applicable)
- [x] I have made corresponding changes to the documentation (if applicable)
- [x] I have added tests that prove my fix is effective or that my feature works (if applicable)