Updates to type alias for RayTracer and double-down namespace. - #786
Merged
Conversation
Member
|
+1 for merging this in before the new DAGMC release |
Member
gonuke
requested changes
Nov 10, 2021
gonuke
left a comment
Member
There was a problem hiding this comment.
Just one little design query..
| std::string comp_name; | ||
| }; | ||
|
|
||
| class RayTracingInterface; |
Member
There was a problem hiding this comment.
Is it possible to forward declare this in a namespace to avoid moving the include here? Not sure if that works, but it would be good to avoid includes in headers if possible.
… in DAGMC header. Thanks @gonuke!
Member
Author
Member
Member
|
I can't tell if @shimwell's concerns should block merging or not? |
Member
No concerns about the PR over here. I'm keen to merge ASAP so I can get a few workflows running again |
shimwell
approved these changes
Nov 10, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added a namespace to double-down in pshriwise/double-down#29 to protect from clashes of commonly-used class names (
Vec3f, etc.) and constants with other packages. These are breaking changes with DAGMC that are resolved in this PR. I figured it would be good to get this relatively small issue taken care of before our next DAGMC release.To ease potential concerns about any continued patterns along these lines, I'm about to do an initial release of double-down. No further breaking changes should happen before that, meaning that DAGMC can rely on specific versions of dd for testing going forward.
Description
Movement of double-down includes from
DagMC.cpptoDagMC.hpp.Motivation and Context
To maintain compatibility with the latest version of double-down.