openmc icon indicating copy to clipboard operation
openmc copied to clipboard

added option to have cylindrical sources with generally directed symmetry axis

Open GuySten opened this issue 6 months ago • 0 comments

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)

GuySten avatar Jun 27 '25 03:06 GuySten