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 of Single_crystal reuse optimization #1726

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mads-bertelsen
Copy link
Contributor

Fixed issue in Single_crystal where neutrons with similar initial velocity vector would reuse wrong data from previous neutron. Allocated a seperate data structure for the initial search for reflections which avoids this issue. Fixed a test to be sensitive to such an issue in the future.

Suggestions on how to make this GPU compatible have been made, so this PR should not be merged yet.

…ocity vector would reuse wrong data from previous neutron. Allocated a seperate data structure for the initial search for reflections which avoids this issue. Fixed a test to be sensitive to such an issue in the future.
@willend
Copy link
Contributor

willend commented Oct 8, 2024

@mads-bertelsen thanks. Actual feedback to this might not arrive until ~ November since busy with other stuff. :-)

@mads-bertelsen
Copy link
Contributor Author

No worries! Now the issue is visible and a fix available to those who need it quick.

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