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

DAGMC Updates/Fixes #1604

Merged
merged 4 commits into from
Jul 8, 2020
Merged

Conversation

pshriwise
Copy link
Contributor

This PR contains a fix for implicit complement material assignment in DAGMC and allows all material assignments to rely on a class dedicated to DAGMC metadata management by relaxing the restriction that a density be supplied along with a material assignment in the DAGMC .h5m file. The relevant changes to DAGMC to allow that can be found here.

Similar updates to how boundary conditions are found have been made as well (corresponding changes in DAGMC to support the variety of boundary conditions in OpenMC can be found here).

These changes make the code for DAGMC setup cleaner, avoiding a lot of duplicate queries for property information and removal of error code checks for calls directly into the DAGMC interface.


The final update here is a change from the use of blas/lapack to eigen3 when building DAGMC. Eigen3 is a C++ template library, making a theoretical build of DAGMC on Windows viable. It is rapidly becoming the default build for DAGMC and it's best that we go ahead and reflect that change in our CI as well.

Copy link
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @pshriwise!

@paulromano paulromano merged commit e9d4b9a into openmc-dev:develop Jul 8, 2020
@pshriwise pshriwise deleted the dagmc_material_updates branch July 8, 2020 14:39
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