Skip to content

Adding per m3 to material functions#3912

Merged
paulromano merged 3 commits intoopenmc-dev:developfrom
shimwell:adding-w-per-m3-as-decay-heat-option
Apr 3, 2026
Merged

Adding per m3 to material functions#3912
paulromano merged 3 commits intoopenmc-dev:developfrom
shimwell:adding-w-per-m3-as-decay-heat-option

Conversation

@shimwell
Copy link
Copy Markdown
Member

@shimwell shimwell commented Apr 2, 2026

Description

A tiny PR for people who would like to use SI units meters on outputs instead of cm.

get_decay_photon_energy, decay heat, get_activity now accept per m3 in addition to the per cm3

No breaking changes, purely additive

Fixes # (issue)

Checklist

  • I have performed a self-review of my own code
    ~ - [ ] I have run clang-format (version 18) 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)

@paulromano paulromano self-requested a review as a code owner April 2, 2026 23:04
@paulromano paulromano enabled auto-merge (squash) April 2, 2026 23:05
@paulromano paulromano merged commit 9ff5049 into openmc-dev:develop Apr 3, 2026
16 checks passed
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.

3 participants