Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix volume calculation IO format docs and sample_external_source bug #2713

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

paulromano
Copy link
Contributor

Description

This PR updates the IO format documentation for <volume_calc> (closes #2699) and also fixes a small bug whereby if you try to call openmc.lib.sample_external_source without having called openmc.lib.init, you get a segfault.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format 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 requested a review from gridley September 27, 2023 12:13
Copy link
Contributor

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

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

Thanks @shimwell! These changes look good to me.

Copy link
Contributor

@gridley gridley left a comment

Choose a reason for hiding this comment

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

Very nice, thanks for updating that! Sometimes, shamefully, I edit my XML by hand. It helps for times like that. 😆

@gridley gridley merged commit fd91729 into openmc-dev:develop Sep 27, 2023
@paulromano paulromano deleted the sample-external-source-bug branch September 27, 2023 20:58
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.

<volume_calc> settings.xml element file format outdated
3 participants