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

Refactor types to reduce duplication and cyclic dependencies #1327

Merged
merged 4 commits into from
Jul 21, 2024

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Jul 20, 2024

While rearranging some IO subroutines I inadvertently caused a circular dependency between collection/ldg/span/quantity/opaqueID. This moves all LDG related definitions and specializations to the "most downstream" compared to the primary implementation. I also reduced some type duplication in geocel/orange by defining Real2/Size2 in geocel/Types.hh. This also fixes an inadvertent find/replace error in GeoParamsInterface in #1000 .

@sethrj sethrj added core Software engineering infrastructure minor Minor internal changes or fixes labels Jul 20, 2024
@sethrj sethrj requested a review from esseivaju July 20, 2024 16:41
src/corecel/math/Quantity.hh Outdated Show resolved Hide resolved
src/corecel/OpaqueId.hh Outdated Show resolved Hide resolved
src/corecel/data/detail/LdgIteratorImpl.hh Outdated Show resolved Hide resolved
src/corecel/data/detail/LdgIteratorImpl.hh Show resolved Hide resolved
src/geocel/Types.hh Show resolved Hide resolved
@sethrj sethrj requested a review from esseivaju July 21, 2024 00:32
Copy link
Contributor

@esseivaju esseivaju left a comment

Choose a reason for hiding this comment

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

LGTM!

@sethrj sethrj merged commit 132befc into celeritas-project:develop Jul 21, 2024
29 checks passed
@sethrj sethrj deleted the rearrange-types branch July 21, 2024 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Software engineering infrastructure minor Minor internal changes or fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants