Skip to content

update units for flux - #3441

Merged
jtramm merged 1 commit into
openmc-dev:developfrom
aprilnovak:flux-units
Jun 12, 2025
Merged

jtramm merged 1 commit into
openmc-dev:developfrom
aprilnovak:flux-units

Conversation

@aprilnovak

Copy link
Copy Markdown
Contributor

Closes #3440

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@jtramm
jtramm requested review from Copilot and jtramm June 12, 2025 15:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the flux units in the documentation to use 1/(cm² s) consistently. The key changes include removal of the note about steady state flux units in the random ray solver and standardization of the flux unit across the documentation.

Comments suppressed due to low confidence (1)

docs/source/methods/random_ray.rst:112

  • The updated documentation now consistently uses 1/(cm² s) for flux units by removing the steady state explanation. Please ensure the accompanying text clearly states whether this change reflects an update in the underlying solver's behavior or is solely a documentation revision.
:math:`1/(\text{cm}^{2} \text{s})`

@jtramm jtramm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aprilnovak for correcting the units here (and for taking the time to convince me of my folly!).

@jtramm
jtramm enabled auto-merge (squash) June 12, 2025 15:15
@jtramm
jtramm merged commit 6c9c696 into openmc-dev:develop Jun 12, 2025
@aprilnovak
aprilnovak deleted the flux-units branch June 12, 2025 23:32
yardasol pushed a commit to yardasol/openmc that referenced this pull request Dec 25, 2025
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Units for flux in random ray

3 participants