Skip to content

Replacing endf c functions with package - #3101

Merged
paulromano merged 2 commits into
openmc-dev:developfrom
shimwell:replacing_endf_c_functions_with_package
Aug 14, 2024
Merged

Replacing endf c functions with package#3101
paulromano merged 2 commits into
openmc-dev:developfrom
shimwell:replacing_endf_c_functions_with_package

Conversation

@shimwell

Copy link
Copy Markdown
Member

Description

Paul made this fab python endf package. It includes the float_endf function that we have in openmc. One key difference is that the endf package is pip installable and makes use of pybind11 to link the cpp with the python side.

Removing the local float_endf and replacing it with the float_endf from this package would be really useful for making openmc pip installable. This would help avoid some of the complicated cython useage when making the wheel

Fixes # (issue)

Checklist

  • I have performed a self-review of my own code
  • I have followed the style guidelines for Python source files (if applicable)

@paulromano paulromano 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.

LGTM. And now that the endf package is on conda-forge, there should be no problems once we get to release time 👍

@paulromano
paulromano merged commit 3ef54ec into openmc-dev:develop Aug 14, 2024
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.

2 participants